Skip to content

Commit fbc0622

Browse files
committed
[css-color-adjust-1] Add negotiation table.
1 parent 02cda3b commit fbc0622

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

css-color-adjust-1/Overview.bs

+53
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,59 @@ Opting Into a Preferred Color Scheme: the 'color-scheme' property {#color-scheme
122122
that affects UI things such as
123123
the default colors of form controls and scrollbars
124124
as well as the used values of the CSS system colors.
125+
126+
127+
<table class="data">
128+
<caption>Interaction of author and user preferences in determining [=used color scheme=] (non-normative)</caption>
129+
<colgroup span=2></colgroup>
130+
<colgroup span=3></colgroup>
131+
<thead>
132+
<tr>
133+
<td colspan=2 rowspan=2>
134+
<th colspan=3>User Preference ('prefers-color-scheme')
135+
<tr>
136+
<th>''@media/prefers-color-scheme/no-preference''
137+
<th>''@media/prefers-color-scheme/light''
138+
<th>''@media/prefers-color-scheme/dark''
139+
<tbody>
140+
<tr>
141+
<th rowspan=7 style="width: 1.2em; writing-mode: vertical-rl; writing-mode: sideways-lr">Author Preference ('color-scheme')
142+
<th>''color-scheme/normal''
143+
<td>default
144+
<td>default
145+
<td>default
146+
<tr>
147+
<th>''color-scheme/light''
148+
<td>light
149+
<td>light
150+
<td>default
151+
<tr>
152+
<th>''color-scheme/dark''
153+
<td>dark
154+
<td>default
155+
<td>dark
156+
<tr>
157+
<th>''color-scheme/light dark''
158+
<td>light
159+
<td>light
160+
<td>dark
161+
<tr>
162+
<th>''color-scheme/dark light''
163+
<td>dark
164+
<td>light
165+
<td>dark
166+
<tr>
167+
<th>''color-scheme/only light''
168+
<td>light
169+
<td>light
170+
<td>light
171+
<tr>
172+
<th>''color-scheme/only dark''
173+
<td>dark
174+
<td>dark
175+
<td>dark
176+
</table>
177+
125178
Values are defined as follows:
126179

127180
<dl dfn-type=value dfn-for=color-scheme>

0 commit comments

Comments
 (0)