|Summary:||[CSS Regions] Region's float parent doesn't size according to region size but to content node size|
|Product:||WebKit||Reporter:||Mihai Balan <mibalan>|
|Component:||CSS||Assignee:||Mihnea Ovidenie <mihnea>|
|Severity:||Normal||CC:||commit-queue, esprehn+autocc, mihnea, WebkitBugTracker|
|Version:||528+ (Nightly build)|
|Bug Depends on:|
Description Mihai Balan 2013-03-04 08:17:24 PST
Created attachment 191252 [details] Ref-test highlighting the problem In absence of CSS Regions, floats determine their width according to the width of their children, as per the spec. However, when a child of a float is a region, the float will use the width of the *content flowed in the region* as their width, effectively ignoring the width of the region itself. E.g. in the attached test case, you should see a yellow circle with a black border with a 90 degrees slice from it being black (provided you have the Ahem font installed on your machine). This circle should be entirely contained in a green rectangle. However, right now the green rectangle is as wide as the black slice (just half of the circle wide).
Comment 3 Mihnea Ovidenie 2013-04-22 21:23:56 PDT
Created attachment 199145 [details] Patch for landing
Comment 4 WebKit Commit Bot 2013-04-22 21:51:50 PDT
Comment on attachment 199145 [details] Patch for landing Clearing flags on attachment: 199145 Committed r148943: <http://trac.webkit.org/changeset/148943>
Comment 5 WebKit Commit Bot 2013-04-22 21:51:52 PDT
All reviewed patches have been landed. Closing bug.