[Webkit-unassigned] [Bug 91046] New: invalidateNodeListsCacheAfterAttributeChanged should dynamically figure out which attribute needs invalidation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 11 20:55:11 PDT 2012


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

           Summary: invalidateNodeListsCacheAfterAttributeChanged should
                    dynamically figure out which attribute needs
                    invalidation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: andersca at apple.com, sam at webkit.org, koivisto at iki.fi,
                    ojan at chromium.org, kling at webkit.org
            Blocks: 89919


Right now invalidateNodeListsCacheAfterAttributeChanged has a hard coded list of attributes to watch out but this is problematic if wanted to also support HTMLCollection here because HTMLCollection depends on more attributes. Also, we currently invalidate node lists when an attribute that's relevant to any node list type regardless of whether such a node list exists in the document or not. We can do better by remembering which node list types are present in the document, and avoiding the invalidation altogether when some attribute changes and node lists that care about the attribute doesn't exist in the document.

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