[Webkit-unassigned] [Bug 262476] clear:right on a left floating element breaks layout
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 2 11:17:07 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=262476
--- Comment #3 from Johannes Odland <johannes.odland at nrk.no> ---
But is it web compatible?
This change is breaking layouts that have been working interoperable across browsers for a decade.
Also, according to float definition in CSS 2.2:
https://drafts.csswg.org/css2/#float-rules
> 2. If the current box is left-floating, and there are any left-floating boxes generated by elements earlier in the source document, then for each such earlier box, either the left outer edge of the current box must be to the right of the right outer edge of the earlier box, or its top must be lower than the bottom of the earlier box. Analogous rules hold for right-floating boxes.
It can’t be positioned to the right of the previous box and should therefore be below, matching the behavior of Safari <= 16.x?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231002/6e7afd4b/attachment-0001.htm>
More information about the webkit-unassigned
mailing list