| Summary: | margin-bottom wraps into next column if columns are of uneven height | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Kimberly Grey <kimberly.grey> | ||||||||
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||||
| Status: | NEW --- | ||||||||||
| Severity: | Normal | CC: | ahmad.saleem792, bfulgham, karlcow, oliver.byford, simon.fraser, webkit-bug-importer, zalan | ||||||||
| Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||||||
| Version: | Safari 15 | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| URL: | https://codepen.io/querkmachine/pen/ExEVVBL | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Kimberly Grey
2022-07-04 06:09:07 PDT
Created attachment 460653 [details]
Screenshot of issue in Safari 15.5
Usually adding an outline on elements has no influence on the layout as they do not participate to the computation of width and so on. But I forked the codepen of Kimberley and added outline for the list items. and surprise, "it made it work" https://codepen.io/webcompat/pen/rNdMBvK As a note, do not use the technique to align the items, because this would have consequences for accessibility. Created attachment 460810 [details]
Test reduction
It looks like our multicol code gets confused when collapsing margins across columns.
(In reply to zalan from comment #4) > Created attachment 460810 [details] > Test reduction > > It looks like our multicol code gets confused when collapsing margins across > columns. Something similar to this? https://chromium.googlesource.com/chromium/src.git/+/506506eac78a8106c4e92866a59b8c724ddc8b88 |