File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454</ p >
5555 < h1 class ="p-name no-ref " id =title > Shadow DOM Styling</ h1 >
5656 < h2 class ="no-num no-toc no-ref heading settled heading " id =subtitle > < span class =content > Editor’s Draft,
57- < span class =dt-updated > < span class =value-title title =20140208 > 8 February 2014</ span > </ span > </ span > </ h2 >
57+ < span class =dt-updated > < span class =value-title title =20140210 > 10 February 2014</ span > </ span > </ span > </ h2 >
5858 < div data-fill-with =spec-metadata > < dl > < dt > This version:< dd > < a class =u-url href =http://dev.w3.org/csswg/shadow-styling > http://dev.w3.org/csswg/shadow-styling</ a > < dt > Editor’s Draft:< dd > < a href =http://dev.w3.org/csswg/shadow-styling > http://dev.w3.org/csswg/shadow-styling</ a >
5959 < dt > Feedback:</ dt >
6060 < dd > < a href ="mailto:www-style@w3.org?subject=%5Bshadow-styling%5D%20feedback "> www-style@w3.org</ a >
@@ -369,19 +369,19 @@ <h3 class="heading settled heading" data-level=4.4 id=content-combinator><span c
369369 For example, say you had a component with both children and a shadow tree,
370370 like the following:
371371
372- < x-foo >
373- < div id =one > ...< /div >
374- < div id =two > ...< /div >
375- < div id =three >
376- < div id =four > ...< /div >
377- < /div >
378- <"shadow tree">
379- < div id =five > ...< /div >
380- < div id =six > ...< /div >
381- < content select =:nth-child(odd) > < /content >
382-
383- < /x-foo >
384-
372+ < pre > < x-foo>
373+ < div id=" one"> ...< /div>
374+ < div id=" two"> ...< /div>
375+ < div id=" three">
376+ < div id=" four"> ...< /div>
377+ < /div>
378+ <"shadow tree">
379+ < div id=" five"> ...< /div>
380+ < div id=" six"> ...< /div>
381+ < content select=" :nth-child(odd)">< /content>
382+ </"shadow tree">
383+ < /x-foo>
384+ </ pre >
385385< p > For a stylesheet within the < a data-link-type =dfn href =#shadow-tree title ="shadow tree "> shadow tree</ a > ,
386386 a selector like < span class =css data-link-type =maybe title ="* /content div "> * /content div</ span >
387387 selects < span class =css data-link-type =maybe title =#one > #one</ span > and < span class =css data-link-type =maybe title =#three > #three</ span > ,
Original file line number Diff line number Diff line change @@ -247,18 +247,20 @@ <h3 id='content-combinator'>
247247 For example, say you had a component with both children and a shadow tree,
248248 like the following:
249249
250- < x-foo >
251- < div id ="one "> ...</ div >
252- < div id ="two "> ...</ div >
253- < div id ="three ">
254- < div id ="four "> ...</ div >
255- </ div >
256- < "shadow tree">
257- < div id ="five "> ...</ div >
258- < div id ="six "> ...</ div >
259- < content select =":nth-child(odd) "> </ content >
260- </ "shadow tree">
261- </ x-foo >
250+ < pre >
251+ <x-foo>
252+ <div id="one"> ...</div>
253+ <div id="two"> ...</div>
254+ <div id="three">
255+ <div id="four"> ...</div>
256+ </div>
257+ <"shadow tree">
258+ <div id="five"> ...</div>
259+ <div id="six"> ...</div>
260+ <content select=":nth-child(odd)"> </content>
261+ </"shadow tree">
262+ </x-foo>
263+ </ pre >
262264
263265 For a stylesheet within the < a > shadow tree</ a > ,
264266 a selector like ''* /content div''
You can’t perform that action at this time.
0 commit comments