[Webkit-unassigned] [Bug 87004] New: [Meta] Refactor ComposedShadowTreeWalker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 21 04:44:31 PDT 2012


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

           Summary: [Meta] Refactor ComposedShadowTreeWalker
           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: hayato at chromium.org
                CC: dglazkov at chromium.org, dominicc at chromium.org,
                    morrita at google.com, shinyak at chromium.org,
                    tasak at google.com


There is a design issue of current ComposedShadowTreeWalker:

- parentIncludingInsertionPointAndShadowRoot() does not use Policy.
- Nothing prevents users from mixing parentIncludingInsertionPointAndShadowRoot() and other functions.

It might be better that we have:
 - A separated Walker class which provides only parentIncludingInsertionPointAndShadowRoot() and get rid of the function from current Walker class.
 - or yet another traversing Policy used for parentIncludingInsertionPointAndShadowRoot().
 - or making parentIncludingInsertionPointAndShadowRoot() a static function.

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