Skip to content

Commit fa13895

Browse files
committed
[selectors-4] Rename “dynamic” profile to “live” and “static” to “snapshot” per Richard Gibson's suggestion in #1694 (comment)
1 parent 904e985 commit fa13895

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

selectors-4/Overview.bs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Former Editor: Daniel Glazman
1717
Former Editor: Ian Hickson
1818
Former Editor: Peter Linss
1919
Former Editor: John Williams
20-
Abstract: <b>Selectors</b> are patterns that match against elements in a tree, and as such form one of several technologies that can be used to select nodes in a document. Selectors have been optimized for use with HTML and XML, and are designed to be usable in performance-critical code. They are a core component of <abbr title="Cascading Style Sheets">CSS</abbr> (Cascading Style Sheets), which uses Selectors to bind style properties to elements in the document.
20+
Abstract: <b>Selectors</b> are patterns that match against elements in a tree, and as such form one of several technologies that can be used to select nodes in a document. Selectors have been optimized for use with HTML and XML, and are designed to be usable in performance-critical code. They are a core component of <abbr title="Cascading Style Sheets">CSS</abbr> (Cascading Style Sheets), which uses Selectors to bind style properties to elements in the docu ment.
2121
Abstract: Selectors Level 4 describes the selectors that already exist in [[!SELECT]], and further introduces new selectors for CSS and other languages that may need them.
2222
At Risk: the column combinator
2323
At Risk: the '':drop()'' pseudo-class
@@ -489,7 +489,7 @@ Selectors Overview</h2>
489489
Note: Some Level 4 selectors (noted above as "3-UI") were introduced in [[CSS3UI]].
490490

491491
<h3 id="profiles">
492-
<a>Dynamic</a> vs <a>Static</a> Selector Profiles</h3>
492+
<a>Live</a> vs <a>Snapshot</a> Selector Profiles</h3>
493493

494494
Selectors are used in many different contexts,
495495
with wildly varying performance characteristics.
@@ -498,32 +498,32 @@ Selectors Overview</h2>
498498
To accommodate this, two profiles of the Selectors spec are defined:
499499

500500
<dl>
501-
<dt><dfn local-lt="dynamic">dynamic profile</dfn>
501+
<dt><dfn local-lt="live">live profile</dfn>
502502
<dd>
503-
The <a>dynamic</a> profile is appropriate for use in any context,
504-
including dynamic browser CSS selector matching.
503+
The <a>live</a> profile is appropriate for use in any context,
504+
including browser CSS selector matching, which is live.
505505
It includes every selector defined in this document,
506506
except for:
507507

508508
<ul>
509509
<li>The '':has()'' pseudo-class
510510
</ul>
511511

512-
<dt><dfn local-lt="static">static profile</dfn>
512+
<dt><dfn local-lt="snapshot">snapshot profile</dfn>
513513
<dd>
514-
The <a>static</a> profile is appropriate for contexts which aren't extremely performance sensitive;
514+
The <a>snapshot</a> profile is appropriate for contexts which aren't extremely performance sensitive;
515515
in particular, it's appropriate for contexts which evaluate selectors against a static document tree.
516-
For example, the {{Element/query()}} method defined in [[DOM]] should use the <a>static</a> profile.
516+
For example, the {{Element/query()}} method defined in [[DOM]] should use the <a>snapshot</a> profile.
517517
It includes all of the selectors defined in this document.
518518
</dl>
519519

520-
CSS implementations conformant to Selectors Level 4 must use the <a>dynamic</a> profile for CSS selection.
521-
Implementations using the <a>dynamic</a> profile must treat selectors that are not included in the profile
520+
CSS implementations conformant to Selectors Level 4 must use the <a>live</a> profile for CSS selection.
521+
Implementations using the <a>live</a> profile must treat selectors that are not included in the profile
522522
as unknown and invalid.
523523

524524
<p class='issue'>
525-
The categorization of things into the "dynamic" or "static" profiles needs implementor review.
526-
If some things currently not in the dynamic profile can reasonably be done in CSS Selectors,
525+
The categorization of things into the “live” or snapshot profiles needs implementor review.
526+
If some things currently not in the live profile can reasonably be done in CSS Selectors,
527527
we should move them.
528528

529529

0 commit comments

Comments
 (0)