WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
269197
[css-multicol-1] Nested multi-columns are laid out incorrectly
https://bugs.webkit.org/show_bug.cgi?id=269197
Summary
[css-multicol-1] Nested multi-columns are laid out incorrectly
Brad Andalman
Reported
2024-02-12 08:29:03 PST
Created
attachment 469821
[details]
HTML exhibiting the bug (numbers out of order) In the attached HTML, I have two nested multi-column layouts: the outer sets a specific `column-width` while the inner one sets the `column-count` to 2. Without the inner multi-column layout, the numbers appear in order: 1 2 3 4. With the inner multi-column layout (as attached), the numbers appear out of order: 1 3 2 4. In Safari, it seems that the inner multi-column layout is not respecting the outer one. The inner multi-column layout appears to be laid out first – into 2 long columns - which is then split up by the outer multi-column layout into a number of different columns of a specific width. This renders correctly in Chrome and Firefox, however. To submit a reduced case, I’ve included very little text. However, that makes it a little difficult to see the motivation, which is to create a layout like the index in a book. The outer multi-column layout would represent the pages, and the inner one would represent the two columns of text on each page. This is perhaps easier to visualize with more text. To see that, remove all the comments from the attached HTML. Then, in each gray box, we’d expect to see an ordered sequence: 1-6 in the first box, 7-12 in the second.
Attachments
HTML exhibiting the bug (numbers out of order)
(1.55 KB, text/html)
2024-02-12 08:29 PST
,
Brad Andalman
no flags
Details
Rendered HTML in Safari (incorrect), Chrome (correct), and Firefox (correct)
(118.17 KB, image/png)
2024-02-12 08:31 PST
,
Brad Andalman
no flags
Details
Same HTML structure, but more text (for context)
(119.21 KB, image/png)
2024-02-12 08:36 PST
,
Brad Andalman
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Brad Andalman
Comment 1
2024-02-12 08:31:09 PST
Created
attachment 469822
[details]
Rendered HTML in Safari (incorrect), Chrome (correct), and Firefox (correct)
Brad Andalman
Comment 2
2024-02-12 08:36:10 PST
Created
attachment 469824
[details]
Same HTML structure, but more text (for context) Each gray box should have an ordered sequence of numbers: 1-6 for the first box, 7-12 for the second.
Radar WebKit Bug Importer
Comment 3
2024-02-14 16:51:38 PST
<
rdar://problem/122980697
>
fantasai
Comment 4
2025-09-30 13:39:53 PDT
***
Bug 138159
has been marked as a duplicate of this bug. ***
Frank Illenberger
Comment 5
2025-11-11 23:01:33 PST
vote +1 from me
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug