File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -935,7 +935,7 @@ Text and Text Decorations</h4>
935935
936936 For this purpose,
937937 ''currentColor'' on a [=highlight pseudo-element=] ’s 'color' property represents
938- the 'color' of the next <a>highlight pseudo-element</a> layer below,
938+ the 'color' of the next <em> active </em> < a>highlight pseudo-element</a> layer below,
939939 falling back finally to the colors that would otherwise have been used
940940 (those applied by the [=originating element=] or
941941 an intervening [=pseudo-element=] such as ''::first-line'' or ''::first-letter'' ).
@@ -1295,6 +1295,18 @@ Additions to the CSS Object Model</h2>
12951295 See <a href="https://github.com/w3c/csswg-drafts/issues/3607">Issue 3607</a>
12961296 and <a href="https://github.com/w3c/csswg-drafts/issues/3603">Issue 3603</a> .
12971297
1298+ <h3 id="getComputedStyle">
1299+ {{Window/getComputedStyle()}}</h3>
1300+
1301+ When the second parameter <var> pseudoElt</var>
1302+ refers to a [=highlight pseudo-element=] ,
1303+ {{Window/getComputedStyle()}} returns styles
1304+ as if that highlight is active
1305+ and all other highlights are inactive.
1306+ This avoids the potential
1307+ ambiguity and privacy risks of returning a result
1308+ that depends on the actual highlight state.
1309+
12981310<h2 id="css2-compat">
12991311Compatibility Syntax</h2>
13001312
You can’t perform that action at this time.
0 commit comments