Using writing-mode to create vertically ordered columns on <html> no longer works
Categories
(Core :: Layout: Columns, defect, P4)
Tracking
()
People
(Reporter: d.huigens, Unassigned)
References
Details
(Keywords: regression, testcase)
Attachments
(2 files, 1 obsolete file)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/45.0.2454.101 Chrome/45.0.2454.101 Safari/537.36 Steps to reproduce: 1. Divide content into an unspecified number of columns the size of the container with -moz-column-count: 1 2. Order the columns vertically with writing-mode: vertical-lr 3. Order the content back horizontally with writing-mode: initial See attached testcase. Actual results: No columns are created, and the content ignores the width of the container Expected results: Vertically ordered columns the size of the container should be created. Back when this worked, I created a blog post on the technique with a screenshot: http://blog.airbornos.com/post/2015/05/08/Dividing-Content-into-Visual-Pages-in-CSS Regression window: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=2950fd6529df7d26dbc6b7c4d8fd27f6d674a50a&tochange=42484455a38391f548969276ce2b1032745c6d85 If someone has a workaround, I would be super thankful for that too.
CC'ing Jonathan for more details.
Comment 2•4 years ago
|
||
Comment 3•4 years ago
|
||
Comment 4•4 years ago
|
||
I'm guessing the <div>
testcase has the layout the reporter expected. I'm not sure if we really render the first testcase wrong though. IIRC, the specs have some rather complicated rules for how writing-mode
should behave on HTML/BODY.
(Note that Chrome have the same layout as we do on these tests. Well, except that Chrome doesn't create a scrollbar in the second test, but that seems like a bug in Chrome.)
Emilio, I think you touched this code a while ago (propagating writing-mode etc), do you recall what the spec says?
Comment 5•4 years ago
|
||
Yeah, I think this is correct per spec at the moment. Last change here was bug 1102175. Spec is https://drafts.csswg.org/css-writing-modes-3/#principal-flow.
The computed value of the <html>
is not used, and it's propagated from the <body>
instead.
Updated•1 year ago
|
Description
•