Skip to content

Commit 5460885

Browse files
committed
[shadow-styling] Markup typo.
1 parent 722229f commit 5460885

2 files changed

Lines changed: 28 additions & 26 deletions

File tree

shadow-styling/Overview.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
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-
&lt;"shadow tree"&gt;
379-
<div id=five>...</div>
380-
<div id=six>...</div>
381-
<content select=:nth-child(odd)></content>
382-
383-
</x-foo>
384-
372+
<pre> &lt;x-foo&gt;
373+
&lt;div id="one"&gt;...&lt;/div&gt;
374+
&lt;div id="two"&gt;...&lt;/div&gt;
375+
&lt;div id="three"&gt;
376+
&lt;div id="four"&gt;...&lt;/div&gt;
377+
&lt;/div&gt;
378+
&lt;"shadow tree"&gt;
379+
&lt;div id="five"&gt;...&lt;/div&gt;
380+
&lt;div id="six"&gt;...&lt;/div&gt;
381+
&lt;content select=":nth-child(odd)"&gt;&lt;/content&gt;
382+
&lt;/"shadow tree"&gt;
383+
&lt;/x-foo&gt;
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>,

shadow-styling/Overview.src.html

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff 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+
&lt;x-foo>
252+
&lt;div id="one">...&lt;/div>
253+
&lt;div id="two">...&lt;/div>
254+
&lt;div id="three">
255+
&lt;div id="four">...&lt;/div>
256+
&lt;/div>
257+
&lt;"shadow tree">
258+
&lt;div id="five">...&lt;/div>
259+
&lt;div id="six">...&lt;/div>
260+
&lt;content select=":nth-child(odd)">&lt;/content>
261+
&lt;/"shadow tree">
262+
&lt;/x-foo>
263+
</pre>
262264

263265
For a stylesheet within the <a>shadow tree</a>,
264266
a selector like ''* /content div''

0 commit comments

Comments
 (0)