Re: [csswg-drafts] writing-mode propagation from body to root is annoying (#4357)

So talked offline with @frivoal and noticed that Gecko does _some_ ([code](https://searchfox.org/mozilla-central/rev/7531325c8660cfa61bf71725f83501028178cbb9/layout/generic/nsGfxScrollFrame.cpp#5411)) of the propagation to the viewport, kinda, only for scrollbar directionality.

This was introduced by @dbaron in [bug 192767](https://bugzilla.mozilla.org/show_bug.cgi?id=192767).

So I guess the constraints are:

 1. We want to keep existing content working (at the very least orient the root scrollbars in the right direction when `<body>` is `rtl`).
 2. We want interop.
 3. We want to avoid orthogonal flows (though this may be less important than the previous two).

Both current Gecko behavior and the resolution in #3066 achieve (1) and (3). So if any of those are implementable by other engines I'm fine with either (not terribly happy about #3066, but...).

Gecko can also pretty easily I'd think just propagate the whole writing-mode to the viewport. That gives us (1) and (2) but not (3).

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4357#issuecomment-533440916 using your GitHub account

Received on Friday, 20 September 2019 07:23:08 UTC