Skip to content

Commit 9923814

Browse files
committed
[mediaqueries] Make the language around 'does not apply' clearer.
--HG-- extra : rebase_source : 868af67080a705c8d96b7d862592bab33d1cf24e
1 parent c2b9c0f commit 9923814

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

mediaqueries/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,9 @@ Media Features</h3>
433433
<a>Media features</a> only accept single values: one keyword, one number, etc.
434434
</ul>
435435

436-
If a media feature does not apply to the device where the UA is running,
437-
that <a>media feature</a> will always be false.
436+
If a <a>media feature</a> references a concept which does not exist on the device where the UA is running
437+
(for example, speech UAs do not have a concept of "width"),
438+
the <a>media feature</a> must always evaluate to false.
438439

439440
<div class="example">
440441
The media feature ''device-aspect-ratio'' only applies to

mediaqueries/Overview.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,9 @@ <h3 class="heading settled" data-level=2.4 id=mq-features><span class=secno>2.4.
705705
<a data-link-type=dfn href=#media-feature title="Media features">Media features</a> only accept single values: one keyword, one number, etc.
706706
</ul>
707707

708-
<p>If a media feature does not apply to the device where the UA is running,
709-
that <a data-link-type=dfn href=#media-feature title="media feature">media feature</a> will always be false.</p>
708+
<p>If a <a data-link-type=dfn href=#media-feature title="media feature">media feature</a> references a concept which does not exist on the device where the UA is running
709+
(for example, speech UAs do not have a concept of "width"),
710+
the <a data-link-type=dfn href=#media-feature title="media feature">media feature</a> must always evaluate to false.</p>
710711

711712
<div class=example>
712713
The media feature <span class=css>device-aspect-ratio</span> only applies to

0 commit comments

Comments
 (0)