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
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>.
721
721
722
722
<p> For example, <spanclass=cssdata-link-type=maybetitle=(pointer)>(pointer)</span> is useful,
723
-
as <aclass=propertydata-link-type=propdeschref=#descdef-pointertitle=pointer>pointer</a> has a <aclass=cssdata-link-for=pointerdata-link-type=maybehref=#valuedef-nonetitle=none>none</a> value to indicate there’s no pointing device at all on the device.
723
+
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.
724
724
On the other hand, <spanclass=cssdata-link-type=maybetitle=(scan)>(scan)</span> is just always true, as there’s no value that means “false”.
<p> For accessibility reasons, even on devices whose pointing device can be
1281
-
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-nonetitle=none>none</a> to
1281
+
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
1282
1282
this media query, to indicate that the user has difficulties
1283
1283
manipulating the input device accurately or at all.
Indicates that the primary pointing system can easily hover over parts of the page.
1319
+
</dl>
1303
1320
1304
1321
<p> If a device has multiple pointing devices, some of which support hovering
1305
1322
and some of which not, it is recommended that the UA reports the hovering
1306
1323
ability of the least capable of the primary pointing devices.
1307
1324
1308
-
<pclass=note> Note: The value of the <aclass=propertydata-link-type=propdeschref=#descdef-hovertitle=hover>hover</a> media feature should for example be 0 on a touch screen
1309
-
device that can also be controlled via an optional mouse. Authors should
1310
-
therefore be careful not to assume that the ':hover' pseudo class will never
1311
-
match on device where 'hover:0' is true, but they should design layouts
1312
-
that do not depend on hovering to be fully usable.
1325
+
<divclass=example>
1326
+
For example, on a touch screen device that can also be controlled by an optional mouse,
1327
+
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-nonetitle=none>none</a>,
1328
+
as the primary interaction mode (touching the screen) can’t hover.
1329
+
1330
+
<p> Authors should therefore be careful not to assume that the ':hover' pseudo class
1331
+
will never match on device where 'hover:none' is true,
1332
+
but they should design layouts that do not depend on hovering to be fully usable.
0 commit comments