Skip to content

Commit 55486e1

Browse files
committed
[css-borders-4] Improved formatting
1 parent 0f9dc00 commit 55486e1

File tree

1 file changed

+56
-30
lines changed

1 file changed

+56
-30
lines changed

css-borders-4/Overview.bs

Lines changed: 56 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Introduction</h2>
2929
This module is currently maintained as a diff against
3030
the parts related to borders and box decorations of
3131
CSS Backgrounds and Borders Module Level 3 [[CSS3BG]].
32-
We will fold in the text once it's all formatted up and in CR again,
32+
We will fold in the text once its all formatted up and in CR again,
3333
as this will reduce the effort of keeping them in sync
3434
(source diffs will be accurate in reflecting the differences).
3535

@@ -96,12 +96,17 @@ Line Colors: the 'border-color' properties</h3>
9696
and a missing right is also the same as top.
9797
This is resolved individually for each list item.
9898

99-
The logical properties 'border-block-start-color', 'border-block-end-color',
100-
'border-inline-start-color', and 'border-inline-end-color' correspond to the
101-
'border-top-color', 'border-bottom-color', 'border-left-color',
102-
and 'border-right-color' properties.
103-
The mapping depends on the element's 'writing-mode', 'direction',
104-
and 'text-orientation'.
99+
The [=flow-relative=] properties
100+
'border-block-start-color',
101+
'border-block-end-color',
102+
'border-inline-start-color',
103+
and 'border-inline-end-color'
104+
correspond to the [=physical=] properties
105+
'border-top-color',
106+
'border-bottom-color',
107+
'border-left-color',
108+
and 'border-right-color'.
109+
The mapping depends on the element’s 'writing-mode', 'direction', and 'text-orientation'.
105110

106111
<pre class="propdef shorthand">
107112
Name: border-block-color, border-inline-color
@@ -133,12 +138,17 @@ Line Patterns: the 'border-style' properties</h3>
133138
Animation type: discrete
134139
</pre>
135140

136-
The logical properties 'border-block-start-style', 'border-block-end-style',
137-
'border-inline-start-style', and 'border-inline-end-style' correspond to the
138-
'border-top-style', 'border-bottom-style', 'border-left-style',
139-
and 'border-right-style' properties.
140-
The mapping depends on the element's 'writing-mode', 'direction',
141-
and 'text-orientation'.
141+
The [=flow-relative=] properties
142+
'border-block-start-style',
143+
'border-block-end-style',
144+
'border-inline-start-style',
145+
and 'border-inline-end-style'
146+
correspond to the [=physical=] properties
147+
'border-top-style',
148+
'border-bottom-style',
149+
'border-left-style',
150+
and 'border-right-style'.
151+
The mapping depends on the element’s 'writing-mode', 'direction', and 'text-orientation'.
142152

143153
<pre class="propdef shorthand">
144154
Name: border-block-style, border-inline-style
@@ -170,12 +180,17 @@ Line Thickness: the 'border-width' properties</h3>
170180
Animation Type: by computed value
171181
</pre>
172182

173-
The logical properties 'border-block-start-width', 'border-block-end-width',
174-
'border-inline-start-width', and 'border-inline-end-width' correspond to the
175-
'border-top-width', 'border-bottom-width', 'border-left-width',
176-
and 'border-right-width' properties.
177-
The mapping depends on the element's 'writing-mode', 'direction',
178-
and 'text-orientation'.
183+
The [=flow-relative=] properties
184+
'border-block-start-width',
185+
'border-block-end-width',
186+
'border-inline-start-width',
187+
and 'border-inline-end-width'
188+
correspond to the [=physical=] properties
189+
'border-top-width',
190+
'border-bottom-width',
191+
'border-left-width',
192+
and 'border-right-width'.
193+
The mapping depends on the element’s 'writing-mode', 'direction', and 'text-orientation'.
179194

180195
<pre class="propdef shorthand">
181196
Name: border-block-width, border-inline-width
@@ -206,11 +221,17 @@ Border Shorthand Properties</h3>
206221
Animation Type: see individual properties
207222
</pre>
208223

209-
The logical properties 'border-block-start', 'border-block-end',
210-
'border-inline-start', and 'border-inline-end' correspond to the
211-
'border-top', 'border-bottom', 'border-left', and 'border-right' properties.
212-
The mapping depends on the element's 'writing-mode', 'direction',
213-
and 'text-orientation'.
224+
The [=flow-relative=] properties
225+
'border-block-start',
226+
'border-block-end',
227+
'border-inline-start',
228+
and 'border-inline-end'
229+
correspond to the [=physical=] properties
230+
'border-top',
231+
'border-bottom',
232+
'border-left',
233+
and 'border-right'.
234+
The mapping depends on the element’s 'writing-mode', 'direction', and 'text-orientation'.
214235

215236
<pre class="propdef shorthand">
216237
Name: border-block, border-inline
@@ -245,12 +266,17 @@ Corner Sizing: the 'border-*-*-radius' properties</h3>
245266
Animation Type: by computed value
246267
</pre>
247268

248-
The logical properties 'border-start-start-radius', 'border-start-end-radius',
249-
'border-end-start-radius', and 'border-end-end-radius' correspond to the
250-
'border-top-left-radius', 'border-bottom-left-radius',
251-
'border-top-right-radius', and 'border-bottom-right-radius' properties.
252-
The mapping depends on the element's 'writing-mode', 'direction',
253-
and 'text-orientation',
269+
The [=flow-relative=] properties
270+
'border-start-start-radius',
271+
'border-start-end-radius',
272+
'border-end-start-radius',
273+
and 'border-end-end-radius'
274+
correspond to the [=physical=] properties
275+
'border-top-left-radius',
276+
'border-bottom-left-radius',
277+
'border-top-right-radius',
278+
and 'border-bottom-right-radius'.
279+
The mapping depends on the element’s 'writing-mode', 'direction', and 'text-orientation',
254280
with the first start/end giving the block axis side,
255281
and the second the inline-axis side
256282
(i.e. patterned as 'border-<var>block</var>-<var>inline</var>-radius').

0 commit comments

Comments
 (0)