[Webkit-unassigned] [Bug 139446] New: Blocks that create a new block formatting context are not self-collapsing.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 9 07:07:47 PST 2014


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

            Bug ID: 139446
           Summary: Blocks that create a new block formatting context are
                    not self-collapsing.
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jfernandez at igalia.com

Blocks that create a new block formatting context are not self-collapsing.

Per http://www.w3.org/TR/CSS2/box.html#collapsing-margins the top and bottom margins of a block that has no content and otherwise no height of its own can only collapse together if the box doesn't establish a block formatting context.

We already have a function that detects when a block is creating a new block formatting context, so let's use it to detect when we shouldn't collapse margins.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141209/3a86dd79/attachment-0002.html>


More information about the webkit-unassigned mailing list