Skip to content

Commit e675ef1

Browse files
committed
[css-ui-4] Remove ''outline-color: invert'' value
As per #9199
1 parent dbb9c81 commit e675ef1

File tree

1 file changed

+19
-25
lines changed

1 file changed

+19
-25
lines changed

css-ui-4/Overview.bs

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ Outline Colors: the 'outline-color' property</h3>
396396

397397
<pre class="propdef">
398398
Name: outline-color
399-
Value: auto | [ <<color>> | <<image-1D>> ] | invert
399+
Value: auto | [ <<color>> | <<image-1D>> ]
400400
Initial: auto
401401
Applies to: all elements
402402
Inherited: no
@@ -410,36 +410,30 @@ Outline Colors: the 'outline-color' property</h3>
410410
as well as the following keywords:
411411

412412
<dl dfn-type=value dfn-for=outline-color>
413-
<dt><dfn>invert</dfn>
414-
<dd>
415-
the user agent is expected to perform a color inversion on the pixels on the screen.
416-
This is a common trick to ensure the focus border is visible,
417-
regardless of color background.
418-
419-
Conformant UAs may ignore the ''outline-color/invert'' value
420-
on platforms that do not support color inversion of the pixels on the screen.
421-
422-
If the UA does not support the ''outline-color/invert'' value,
423-
then it must reject that value at parse-time, and
424-
the initial value of the 'outline-color' property
425-
is the ''color/currentColor'' keyword.
426-
427413
<dt><dfn>auto</dfn>
428414
<dd>
429415
When 'outline-style' is ''outline-style/auto'',
430-
''outline-color: auto'' represents the [=accent color=].
416+
''outline-color: auto'' computes to ''outline-style/auto''
417+
and represents the [=accent color=].
431418

432-
When 'outline-style' is not ''outline-style/auto'',
433-
''outline-color: auto'' computes to another value (see below).
419+
Otherwise,
420+
''outline-color: auto'' computes to ''currentColor''.
434421
</dl>
435422

436-
The computed value for ''outline-color: auto'' is ''outline-color/auto''
437-
if 'outline-style' is ''outline-style/auto'',
438-
and ''invert'' otherwise--
439-
or ''currentColor'' in user agents that do not support the ''invert'' value.
440-
The computed value for ''outline-color/invert'' is ''outline-color/invert''.
441-
For <<color>> values, see [[css-color-4#resolving-color-values]] in [[!CSS-COLOR-4]].
442-
For <<image-1D>> values, see [[css-images-4#stripes]] in [[!CSS-IMAGES-4]].
423+
See [[css-color-4#resolving-color-values]]
424+
for the computed value of <<color>> values,
425+
and [[css-images-4#stripes]]
426+
for <<image-1D>> values.
427+
428+
<div id=valdef-outline-color-invert class=note>
429+
Earlier versions of this specification had an additional <code>invert</code> value,
430+
performing a color inversion on the pixels on the screen.
431+
This is no longer supported,
432+
and was removed for lack of implementations
433+
(and of intent to implement)
434+
in modern user agents.
435+
See [[css-ui-3#outline-color]] for details.
436+
</div>
443437

444438

445439
<h3 id="outline-offset">

0 commit comments

Comments
 (0)