Bug 96096 - [CSS Regions] Region style is not correctly applied for floats in certain situations
Summary: [CSS Regions] Region style is not correctly applied for floats in certain sit...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 71487
  Show dependency treegraph
 
Reported: 2012-09-07 04:37 PDT by Andrei Bucur
Modified: 2022-07-13 09:26 PDT (History)
6 users (show)

See Also:


Attachments
Test case (1.54 KB, text/html)
2012-09-07 04:37 PDT, Andrei Bucur
no flags Details
Test case reference (1.32 KB, text/html)
2012-09-07 04:38 PDT, Andrei Bucur
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Bucur 2012-09-07 04:37:58 PDT
Created attachment 162740 [details]
Test case

In some cases the region range for floats is not computed correctly. This makes the region style for the float to not be correctly applied. See the attached test.
Comment 1 Andrei Bucur 2012-09-07 04:38:39 PDT
Created attachment 162741 [details]
Test case reference
Comment 2 Andrei Bucur 2012-09-07 06:22:24 PDT
After some investigations this may be a layout bug, not a regions one. I'm not very familiar (yet) with the floats spec but what I'm seeing is that the containing block of the float doesn't get the chance to call setLogicalHeight using the height of the float because this happens in layoutBlockChild but not in positionNewFloats.
Comment 3 Andrei Bucur 2012-11-06 03:59:04 PST
It seems that the region range for a box is not necessarily contained inside the region range of the parent block. We should make sure the region styling algorithm doesn't make this assumption.
Comment 4 Michelangelo De Simone 2013-06-13 20:24:11 PDT
Still repros on today's nightly (r151543)
Comment 5 Brent Fulgham 2022-07-13 09:26:44 PDT
CSS Regions were removed in Bug 174978.