Skip to content

Commit

Permalink
[cssom-1] Drop sorting and deduplication from media query serialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Oct 19, 2020
1 parent 6b2c546 commit f770afa
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cssom-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ To
single SPACE (U+0020), followed by "<code>and</code>", followed by a single SPACE
(U+0020), to <var>s</var>.

<li>Sort the [=media features=] in lexicographical order.
Issue: The `and` bit needs updating for newer spec features.

<li>
Then, for each [=media feature=]:
Expand Down Expand Up @@ -412,15 +412,13 @@ To
<tbody>
<tr>
<td><pre>not screen and (min-WIDTH:5px) AND (max-width:40px)</pre>
<td><pre>not screen and (max-width: 40px) and (min-width: 5px)</pre>
<td><pre>not screen and (min-width: 5px) and (max-width: 4000px)</pre>
<tr>
<td><pre>all and (color) and (color)</pre>
<td><pre>(color)</pre>
<td><pre>(color) and (color)</pre>
</table>
</div>



### Serializing Media Feature Values ### {#serializing-media-feature-values}

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

0 comments on commit f770afa

Please sign in to comment.