Skip to content

Commit cb39878

Browse files
committed
[selectors-4] Clarify that selectors not in the dynamic profile must be treated as invalid for dynamic usages. Tweak some linking text.
1 parent d283c10 commit cb39878

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

selectors/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ Selectors Overview</h2>
465465
To accommodate this, two profiles of the Selectors spec are defined:
466466

467467
<dl>
468-
<dt><dfn id='dynamic-profile'>dynamic</dfn>
468+
<dt><dfn local-lt="dynamic">dynamic profile</dfn>
469469
<dd>
470470
The <a>dynamic</a> profile is appropriate for use in any context,
471471
including dynamic browser CSS selector matching.
@@ -476,7 +476,7 @@ Selectors Overview</h2>
476476
<li>The '':has()'' pseudo-class
477477
</ul>
478478

479-
<dt><dfn id='static-profile'>static</dfn>
479+
<dt><dfn local-lt="static">static profile</dfn>
480480
<dd>
481481
The <a>static</a> profile is appropriate for contexts which aren't extremely performance sensitive;
482482
in particular, it's appropriate for contexts which evaluate selectors against a static DOM.
@@ -485,6 +485,8 @@ Selectors Overview</h2>
485485
</dl>
486486

487487
CSS implementations conformant to Selectors Level 4 must use the <a>dynamic</a> profile for CSS selection.
488+
Implementations using the <a>dynamic</a> profile must treat selectors that are not included in the profile
489+
as unknown and invalid.
488490

489491
<p class='issue'>
490492
The categorization of things into the "dynamic" or "static" profiles needs implementor review.

0 commit comments

Comments
 (0)