Skip to content

Commit 71f8f1d

Browse files
committed
[css-ui-4][editorial] Fix bikeshed errors
1 parent 2f73c7f commit 71f8f1d

File tree

1 file changed

+60
-24
lines changed

1 file changed

+60
-24
lines changed

css-ui-4/Overview.bs

Lines changed: 60 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,41 @@ spec:css-backgrounds-3; type:property; text:border-top-color
101101
spec:css-backgrounds-3; type:property; text:border-right-color
102102
spec:css-backgrounds-3; type:property; text:border-bottom-color
103103
spec:css-backgrounds-3; type:property; text:border-left-color
104+
spec:css-borders-4; type:property;
105+
text:box-shadow
106+
text:border-top-style
107+
text:border-left-style
108+
text:border-right-style
109+
text:border-bottom-style
110+
text:border-top-width
111+
text:border-left-width
112+
text:border-right-width
113+
text:border-bottom-width
114+
text:border-top-color
115+
text:border-left-color
116+
text:border-right-color
117+
text:border-bottom-color
118+
text:border-start-start-radius
119+
text:border-start-end-radius
120+
text:border-end-start-radius
121+
text:border-end-end-radius
122+
text:border-top-left-radius
123+
text:border-top-right-radius
124+
text:border-bottom-left-radius
125+
text:border-bottom-right-radius
126+
text:border-block-start-width
127+
text:border-block-end-width
128+
text:border-inline-start-width
129+
text:border-inline-end-width
130+
text:border-block-start-style
131+
text:border-block-end-style
132+
text:border-inline-start-style
133+
text:border-inline-end-style
134+
text:border-block-start-color
135+
text:border-block-end-color
136+
text:border-inline-start-color
137+
text:border-inline-end-color
138+
spec:dom; type:dfn; text:element
104139
</pre>
105140
<pre class=anchors>
106141
urlPrefix: https://html.spec.whatwg.org/multipage/; spec:HTML
@@ -972,7 +1007,7 @@ Predefined Cursors</h5>
9721007
<dd>Indicates that the requested action will not be carried out.
9731008
Often rendered as a circle with a line through it.
9741009

975-
<dt><dfn style="cursor:grab">grab</dfn>
1010+
<dt><dfn caniuse=css3-cursors-grab style="cursor:grab">grab</dfn>
9761011
<dd>Indicates that something can be grabbed (dragged to be moved).
9771012
Often rendered as the backside of an open hand.
9781013
<dt><dfn style="cursor:grabbing">grabbing</dfn>
@@ -1044,7 +1079,7 @@ Cursor of the canvas</h5>
10441079
boxes are generated for it and its cursor is used for the canvas.
10451080

10461081

1047-
<h3 id="insertion-caret">
1082+
<h3 id="the-insertion-caret">
10481083
Insertion caret</h3>
10491084

10501085
The <dfn lt="insertion caret|caret">insertion caret</dfn> (or “caret” for short)
@@ -1056,7 +1091,7 @@ Insertion caret</h3>
10561091
Text or elements are considered to <dfn>accept text input</dfn>
10571092
if they are either an [=editable element=] or a descendent thereof,
10581093
excluding any such element where the [=used value=] of 'user-select' is ''user-select/none'',
1059-
as well as subtrees rooted at an HTML element with a {{ElementContentEditable/contentEditable}} attribute set to {{ElementContentEditable/contentEditable/false}}.
1094+
as well as subtrees rooted at an HTML element with a {{ElementContentEditable/contentEditable}} attribute set to <code>false</code>.
10601095

10611096
Some user agents have other user interface mechanisms
10621097
with a similar appearance,
@@ -1535,12 +1570,12 @@ Directional Focus Navigation: the 'nav-up', 'nav-right', 'nav-down', 'nav-left'
15351570
The &lt;target-name&gt; parameter indicates the target frame for the focus navigation.
15361571
It is a <<string>> and it MUST NOT start with the underscore "_" character.
15371572
Error handling: if it does start with an underscore, "_parent" navigates to the parent frame,
1538-
"_root" is treated as ''root'',
1573+
"_root" is treated as ''nav-up/root'',
15391574
and other values navigate to a frame by that name if it exists.
15401575
If the specified target frame does not exist,
1541-
the parameter will be treated as the keyword ''current'',
1576+
the parameter will be treated as the keyword ''nav-up/current'',
15421577
which means to simply use the frame that the element is in.
1543-
The keyword ''root'' indicates that the user agent should target the full window.
1578+
The keyword ''nav-up/root'' indicates that the user agent should target the full window.
15441579
</dl>
15451580

15461581
User agents for devices with directional navigation keys
@@ -1987,28 +2022,28 @@ Animation type: discrete
19872022
</pre>
19882023

19892024
The 'interactivity' property specifies whether an element and its [=flat tree=] descendants
1990-
(including [=text runs=])
2025+
(including [=text nodes=])
19912026
are [=inert=] or not.
19922027

