Skip to content

Commit f54d78a

Browse files
committed
[css-ui-4] Make bikeshed happy
1 parent d0beb62 commit f54d78a

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

css-ui-4/Overview.bs

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ Abstract: This specification describes user interface related
2727
to style basic user interface elements in a document.
2828
At risk: Applicability of 'user-select' to ''::before'' and ''::after''
2929
</pre>
30+
<pre class=link-defaults>
31+
spec:css-writing-modes-4; type:dfn; text:start
32+
spec:css-writing-modes-4; type:dfn; text:end
33+
</pre>
3034

3135
<h2 id="intro">Introduction</h2>
3236

@@ -639,7 +643,7 @@ textarea {
639643

640644
<pre class='propdef'>
641645
Name: caret-shape
642-
Value: ''auto'' | ''bar'' | ''block'' | ''underscore''
646+
Value: auto | bar | block | underscore
643647
Initial: auto
644648
Applies to: elements that accept input
645649
Inherited: yes
@@ -732,7 +736,7 @@ The stacking position of the caret is left undefined, within the following const
732736
<table id="caret-shape-example">
733737
<tr><th>'caret-shape'<th>Sample rendering<th>Your browser<br>(focus each cell to see the caret)
734738
<tr><td>''bar''<td>Lorem ipsu<span style="outline: 1px solid black;animation: caret-bar-ref 2s step-end infinite;-webkit-animation: caret-bar-ref 2s step-end infinite;">&#8203;</span>m<td style contentEditable=true style="caret-shape: bar">Lorem Ipsum
735-
<tr><td>''block''<td>Lorem ipsu<span style="background: #bbb; -webkit-animation: caret-block-ref 2s step-end infinite;animation: caret-block-ref 2s step-end infinite;">m</span><td contentEditable=true style="caret-shape: block">Lorem Ipsum
739+
<tr><td>''caret-shape/block''<td>Lorem ipsu<span style="background: #bbb; -webkit-animation: caret-block-ref 2s step-end infinite;animation: caret-block-ref 2s step-end infinite;">m</span><td contentEditable=true style="caret-shape: block">Lorem Ipsum
736740
<tr><td>''underscore''<td>Lorem ispu<span style="border-bottom: 2px solid black; -webkit-animation: caret-underscore-ref 2s step-end infinite; animation: caret-underscore-ref 2s step-end infinite;">m</span><td contentEditable=true style="caret-shape: underscore">Lorem Ipsum
737741
</table>
738742
</div>
@@ -932,7 +936,7 @@ Omitted values are set to their initial values.
932936
<li>On the ''::before'' and ''::after'' pseudo elements,
933937
the computed value is ''user-select/none''
934938
<li>If the element is an <a>editable element</a>,
935-
the computed value is ''contain''
939+
the computed value is ''user-select/contain''
936940
<li>Otherwise,
937941
if the computed value of 'user-select' on the parent of this element is ''all'',
938942
the computed value is ''all''
@@ -946,7 +950,7 @@ Omitted values are set to their initial values.
946950
whose computed value depends on the parent element
947951
makes it possible to create what is effectively selective inheritance.
948952
This was initially proposed by Microsoft in IE to introduce a behavior similar to inheritance
949-
except that the ''contain'' value does not inherit.
953+
except that the ''user-select/contain'' value does not inherit.
950954

951955
<dt><dfn>text</dfn>
952956
<dd>The element imposes no constraint on the selection.
@@ -1031,7 +1035,7 @@ Omitted values are set to their initial values.
10311035

10321036
Note: At the time of writing, experimental implementations behave differently from eachother
10331037
about selections started outside and selections going into the element.
1034-
The behavior can be observed even on browsers that do not explicitly support ''contain''
1038+
The behavior can be observed even on browsers that do not explicitly support ''user-select/contain''
10351039
by trying to select into a <{textarea}> or a contenteditable element.
10361040

10371041
Note: This was initially introduced
@@ -1089,7 +1093,7 @@ so that CSS can be used to fully restyle them.
10891093

10901094
<pre class="propdef">
10911095
Name: appearance
1092-
Value: ''auto'' | ''none''
1096+
Value: auto | none
10931097
Initial: auto
10941098
Applies To: all elements
10951099
Inherited: no

0 commit comments

Comments
 (0)