[Webkit-unassigned] [Bug 122842] New: [CSS Regions] Unforced breaks introduce extraneous space when boxes flowed in region don't have text contents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 15 10:11:45 PDT 2013


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

           Summary: [CSS Regions] Unforced breaks introduce extraneous
                    space when boxes flowed in region don't have text
                    contents
           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=214278)
 --> (https://bugs.webkit.org/attachment.cgi?id=214278&action=review)
HTML file highlighting the problem

When a flow consisting of empty boxes (say, <div>s) with a set geometry (width & height) is flowed in a region, boxes flowed after an unforced break will be laid out as if they had margins, even though they don't.

Doing the same but with the boxes also having text contents will lay out correctly.

In the attached file, you should see two rows, each with two horizontal green rectangles with black borders.
The green rectangles are made out of boxes flowed in regions.

The boxes in the top right region are shifted downwards even though there's no styling to cause that. Replicating the markup but adding an 'x' in each box produces a correct rendering (bottom row).

-- 
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