[Webkit-unassigned] [Bug 118032] New: Don't force layout when querying a fixed or non-box margin/padding property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 25 23:05:54 PDT 2013


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

           Summary: Don't force layout when querying a fixed or non-box
                    margin/padding property
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: hyatt at apple.com, mjs at apple.com, koivisto at iki.fi,
                    simon.fraser at apple.com, barraclough at apple.com,
                    akling at apple.com


Merge https://chromium.googlesource.com/chromium/blink/+/66427d0825fcc2975bd50220cdcaa2504d6f36e5

The case which calculates the margin only depends on the RenderStyle
when the margin is fixed. It is non-fixed margins that depend on the
RenderBox's margin.

The case that calculates the padding only depends on the RenderStyle
when the element is not a box.

This improves the page load time of the economist by 27% (4.7s -> 3.4s)
on my z620 workstation.

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