Margin collapse and float/clear interactions are right up there with Unix signals and Event Tracing for Windows as some of the most evil things ever invented…
3
3
59
To elaborate: I don’t think any browser handles all the cases right, 20 years after the spec was developed.
1
1
19
*mumbles something about the various open issues on CSS2 around margin collapsing*
At some point, hopefully later this year, I'll have the time to sit down and try and actually get us to the point of having _something_ closer to reality spec'd.
1
4
What I’d like more than anything is some sort of guidance from the spec as to when I have to fall back to “guess where a float/cleared block is; if wrong then redo layout”.
All implementations except WeasyPrint I’m aware of do this in varying circumstances…
1
I’m not sure that CSS 2.1 margin-collapse/clear interactions are practically implementable as spec’d and it’d be very nice to know what approximation browsers actually go with.
1
BTW, I just noticed the permission requested in bugzil.la/1620879 was granted, so that should be able to proceed if revised appropriately.
Aug 10, 2020 · 3:15 AM UTC

