Skip to content

Commit b3b6e92

Browse files
committed
[css-pseudo-4] Clarify that highlight pseudos can cross element boundaries. Export terms.
1 parent 971524e commit b3b6e92

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

css-pseudo-4/Overview.bs

+4-2
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,10 @@ Highlight Pseudo-elements</h2>
423423
<h3 id="highlight-selectors">
424424
Selecting Highlighted Content: the ''::selection'', ''::inactive-selection'', ''::spelling-error'', and ''::grammar-error'' pseudo-elements</h3>
425425

426-
The <dfn>highlight pseudo-elements</dfn>
426+
The <dfn export lt="highlight pseudo-element">highlight pseudo-elements</dfn>
427427
represent portions of a document that have been highlighted in some way.
428+
They do not necessarily fit into the element tree,
429+
and can arbitrarily cross element boundaries without honoring its nesting structure.
428430

429431
<dl export>
430432
<dt><dfn>::selection</dfn>
@@ -639,7 +641,7 @@ Security and Privacy Considerations</h3>
639641
<h2 id="treelike">
640642
Tree-Abiding Pseudo-elements</h2>
641643

642-
<dfn lt="tree-abiding|tree-abiding pseudo-element">Tree-abiding pseudo-elements</dfn> always fit within the box tree.
644+
<dfn export lt="tree-abiding|tree-abiding pseudo-element">Tree-abiding pseudo-elements</dfn> always fit within the box tree.
643645
They <a lt="inheritance">inherit</a> any inheritable properties from their <a>originating element</a>;
644646
non-inheritable properties take their <a>initial values</a> as usual.
645647
[[CSS3CASCADE]]

0 commit comments

Comments
 (0)