Skip to content

Commit 82dc8b8

Browse files
committed
[css-logical-1] Expand note, adding warning for authors about problematic cases.
1 parent 052463d commit 82dc8b8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

css-logical-1/Overview.bs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,11 +303,16 @@ Flow-Relative Box Model Properties</h2>
303303
depends on the element’s computed values of
304304
'writing-mode', 'direction', and 'text-orientation'.
305305

306-
Note: Depending on the element’s own writing mode
306+
Note: Depending on the element’s own <a>writing mode</a>
307+
for mapping every <a>flow-relative</a> property
308+
to its <a>physical</a> equivalent
307309
simplifies the cascading calculations
308310
and gives a straightforward model for authors to reason about.
309311
However, it is problematic in many cases,
310312
see for example <a href="https://www.w3.org/mid/20161108202634.GA7235@mail.internode.on.net">this discussion</a>.
313+
Authors may need to use nested elements
314+
to get the correct mapping behavior
315+
when changing an element’s <a>writing mode</a> from its parent.
311316

312317
A computed value that has flow-relative and physical properties as input
313318
is determined by applying the CSS cascade to declarations of both.

0 commit comments

Comments
 (0)