[Webkit-unassigned] [Bug 97760] New: CSSComputedStyleDeclaration::getPropertyCSSValue() triggering unnecessary relayouts and style recalcs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 26 23:58:43 PDT 2012


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

           Summary: CSSComputedStyleDeclaration::getPropertyCSSValue()
                    triggering unnecessary relayouts and style recalcs
           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: koivisto at iki.fi


Currently getPropertyCSSValue() (which is also used to implement the more common getPropertyValue()) calls Document::updateLayoutIgnorePendingStylesheets() unconditionally. However only a few properties are actually layout dependent, making many of these relayouts unnecessary. Moreover, triggering full style recalc is also often unnecessary as the current node may already have valid style even if some other parts of the tree require recalc.

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