Skip to content

Commit 588bc62

Browse files
committed
[cssom-1] Drop sorting and deduplication from media query serialization.
Per w3c#5627 (comment)
1 parent 6b2c546 commit 588bc62

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

cssom-1/Overview.bs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,6 @@ To
375375
single SPACE (U+0020), followed by "<code>and</code>", followed by a single SPACE
376376
(U+0020), to <var>s</var>.
377377

378-
<li>Sort the [=media features=] in lexicographical order.
379-
380378
<li>
381379
Then, for each [=media feature=]:
382380

@@ -412,15 +410,13 @@ To
412410
<tbody>
413411
<tr>
414412
<td><pre>not screen and (min-WIDTH:5px) AND (max-width:40px)</pre>
415-
<td><pre>not screen and (max-width: 40px) and (min-width: 5px)</pre>
413+
<td><pre>not screen and (min-width: 5px) and (max-width: 40px)</pre>
416414
<tr>
417415
<td><pre>all and (color) and (color)</pre>
418-
<td><pre>(color)</pre>
416+
<td><pre>(color) and (color)</pre>
419417
</table>
420418
</div>
421419

422-
423-
424420
### Serializing Media Feature Values ### {#serializing-media-feature-values}
425421

426422
Issue: This should probably be done in terms of mapping it to

0 commit comments

Comments
 (0)