Skip to content

Commit fa6e619

Browse files
committed
[css-lists-3] Remove ::inactive-selection; investigate mediaquery instead. w3c#4579
1 parent 2b794fe commit fa6e619

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

css-pseudo-4/Overview.bs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ Styling the ''::first-letter'' Pseudo-element</h4>
438438
Highlight Pseudo-elements</h2>
439439

440440
<h3 id="highlight-selectors">
441-
Selecting Highlighted Content: the ''::selection'', ''::inactive-selection'', ''::target-text'', ''::spelling-error'', and ''::grammar-error'' pseudo-elements</h3>
441+
Selecting Highlighted Content: the ''::selection'', ''::target-text'', ''::spelling-error'', and ''::grammar-error'' pseudo-elements</h3>
442442

443443
The <dfn export lt="highlight pseudo-element">highlight pseudo-elements</dfn>
444444
represent portions of a document that have been given a particular status
@@ -455,18 +455,13 @@ Selecting Highlighted Content: the ''::selection'', ''::inactive-selection'', '
455455
css/css-pseudo/active-selection-063.html
456456
css/css-pseudo/textpath-selection-011.html
457457
</wpt>
458-
<dt><dfn>::inactive-selection</dfn>
459458
<dd>
460-
The ''::selection'' and ''::inactive-selection'' pseudo-elements represent
459+
The ''::selection'' pseudo-element represents
461460
the portion of a document that has been selected
462461
as the target or object of some possible future user-agent operation(s).
463-
They apply, for example, to selected text within an editable text field,
462+
It applies, for example, to selected text within an editable text field,
464463
which would be copied by a copy operation or replaced by a paste operation.
465464

466-
''::selection'' applies to active selections,
467-
whereas ''::inactive-selection'' applies to inactive selections
468-
(e.g. when the document window is inactive and therefore not receiving events).
469-
470465
<dt><dfn>::target-text</dfn>
471466
<dd>
472467
The ''::target-text'' pseudo-element represents text
@@ -1059,6 +1054,8 @@ Changes</h2>
10591054

10601055
<ul>
10611056
<li>Added ''::target-text'' pseudo-element.
1057+
<li>Removed ''::inactive-selection''.
1058+
(<a href="https://github.com/w3c/csswg-drafts/issues/4579">Issue 4579</a>)
10621059
<li>Included spaces between the first letter and its surrounding punctuation in ''::first-letter''.
10631060
(<a href="https://github.com/w3c/csswg-drafts/issues/5154">Issue 5154</a>)
10641061
<li>Adjust rules for inheritance of properties from ''::first-line''

0 commit comments

Comments
 (0)