Skip to content

Commit 7e375d4

Browse files
committed
[css-ui-3] (Editorial) Improve markup of the cursor definitions
1 parent c0ba93c commit 7e375d4

File tree

2 files changed

+116
-93
lines changed

2 files changed

+116
-93
lines changed

css-ui/Overview.bs

+14-6
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,9 @@ User agents may ignore the cursor property over native user-agent controls such
980980

981981
Values have the following meanings:
982982

983-
image cursors
983+
<dl>
984+
<dt>image cursors
985+
<dd>
984986
<dl>
985987
<dt><<url>></dt>
986988
<dd>The user agent retrieves the cursor from the resource designated by the URI.
@@ -1060,7 +1062,8 @@ they must be clamped (independently) to fit.
10601062
</dd>
10611063
</dl>
10621064

1063-
general purpose cursors
1065+
<dt>general purpose cursors
1066+
<dd>
10641067

10651068
<dl>
10661069
<dt style="cursor:auto">auto</dt>
@@ -1098,7 +1101,8 @@ Often rendered as a watch or hourglass.
10981101
</dd>
10991102
</dl>
11001103

1101-
selection cursors
1104+
<dt>selection cursors
1105+
<dd>
11021106
<dl>
11031107
<dt style="cursor:cell">cell</dt>
11041108
<dd>Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle.</dd>
@@ -1117,7 +1121,8 @@ any angle of I-beam/cursor for text that is rendered at any particular angle.
11171121
<dd>Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam.</dd>
11181122
</dl>
11191123

1120-
drag and drop cursors
1124+
<dt>drag and drop cursors
1125+
<dd>
11211126
<dl>
11221127
<dt style="cursor:alias">alias</dt>
11231128
<dd>Indicates an alias of/shortcut to something is to be created.
@@ -1144,7 +1149,8 @@ Often rendered as a circle with a line through it.
11441149
<dd>Indicates that something is being grabbed (dragged to be moved). Often rendered as the backside of a hand with fingers closed mostly out of view.</dd>
11451150
</dl>
11461151

1147-
resizing and scrolling cursors
1152+
<dt>resizing and scrolling cursors
1153+
<dd>
11481154
<dl>
11491155
<dt>
11501156
<span style="cursor:e-resize">e-resize</span>,
@@ -1180,7 +1186,8 @@ Often rendered as arrows pointing up, down, left, and right with a dot in the mi
11801186
</dd>
11811187
</dl>
11821188

1183-
zooming cursors
1189+
<dt>zooming cursors
1190+
<dd>
11841191
<dl>
11851192
<dt>
11861193
<span style="cursor:zoom-in"> zoom-in</span>,
@@ -1191,6 +1198,7 @@ Indicates that something can be zoomed (magnified) in or out, and
11911198
often rendered as a magnifying glass with a "+" or "-" in the center of the glass, for ''zoom-in'' and ''zoom-out'' respectively.
11921199
</dd>
11931200
</dl>
1201+
</dl>
11941202

11951203
The UA may treat unsupported values as ''cursor/auto''.
11961204
E.g. on platforms that do not have a concept of a ''context-menu'' cursor,

0 commit comments

Comments
 (0)