[Webkit-unassigned] [Bug 91589] New: It is confusing that node->shadowAncestorNode() returns node itself if node is not in ShadowDOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 17 23:47:32 PDT 2012


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

           Summary: It is confusing that node->shadowAncestorNode()
                    returns node itself if node is not in ShadowDOM
           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: shinyak at chromium.org
                CC: tkent at chromium.org, morrita at google.com
            Blocks: 72352


node->shadowAncestorNode() returns node itself if node is not in ShadowDOM.
This might be sometimes useful, however it is very confusing sometimes.

It should return null if it is not in Shadow DOM, or we should have another non-confusing method.

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