Skip to content

Commit 3fd80ec

Browse files
committed
[css-ui-3] Improve bikeshed markup
1 parent fe22505 commit 3fd80ec

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

css-ui/Overview.bs

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ User agents may ignore the cursor property over native user-agent controls such
975975

976976
Values have the following meanings:
977977

978-
<dl>
978+
<dl dfn-type=value dfn-for=cursor>
979979
<dt>image cursors
980980
<dd>
981981
<dl>
@@ -1061,38 +1061,38 @@ they must be clamped (independently) to fit.
10611061
<dd>
10621062

10631063
<dl>
1064-
<dt style="cursor:auto">auto</dt>
1064+
<dt style="cursor:auto"><dfn>auto</dfn></dt>
10651065
<dd>The UA determines the cursor to display based on the current
10661066
context, specifically: auto behaves as ''cursor/text'' over text, and ''cursor/default'' otherwise.
10671067
</dd>
10681068

1069-
<dt style="cursor:default">default</dt>
1069+
<dt style="cursor:default"><dfn>default</dfn></dt>
10701070
<dd>The platform-dependent default cursor. Often rendered as an arrow.
10711071
</dd>
1072-
<dt style="cursor:none">none</dt>
1072+
<dt style="cursor:none"><dfn>none</dfn></dt>
10731073
<dd>No cursor is rendered for the element.</dd>
10741074
</dl>
10751075

10761076
<dt>links and status cursors
10771077
<dd>
10781078

10791079
<dl>
1080-
<dt style="cursor:context-menu">context-menu</dt>
1080+
<dt style="cursor:context-menu"><dfn>context-menu</dfn></dt>
10811081
<dd>A context menu is available for the object under the cursor.
10821082
Often rendered as an arrow with a small menu-like graphic next to it.</dd>
1083-
<dt style="cursor:help">help</dt>
1083+
<dt style="cursor:help"><dfn>help</dfn></dt>
10841084
<dd>Help is available for the object under the cursor.
10851085
Often rendered as a question mark or a balloon.
10861086
</dd>
1087-
<dt style="cursor:pointer">pointer</dt>
1087+
<dt style="cursor:pointer"><dfn>pointer</dfn></dt>
10881088
<dd>The cursor is a pointer that indicates a link.
10891089
</dd>
1090-
<dt style="cursor:progress">progress</dt>
1090+
<dt style="cursor:progress"><dfn>progress</dfn></dt>
10911091
<dd>A progress indicator. The program is performing some processing,
10921092
but is different from ''wait'' in that the user may still interact
10931093
with the program. Often rendered as a spinning beach ball,
10941094
or an arrow with a watch or hourglass.</dd>
1095-
<dt style="cursor:wait">wait</dt>
1095+
<dt style="cursor:wait"><dfn>wait</dfn></dt>
10961096
<dd>Indicates that the program is busy and the user should wait.
10971097
Often rendered as a watch or hourglass.
10981098
</dd>
@@ -1101,83 +1101,83 @@ Often rendered as a watch or hourglass.
11011101
<dt>selection cursors
11021102
<dd>
11031103
<dl>
1104-
<dt style="cursor:cell">cell</dt>
1104+
<dt style="cursor:cell"><dfn>cell</dfn></dt>
11051105
<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>
1106-
<dt style="cursor:crosshair">crosshair</dt>
1106+
<dt style="cursor:crosshair"><dfn>crosshair</dfn></dt>
11071107
<dd>A simple crosshair (e.g., short line segments resembling a "+" sign).
11081108
Often used to indicate a two dimensional bitmap selection mode.
11091109
</dd>
1110-
<dt style="cursor:text">text</dt>
1110+
<dt style="cursor:text"><dfn>text</dfn></dt>
11111111
<dd>Indicates text that may be selected. Often rendered as a vertical I-beam.
11121112
User agents may automatically display a horizontal I-beam/cursor
11131113
(e.g. same as the ''vertical-text'' keyword)
11141114
for vertical text, or for that matter,
11151115
any angle of I-beam/cursor for text that is rendered at any particular angle.
11161116
</dd>
1117-
<dt style="cursor:vertical-text">vertical-text</dt>
1117+
<dt style="cursor:vertical-text"><dfn>vertical-text</dfn></dt>
11181118
<dd>Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam.</dd>
11191119
</dl>
11201120

11211121
<dt>drag and drop cursors
11221122
<dd>
11231123
<dl>
1124-
<dt style="cursor:alias">alias</dt>
1124+
<dt style="cursor:alias"><dfn>alias</dfn></dt>
11251125
<dd>Indicates an alias of/shortcut to something is to be created.
11261126
Often rendered as an arrow with a small curved arrow next to it.</dd>
11271127

1128-
<dt style="cursor:copy">copy</dt>
1128+
<dt style="cursor:copy"><dfn>copy</dfn></dt>
11291129
<dd>Indicates something is to be copied.
11301130
Often rendered as an arrow with a small plus sign next to it.</dd>
11311131

