Skip to content

Commit 990bf12

Browse files
committed
[css-shadow-parts-1] fix several typos
1 parent 90e765f commit 990bf12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-shadow-parts-1/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ into the component for it to do with as it will,
4242
these pseudo-elements allow components and the outside page
4343
to interact in safe, powerful ways,
4444
maintaining encapsulation
45-
without surrending all control.
45+
without surrendering all control.
4646

4747
Motivation {#motivation}
4848
------------------------
@@ -192,7 +192,7 @@ not an id or tagname.
192192
</template>
193193
<c-e></c-e>
194194
<script>
195-
// Add template as custom elment c-e
195+
// Add template as custom element c-e
196196
...
197197
</script>
198198
</pre>
@@ -217,7 +217,7 @@ Each part mapping is one of:
217217
:: Is shorthand for <code>ident : ident</code>.
218218

219219
: anything else
220-
:: Ignored for error-recovery / future compat.
220+
:: Ignored for error-recovery / future compatibility.
221221
</dl>
222222

223223
Note: It's okay to map a sub-part to several names.
@@ -256,7 +256,7 @@ Consider a mechanism to exclude sub-parts without forwarding them.
256256

257257
&lt;c-e&gt;&lt;/c-e&gt;
258258
&lt;script&gt;
259-
// Add template as custom elments c-e-inner, c-e-outer
259+
// Add template as custom elements c-e-inner, c-e-outer
260260
...
261261
&lt;/script&gt;
262262
</pre>

0 commit comments

Comments
 (0)