You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p> The only significant difference between the two types is that “range” <adata-link-type=dfnhref=#media-featuretitle="media features">media features</a>
752
752
can be evaluated in a <adata-link-type=dfnhref=#range-contexttitle="range context">range context</a>
753
753
and accept “min-” and “max-” prefixes on their name.
754
-
Doing either of these changes the meaning of the feature—<wbr></wbr>rather than the <adata-link-type=dfnhref=#media-featuretitle="media feature">media feature</a> being true when the feature exactly matches the given value,
754
+
Doing either of these changes the meaning of the feature—<wbr>rather than the <adata-link-type=dfnhref=#media-featuretitle="media feature">media feature</a> being true when the feature exactly matches the given value,
755
755
it matches when the feature is greater than/less than/equal to the given value.
Only some of the <adata-link-type=dfnhref=#media-featuretitle="media features">media features</a> that accept keywords are meaningful in a <adata-link-type=dfnhref=#boolean-contexttitle="boolean context">boolean context</a>.
807
807
808
808
<p> For example, <spanclass=cssdata-link-type=maybetitle=(pointer)>(pointer)</span> is useful,
809
-
as <aclass=propertydata-link-type=propdeschref=#descdef-pointertitle=pointer>pointer</a> has a <aclass=cssdata-link-for=pointerdata-link-type=maybehref=#valuedef-none0title=none>none</a> value to indicate there’s no pointing device at all on the device.
809
+
as <aclass=propertydata-link-type=propdeschref=#descdef-pointertitle=pointer>pointer</a> has a <aclass=cssdata-link-for=pointerdata-link-type=maybehref=#valuedef-none1title=none>none</a> value to indicate there’s no pointing device at all on the device.
810
810
On the other hand, <spanclass=cssdata-link-type=maybetitle=(scan)>(scan)</span> is just always true or always false
811
811
(depending on whether it applies at all to the device),
<p> The <aclass=propertydata-link-type=propdeschref=#descdef-updatestitle=updates>updates</a> media feature is used to query the ability of the output device to modify the apearance of content once it has been rendered. It accepts the following values:
<p> For accessibility reasons, even on devices whose pointing device can be
1603
-
described as <aclass=cssdata-link-type=maybehref=#valuedef-finetitle=fine>fine</a>, the UA may give a value of <aclass=cssdata-link-type=maybehref=#valuedef-coarsetitle=coarse>coarse</a> or <aclass=cssdata-link-for=pointerdata-link-type=maybehref=#valuedef-none0title=none>none</a> to
1630
+
described as <aclass=cssdata-link-type=maybehref=#valuedef-finetitle=fine>fine</a>, the UA may give a value of <aclass=cssdata-link-type=maybehref=#valuedef-coarsetitle=coarse>coarse</a> or <aclass=cssdata-link-for=pointerdata-link-type=maybehref=#valuedef-none1title=none>none</a> to
1604
1631
this media query, to indicate that the user has difficulties
1605
1632
manipulating the input device accurately or at all.
For example, on a touch screen device that can also be controlled by an optional mouse,
1649
-
the <aclass=propertydata-link-type=propdeschref=#descdef-hovertitle=hover>hover</a><adata-link-type=dfnhref=#media-featuretitle="media feature">media feature</a> should match <aclass=cssdata-link-for=hoverdata-link-type=maybehref=#valuedef-none1title=none>none</a>,
1676
+
the <aclass=propertydata-link-type=propdeschref=#descdef-hovertitle=hover>hover</a><adata-link-type=dfnhref=#media-featuretitle="media feature">media feature</a> should match <aclass=cssdata-link-for=hoverdata-link-type=maybehref=#valuedef-none2title=none>none</a>,
1650
1677
as the primary interaction mode (touching the screen) can’t hover.
1651
1678
1652
1679
<p> Authors should therefore be careful not to assume that the ':hover' pseudo class
Copy file name to clipboardExpand all lines: mediaqueries/Overview.src.html
+33Lines changed: 33 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1046,6 +1046,39 @@ <h3 id="grid">
1046
1046
</pre>
1047
1047
</div>
1048
1048
1049
+
<h3id="updates">Updates</h3>
1050
+
<preclass='descdef mq'>
1051
+
Name: updates
1052
+
Value: none | slow | normal
1053
+
For: @media
1054
+
Type: discrete
1055
+
</pre>
1056
+
1057
+
The 'updates' media feature is used to query the ability of the output device to modify the apearance of content once it has been rendered. It accepts the following values:
1058
+
1059
+
<dldfn-type=valuedfn-for="@media/updates">
1060
+
<dt><dfn>none</dfn>
1061
+
<dd>
1062
+
Once it has been rendered, the layout can no longer be updated.
1063
+
Example: documents printed on paper.
1064
+
1065
+
<dt><dfn>slow</dfn>
1066
+
<dd>
1067
+
The layout may change dynamically according to the usual rules
1068
+
of CSS, but the output device is not able to render or display
1069
+
changes quickly enough for them to be percieved as a smooth
1070
+
animation. Example: E-ink screens or severely under-powered
1071
+
devices.
1072
+
1073
+
<dt><dfn>normal</dfn>
1074
+
<dd>
1075
+
The layout may change dynamically according to the usual rules
1076
+
of CSS, and the output device is not unusually constrained in
0 commit comments