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
@@ -955,7 +951,7 @@ then only the end ellipsis/string should be rendered.
955
951
956
952
<!-- got this far reformatting lines -->
957
953
This property specifies the type of cursor to be displayed for the pointing device
958
-
when over the element's border, padding, and content.
954
+
when within the element's border-box.
959
955
Values have the following meanings:
960
956
961
957
image cursors
@@ -967,6 +963,11 @@ it must attempt to handle the second, etc.
967
963
If the user agent cannot handle any user-defined cursor,
968
964
it must use the cursor keyword at the end of the list.
969
965
Conforming User Agents may, instead of <uri>, support <image> which is a superset.
966
+
967
+
The <a>default object size</a> for cursor images is
968
+
a UA-defined size that should be based on
969
+
the size of a typical cursor on the UA's operating system.
970
+
970
971
The optional <x> and <y> coordinates
971
972
identify the exact position within the image which is the pointer position (i.e., the hotspot).
972
973
</dd>
@@ -977,10 +978,12 @@ Each is a <number>.
977
978
The x-coordinate and y-coordinate of the position
978
979
in the cursor's coordinate system (left/top relative)
979
980
which represents the precise position that is being pointed to.
981
+
980
982
If the values are unspecified,
981
983
then the intrinsic hotspot defined inside the image resource itself is used.
982
984
If both the values are unspecific and the referenced cursor has no defined hotspot,
983
985
the effect is as if a value of "0 0" were specified.
986
+
984
987
If the coordinates of the hotspot,
985
988
as specified either inside the image resource or
986
989
by <x> and <y> values,
@@ -1255,8 +1258,7 @@ For accessibility and user convenience,
1255
1258
user agents should allow configuration of which keys on a keyboard are used for directional navigation.
1256
1259
1257
1260
<div class="example">
1258
-
1259
-
Example: positioned buttons
1261
+
<h5>Example: positioned buttons</h5>
1260
1262
1261
1263
Here is an example of buttons positioned in a diamond shape
1262
1264
whose directional focus navigation is set in such a way
@@ -1296,6 +1298,19 @@ is irrelevant in this case because they are positioned, and yet,
1296
1298
it is still important to ensure focus navigation behaviors which relate reasonably to the specified layout.
1297
1299
</div>
1298
1300
1301
+
<div class="example">
1302
+
<h5>Example: moving focus to inside a frame</h5>
1303
+
1304
+
Moving the focus to an element in a specific frame requires both the element's id and the frame's name.
1305
+
1306
+
This example shows how to make navigating left from the button with id "foo" move the focus to the element with id "bar" within the frame named "sidebar".
1307
+
1308
+
<pre><code class="lang-css">
1309
+
button#foo { nav-left: #bar "sidebar"; }
1310
+
</code></pre>
1311
+
</div>
1312
+
1313
+
1299
1314
<h4 id="input-method-editor">Input method editor: the 'ime-mode' property</h4>
0 commit comments