Skip to content

Commit 084bdfe

Browse files
committed
[cssom] Resolved value for <color> properties should be used value
Fixes w3c#566.
1 parent 9085972 commit 084bdfe

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

cssom/Overview.bs

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2682,11 +2682,24 @@ remain the same for compatibility with deployed scripts. To address this
26822682
issue this specification introduces the concept of a
26832683
<dfn>resolved value</dfn>.
26842684

2685-
The <a>resolved value</a> for a given property can be determined
2685+
The <a>resolved value</a> for a given longhand property can be determined
26862686
as follows:
26872687

26882688
<dl class="switch">
2689+
<dt>'background-color'
2690+
<dt>'border-block-end-color'
2691+
<dt>'border-block-start-color'
2692+
<dt>'border-bottom-color'
2693+
<dt>'border-inline-end-color'
2694+
<dt>'border-inline-start-color'
2695+
<dt>'border-left-color'
2696+
<dt>'border-right-color'
2697+
<dt>'border-top-color'
2698+
<dt>'box-shadow'
2699+
<dt>'caret-color'
2700+
<dt>'color'
26892701
<dt>'line-height'
2702+
<dt>'outline-color'
26902703
<dd>The <a>resolved value</a> is the <a>used value</a>.
26912704

26922705
<dt>'block-size'
@@ -2700,7 +2713,6 @@ as follows:
27002713
<dt>'margin-left'
27012714
<dt>'margin-right'
27022715
<dt>'margin-top'
2703-
<dt>'margin'
27042716
<dt>'padding-block-end'
27052717
<dt>'padding-block-start'
27062718
<dt>'padding-bottom'
@@ -2709,7 +2721,6 @@ as follows:
27092721
<dt>'padding-left'
27102722
<dt>'padding-right'
27112723
<dt>'padding-top'
2712-
<dt>'padding'
27132724
<dt>'width'
27142725
<dd>If the property applies to the element or pseudo-element and the <a>resolved value</a> of the
27152726
'display' property is not ''display/none'' or ''display/contents'', then the <a>resolved value</a>

0 commit comments

Comments
 (0)