19932028
<dl dfn-type=value dfn-for=interactivity>
19942029
: <dfn>auto</dfn>
1995-
:: The element's [=inert|inertness=] is determined by the [=host language=].
2030+
:: The element's [=inert|inertness=] is determined by the <l spec=selectors-4>[=host language=]</l>.
19962031
<span class=note>(This will <em>usually</em> mean the element is not [=inert=].)</span>
19972032

19982033
: <dfn>inert</dfn>
19992034
:: The element is [=inert=].
20002035
</dl>
20012036

20022037
<div algorithm>
2003-
When an [=element=] or [=text run=] is <dfn export>inert</dfn>:
2038+
When an [=/element=] or [=text node=] is <dfn export>inert</dfn>:
20042039

2005-
* Hit-testing must act as if 'pointer-event' was ''pointer-events/none'',
2040+
* Hit-testing must act as if 'pointer-events' was ''pointer-events/none'',
20062041
regardless of its actual value.
20072042
* Text selection must act as if 'user-select' was ''user-select/none'',
20082043
regardless of its actual value.
2009-
* If the [=element=] or [=text run=] is editable,
2044+
* If the [=/element=] or [=text node=] is editable,
20102045
it must behave as if it was non-editable.
2011-
* The [=element=] or [=text run=] should be ignored
2046+
* The [=/element=] or [=text node=] should be ignored
20122047
for the purposes of find-in-page and similar searching actions.
20132048

20142049
User agents may allow the user
@@ -2212,7 +2247,7 @@ Switching appearance: the 'appearance' property</h3>
22122247
<a>widgets</a> are typically rendered by UAs using native UI controls of the host operating system,
22132248
which can neither be replicated nor styled using CSS.
22142249

2215-
The term <dfn export>widget</dfn> in this specification denotes [=replaced=] elements that can have <dfn export>native appearance</dfn>,
2250+
The term <dfn export>widget</dfn> in this specification denotes [=replaced=] elements that can have <dfn export lt="native appearance|native render|natively render">native appearance</dfn>,
22162251
meaning that they are rendered like analogous native widgets or controls of the host operating system or platform,
22172252
or with a look and feel not otherwise expressible in CSS.
22182253
It is up to the host language (e.g., HTML [[HTML]]) to define which elements can have <a>native appearance</a>.
@@ -2418,28 +2453,29 @@ Switching appearance: the 'appearance' property</h3>
24182453
to ensure that the intended appearance is preserved,
24192454
or because these properties may not be meaningful for the chosen appearance.
24202455

2421-
<dfn>Disregarding</dfn> a property means that
2456+
<dfn lt="disregard">Disregarding</dfn> a property means that
24222457
the user agent treats it as if it didn't [=apply to=] the widget in question.
24232458
Nevertheless,
24242459
unless an explicit exception is specified (for compatibility reasons),
24252460
the user agent must still determine the [=computed value=] of any [=disregarded=] property
24262461
according to the usual rules.
24272462

2428-
In more detail, the rules for disregarding properties for [=natively rendered=] widgets are:
2463+
In more detail, the rules for disregarding properties for [=natively rendered=] widgets are:
2464+
24292465
<ul>
2430-
<li> CSS properties that impact the box sizing or position of the widget's box (such as the [=sizing properties=]),
2431-
or their visual appearance outside of the box (such as 'transform', 'filter' or 'box-shadow'), must be applied to
2432-
[=widgets=] rendered with their [=native appearance=]. The widget's box participates in the rest of layout like any other replaced element.
2433-
<li> Properties that affect the internal box model sizing of the widget's box (such as 'box-sizing', 'padding', 'border' or 'margin') may be disregarded when needed.
2434-
<li> Other properties that affect painting (like 'background-color') may be disregarded when needed.
2435-
<li> User agents should take into account CSS properties that affect writing modes or font-related properties when possible,
2466+
<li>CSS properties that impact the box sizing or position of the widget's box (such as the [=sizing properties=]),
2467+
or their visual appearance outside of the box (such as 'transform', 'filter' or 'box-shadow'), must be applied to
2468+
[=widgets=] rendered with their [=native appearance=]. The widget's box participates in the rest of layout like any other replaced element.
2469+
<li> Properties that affect the internal box model sizing of the widget's box (such as 'box-sizing', 'padding', 'border' or 'margin') may be disregarded when needed.
2470+
<li> Other properties that affect painting (like 'background-color') may be disregarded when needed.
2471+
<li> User agents should take into account CSS properties that affect writing modes or font-related properties when possible,
24362472
when rendering text within the widget.
2437-
<li> The 'object-fit' property does not apply.
2473+
<li> The 'object-fit' property does not apply.
24382474
</ul>
24392475

24402476
<div class=example>
2441-
Some user agents respect the 'border' and 'padding' CSS properties for a &lt;select&gt; rendered with [=native appearance=], but
2442-
not for &lt;input type=checkbox&gt;.
2477+
Some user agents respect the 'border' and 'padding' CSS properties for a &lt;select&gt; rendered with [=native appearance=], but
2478+
not for &lt;input type=checkbox&gt;.
24432479
</div>
24442480

24452481
Native rendering of widgets may overflow the size of its box if its intrinsic sizing exceeds that size.

0 commit comments

Comments
 (0)