Skip to content

Commit 9685066

Browse files
patrickhlauketabatkins
authored andcommitted
[mediaqueries-4] add example of 'pointer: none' to table, add note about how UA could determine "primary" input (#739)
* Add pointer:none examples, expand stylus examples - add classic `pointer: none` inputs - preferred term is digitizers, rather than screens (e.g. Wacom are external devices, not screens) - advanced stylus digitizers can sense a hovering stylus, and do trigger hover interactions - split out basic and advanced stylus - removed the `<col>` ... appears to serve no actual (styling?) purpose * Add expansion/clarfication about "primary" input - adds an introductory paragraph in the main "Interaction Media Features" section that introduces the concept of primary/all input mechanisms - based on the conversation in #690, add a (non normative) note hinting at ways in which UAs can potentially determine what is and isn't primary * fix linewrapping
1 parent 655682e commit 9685066

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

mediaqueries/Overview.bs

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,23 +1571,23 @@ Interaction Media Features</h2>
15711571
Typical examples of devices matching combinations of 'pointer' and 'hover':
15721572

15731573
<table class=data>
1574-
<col>
1575-
<col></col>
1576-
<col></col>
15771574
<thead>
15781575
<tr>
15791576
<td>
1577+
<th>''pointer: none''
15801578
<th>''pointer: coarse''
15811579
<th>''pointer: fine''
15821580
<tbody>
15831581
<tr>
15841582
<th scope=row>''hover: none''
1583+
<td>keyboard-only controls, sequential/spatial (d-pad) focus navigation
15851584
<td>smartphones, touch screens
1586-
<td>stylus-based screens (Cintiq, Wacom, etc)
1585+
<td>basic stylus digitizers (Cintiq, Wacom, etc)
15871586
<tr>
15881587
<th scope=row>''hover: hover''
1588+
<td>
15891589
<td>Nintendo Wii controller, Kinect
1590-
<td>mouse, touch pad
1590+
<td>mouse, touch pad, advanced stylus digitizers (Surface, Samsung Note, Wacom Intuos Pro, etc)
15911591
</table>
15921592
<style>
15931593
#pointer-hover-table { margin: 1em auto; text-align: center; border-collapse: collapse; max-width: 40em; }
@@ -1597,6 +1597,18 @@ Interaction Media Features</h2>
15971597
</style>
15981598
</div>
15991599

1600+
The 'pointer' and 'hover' features relate to the characteristics of the “primary” input mechanism,
1601+
while 'any-pointer' and 'any-hover' can be used to query the properties of all potentially available input mechanisms.
1602+
1603+
Note: While this specification does not define how User Agents should decide what the “primary” input is,
1604+
the expectation is that User Agents should make this determination
1605+
by combining knowledge about the device/environment they are running on,
1606+
the number and type of input mechanisms available,
1607+
and a notion of which of these inputs is generally and/or currently being used.
1608+
User Agents may also decide to dynamically change what type of input is deemed to be primary,
1609+
in response to changes in the user environment
1610+
or in the way the user is interacting with the UA.
1611+
16001612
<h3 id="pointer">
16011613
Pointing Device Quality: the 'pointer' feature</h3>
16021614

0 commit comments

Comments
 (0)