[Webkit-unassigned] [Bug 115844] New: Avoid full style recall for scoped style element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 8 20:56:10 PDT 2013


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

           Summary: Avoid full style recall for scoped style element
           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: rniwa at webkit.org


We should probably merge
https://chromium.googlesource.com/chromium/blink/+/628ec64c197dc92c5e87b1c4f7b6e13af1f86b75

Since rules in scoped styles could be treated as scoped selector rules, we don't need to full style recalc.

So updated in the following way:
- register with scoping node before invoking DocumentStyleSheets::updateActiveStyleSheets.
- move needsStyleRecalc logic for scoped styles from HTMLStyleElement to StyleInvalidationAnalysis.
- make StyleInvalidationAnalysis support scoped styles.

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