Bug 172999

Summary: Incorrect computed 'float' style for floated flex/grid items
Product: WebKit Reporter: Boris Zbarsky <bzbarsky>
Component: Layout and RenderingAssignee: Frédéric Wang Nélar <fred.wang>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, bfulgham, fred.wang, hyatt, simon.fraser, zalan
Priority: P2 Keywords: FromImplementor
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=267167

Boris Zbarsky
Reported 2017-06-06 09:58:16 PDT
This is just like https://bugs.chromium.org/p/chromium/issues/detail?id=350505 but for WebKit. Floated flex items get 'float' computed to 'none', which is not correct per the flexbox spec. See http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2872 for a testcase.
Attachments
Frédéric Wang Nélar
Comment 1 2026-03-04 23:31:03 PST
Tweaking title, since this is also the case for grid items. https://chromium-review.googlesource.com/c/chromium/src/+/2261412 fixed the issue for grid/flex items and added WPT tests.
Frédéric Wang Nélar
Comment 2 2026-03-04 23:31:22 PST
*** Bug 267167 has been marked as a duplicate of this bug. ***
Frédéric Wang Nélar
Comment 3 2026-03-05 02:12:03 PST
Note You need to log in before you can comment on or make changes to this bug.