Skip to content

Commit acf822c

Browse files
upsuperfantasai
authored andcommitted
[css-logical-1] Add some concepts for logical properties for other specs to use
1 parent f3953ed commit acf822c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

css-logical-1/Overview.bs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,22 @@ Flow-Relative Box Model Properties</h2>
289289
depends on the element’s computed values of
290290
'writing-mode', 'direction', and 'text-orientation'.
291291

292+
Each set of flow-relative longhand properties and their parallel
293+
physical properties form a <dfn export>logical property group</dfn>.
294+
295+
Each property in a <a>logical property group</a> has
296+
a <dfn export>logical kind</dfn>. Flow-relative properties'
297+
<a>logical kind</a> is "flow-relative", and physical properties'
298+
<a>logical kind</a> is "physical".
299+
300+
Note: For example, 'block-size', 'inline-size', 'width', and 'height'
301+
form a <a>logical property group</a>, while 'margin-block-start',
302+
'margin-block-end', 'margin-inline-start', 'margin-inline-end',
303+
'margin-top', 'margin-right', 'margin-bottom', and 'margin-left'
304+
form another.
305+
306+
Note: Each property is in at most one <a>logical property group</a>.
307+
292308
Note: Depending on the element’s own writing mode
293309
simplifies the cascading calculations
294310
and gives a straightforward model for authors to reason about.

0 commit comments

Comments
 (0)