Skip to content

Commit f268c53

Browse files
committed
[mediaqueries] Make resolution properly refer to range context, not just min/max prefix.
1 parent dc7e470 commit f268c53

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

mediaqueries/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ <h3 class="heading settled heading" data-level=5.1 id=resolution><span class=sec
13371337
<p> When querying devices with non-square pixels,
13381338
in <a class=property data-link-type=propdesc title=min-resolution>min-resolution</a> queries the least-dense dimension must be compared to the specified value
13391339
and in <a class=property data-link-type=propdesc title=max-resolution>max-resolution</a> queries the most-dense dimensions must be compared instead.
1340-
A <a class=property data-link-type=propdesc href=#descdef-resolution title=resolution>resolution</a> (without a "min-" or "max-" prefix) query never matches a device with non-square pixels.
1340+
A <a class=property data-link-type=propdesc href=#descdef-resolution title=resolution>resolution</a> query that’s not evaluated in a <a data-link-type=dfn href=#range-context title="range context">range context</a> never matches a device with non-square pixels.
13411341

13421342
<p> For printers, this corresponds to the screening resolution
13431343
(the resolution for printing dots of arbitrary color).

mediaqueries/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ <h3 id="resolution">
943943
When querying devices with non-square pixels,
944944
in 'min-resolution' queries the least-dense dimension must be compared to the specified value
945945
and in 'max-resolution' queries the most-dense dimensions must be compared instead.
946-
A 'resolution' (without a "min-" or "max-" prefix) query never matches a device with non-square pixels.
946+
A 'resolution' query that's not evaluated in a <a>range context</a> never matches a device with non-square pixels.
947947

948948
For printers, this corresponds to the screening resolution
949949
(the resolution for printing dots of arbitrary color).

0 commit comments

Comments
 (0)