Skip to content

Commit 22cc651

Browse files
Getz85yyx990803
authored andcommitted
Fixed a typo: cildren in children (vuejs#275)
1 parent 560d160 commit 22cc651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Vue.js template engine is DOM-based and uses native parser that comes with the b
142142
- `a` can not contain other interactive elements (e.g. buttons and other links)
143143
- `li` should be a direct child of `ul` or `ol`, and both `ul` and `ol` can only contain `li`
144144
- `option` should be a direct child of `select`, and `select` can only contain `option` (and `optgroup`)
145-
- `table` can only contain `thead`, `tbody`, `tfoot` and `tr`, and these elements should be direct cildren of `table`
145+
- `table` can only contain `thead`, `tbody`, `tfoot` and `tr`, and these elements should be direct children of `table`
146146
- `tr` can only contain `th` and `td`, and these elements should be direct children of `tr`
147147

148148
In practice these restriction can cause unexpected behavior. Although in simple cases it might appear to work, you can not rely on custom elements being expanded before browser validation. E.g. `<my-select><option>...</option></my-select>` is not a valid template even if `my-select` component eventually expands to `<select>...</select>`.

0 commit comments

Comments
 (0)