[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:18:39 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=262476

--- Comment #4 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to Johannes Odland from comment #3)
> 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?

What I am trying to suggest that the bug has been fixed on 'top of tree' or in latest WebKit builds and I tested it on build as of 268726 at main on macOS Sonoma using Minibrowser.

-- 
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/c7bff21c/attachment.htm>


More information about the webkit-unassigned mailing list