Skip to content

Commit 3520e5a

Browse files
committed
[css-color-4] update system color pairings, fix w3c#5639
1 parent 8ed7ef8 commit 3520e5a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

css-color-4/Overview.bs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,8 +1107,11 @@ System Colors</h3>
11071107

11081108
<ul id=system-color-pairs>
11091109
* ''Canvas'' background with ''CanvasText'', ''LinkText'', ''VisitedText'', ''ActiveText'' foreground.
1110+
* ''Canvas'' background with a ''ButtonBorder'' border and adjacent color ''Canvas''
11101111
* ''ButtonFace'' background with ''ButtonText'' foreground.
11111112
* ''Field'' background with ''FieldText'' foreground.
1113+
* ''Mark'' background with ''MarkText'' foreground
1114+
* ''ButtonFace'' or ''Field'' background with a ''ButtonBorder'' border and adjacent color ''Canvas'''
11121115
* ''Highlight'' background with ''HighlightText'' foreground.
11131116
</ul>
11141117

@@ -1124,10 +1127,14 @@ System Colors</h3>
11241127
<p>Canvas with VisitedText <span style="background-color:Canvas; color:VisitedText">VisitedText</span></p>
11251128
<p>Canvas with ActiveText <span style="background-color:Canvas; color:ActiveText">ActiveText</span></p>
11261129
<p>Canvas with GrayText <span style="background-color:Canvas; color:GrayText">GrayText</span></p>
1130+
<p>Canvas with ButtonBorder and adjacent Canvas <span style="background-color:Canvas; border: ButtonBorder; color:CanvasText; padding: 3px">CanvasText</span><span style="background-color:Canvas; color:CanvasText">Adjacent</span></p>
11271131
<p>ButtonFace with ButtonText <span style="background-color:ButtonFace; color:ButtonText">ButtonText</span></p>
1132+
<p>ButtonFace with ButtonText and ButtonBorder <span style="background-color:ButtonFace; color:ButtonText; border:ButtonBorder; padding: 3px">ButtonText</span></p>
11281133
<p>ButtonFace with GrayText <span style="background-color:ButtonFace; color:GrayText">GrayText</span></p>
11291134
<p>Field with FieldText <span style="background-color:Field; color:FieldText">FieldText</span></p>
11301135
<p>Field with GrayText <span style="background-color:Field; color:GrayText">GrayText</span></p>
1136+
<p>Mark with MarkText <span style="background-color:Mark; color:MarkText">FieldText</span></p>
1137+
<p>Mark with GrayText <span style="background-color:Mark; color:GrayText">GrayText</span></p>
11311138
<p>Highlight with HighlightText <span style="background-color:Highlight; color:HighlightText">HighlightText</span></p>
11321139
<p>Highlight with GrayText <span style="background-color:Highlight; color:GrayText">GrayText</span></p>
11331140
</div>

0 commit comments

Comments
 (0)