Bug 96096

Summary: [CSS Regions] Region style is not correctly applied for floats in certain situations
Product: WebKit Reporter: Andrei Bucur <abucur>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bfulgham, donggwan.kim, hyatt, mibalan, mihnea, WebkitBugTracker
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 71487    
Attachments:
Description Flags
Test case
none
Test case reference none

Andrei Bucur
Reported 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.
Attachments
Test case (1.54 KB, text/html)
2012-09-07 04:37 PDT, Andrei Bucur
no flags
Test case reference (1.32 KB, text/html)
2012-09-07 04:38 PDT, Andrei Bucur
no flags
Andrei Bucur
Comment 1 2012-09-07 04:38:39 PDT
Created attachment 162741 [details] Test case reference
Andrei Bucur
Comment 2 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.
Andrei Bucur
Comment 3 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.
Michelangelo De Simone
Comment 4 2013-06-13 20:24:11 PDT
Still repros on today's nightly (r151543)
Brent Fulgham
Comment 5 2022-07-13 09:26:44 PDT
CSS Regions were removed in Bug 174978.
Note You need to log in before you can comment on or make changes to this bug.