1132-
<dt style="cursor:move">move</dt>
1132+
<dt style="cursor:move"><dfn>move</dfn></dt>
11331133
<dd>Indicates something is to be moved.
11341134
</dd>
1135-
<dt style="cursor:no-drop">no-drop</dt>
1135+
<dt style="cursor:no-drop"><dfn>no-drop</dfn></dt>
11361136
<dd>Indicates that the dragged item cannot be dropped at the current cursor location.
11371137
Often rendered as a hand or pointer with a small circle with a line through it.
11381138
</dd>
1139-
<dt style="cursor:not-allowed">not-allowed</dt>
1139+
<dt style="cursor:not-allowed"><dfn>not-allowed</dfn></dt>
11401140
<dd>Indicates that the requested action will not be carried out.
11411141
Often rendered as a circle with a line through it.
11421142
</dd>
1143-
<dt style="cursor:grab">grab</dt>
1143+
<dt style="cursor:grab"><dfn>grab</dfn></dt>
11441144
<dd>Indicates that something can be grabbed (dragged to be moved). Often rendered as the backside of an open hand.</dd>
1145-
<dt style="cursor:grabbing">grabbing</dt>
1145+
<dt style="cursor:grabbing"><dfn>grabbing</dfn></dt>
11461146
<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>
11471147
</dl>
11481148

11491149
<dt>resizing and scrolling cursors
11501150
<dd>
11511151
<dl>
11521152
<dt>
1153-
<span style="cursor:e-resize">e-resize</span>,
1154-
<span style="cursor:n-resize">n-resize</span>,
1155-
<span style="cursor:ne-resize">ne-resize</span>,
1156-
<span style="cursor:nw-resize">nw-resize</span>,
1157-
<span style="cursor:s-resize">s-resize</span>,
1158-
<span style="cursor:se-resize">se-resize</span>,
1159-
<span style="cursor:sw-resize">sw-resize</span>,
1160-
<span style="cursor:w-resize">w-resize</span>
1153+
<span style="cursor:e-resize"><dfn>e-resize</dfn></span>,
1154+
<span style="cursor:n-resize"><dfn>n-resize</dfn></span>,
1155+
<span style="cursor:ne-resize"><dfn>ne-resize</dfn></span>,
1156+
<span style="cursor:nw-resize"><dfn>nw-resize</dfn></span>,
1157+
<span style="cursor:s-resize"><dfn>s-resize</dfn></span>,
1158+
<span style="cursor:se-resize"><dfn>se-resize</dfn></span>,
1159+
<span style="cursor:sw-resize"><dfn>sw-resize</dfn></span>,
1160+
<span style="cursor:w-resize"><dfn>w-resize</dfn></span>
11611161
</dt>
11621162
<dd>Indicates that some edge is to be moved. For example, the
11631163
''se-resize'' cursor is used when the movement starts from the
11641164
south-east corner of the box.
11651165
</dd>
11661166
<dt>
1167-
<span style="cursor:ew-resize">ew-resize</span>,
1168-
<span style="cursor:ns-resize">ns-resize</span>,
1169-
<span style="cursor:nesw-resize">nesw-resize</span>,
1170-
<span style="cursor:nwse-resize">nwse-resize</span>
1167+
<span style="cursor:ew-resize"><dfn>ew-resize</dfn></span>,
1168+
<span style="cursor:ns-resize"><dfn>ns-resize</dfn></span>,
1169+
<span style="cursor:nesw-resize"><dfn>nesw-resize</dfn></span>,
1170+
<span style="cursor:nwse-resize"><dfn>nwse-resize</dfn></span>
11711171
</dt>
11721172
<dd>Indicates a bidirectional resize cursor.</dd>
1173-
<dt style="cursor:col-resize">col-resize</dt>
1173+
<dt style="cursor:col-resize"><dfn>col-resize</dfn></dt>
11741174
<dd>Indicates that the item/column can be resized horizontally.
11751175
Often rendered as arrows pointing left and right with a vertical bar separating them.</dd>
1176-
<dt style="cursor:row-resize">row-resize</dt>
1176+
<dt style="cursor:row-resize"><dfn>row-resize</dfn></dt>
11771177
<dd>Indicates that the item/row can be resized vertically.
11781178
Often rendered as arrows pointing up and down with a horizontal bar separating them.
11791179
</dd>
1180-
<dt style="cursor:all-scroll">all-scroll</dt>
1180+
<dt style="cursor:all-scroll"><dfn>all-scroll</dfn></dt>
11811181
<dd>Indicates that the something can be scrolled in any direction.
11821182
Often rendered as arrows pointing up, down, left, and right with a dot in the middle.
11831183
</dd>
@@ -1187,8 +1187,8 @@ Often rendered as arrows pointing up, down, left, and right with a dot in the mi
11871187
<dd>
11881188
<dl>
11891189
<dt>
1190-
<span style="cursor:zoom-in"> zoom-in</span>,
1191-
<span style="cursor:zoom-out"> zoom-out</span>
1190+
<span style="cursor:zoom-in"> <dfn>zoom-in</dfn></span>,
1191+
<span style="cursor:zoom-out"> <dfn>zoom-out</dfn></span>
11921192
</dt>
11931193
<dd>
11941194
Indicates that something can be zoomed (magnified) in or out, and

0 commit comments

Comments
 (0)