File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1230,17 +1230,17 @@ <h3 id=scoping><span class=secno>3.3. </span> Scoped Selectors</h3>
12301230 href ="#scope-pseudo "> < code > :scope</ code > </ a > pseudo-class.
12311231
12321232 < div class =example >
1233- < p > The < code > document.querySelector()</ code > function defined in < a
1234- href ="#SELECTORS-API2 "
1233+ < p > For example, the < code > document.querySelector()</ code > function
1234+ defined in < a href ="#SELECTORS-API2 "
12351235 rel =biblioentry > [SELECTORS-API2]<!--{{SELECTORS-API2}}--> </ a > allows the
12361236 author to define a < a
12371237 href ="#scope-constrained "> < i > scope-constrained</ i > </ a > selector.
12381238
12391239 < p > On the other hand, the < code > document.find()</ code > function defined
12401240 in < a href ="#SELECTORS-API2 "
12411241 rel =biblioentry > [SELECTORS-API2]<!--{{SELECTORS-API2}}--> </ a > and the
1242- selectors within a scoped stylesheet, defined in < a href ="#HTML5 "
1243- rel =biblioentry > [HTML5]<!--{{HTML5}}--> </ a > , define < a
1242+ selectors within an < a href ="#HTML5 "
1243+ rel =biblioentry > [HTML5]<!--{{HTML5}}--> </ a > scoped stylesheet , define < a
12441244 href ="#scope-contained "> < i > scope-contained</ i > </ a > selectors.
12451245 </ div >
12461246
Original file line number Diff line number Diff line change @@ -603,12 +603,13 @@ <h3 id="scoping">
603603
604604 < div class ='example '>
605605 < p >
606- The < code > document.querySelector()</ code > function defined in [[SELECTORS-API2]]
606+ For example,
607+ the < code > document.querySelector()</ code > function defined in [[SELECTORS-API2]]
607608 allows the author to define a < i > scope-constrained</ i > selector.
608609
609610 < p >
610611 On the other hand, the < code > document.find()</ code > function defined in [[SELECTORS-API2]]
611- and the selectors within a scoped stylesheet, defined in [[HTML5]],
612+ and the selectors within an [[HTML5]] scoped stylesheet ,
612613 define < i > scope-contained</ i > selectors.
613614 </ div >
614615
You can’t perform that action at this time.
0 commit comments