[Webkit-unassigned] [Bug 111332] New: [CSS Regions] Region's float parent doesn't size according to region size but to content node size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 4 08:14:59 PST 2013


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

           Summary: [CSS Regions] Region's float parent doesn't size
                    according to region size but to content node size
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mibalan at adobe.com
                CC: WebkitBugTracker at adobe.com
            Blocks: 57312


Created an attachment (id=191252)
 --> (https://bugs.webkit.org/attachment.cgi?id=191252&action=review)
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).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list