[Webkit-unassigned] [Bug 82021] New: Position and Range should be able to have ShadowRoot as a container.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 22 23:21:16 PDT 2012


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

           Summary: Position and Range should be able to have ShadowRoot
                    as a container.
           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


Currently Position and Range are not allowed to have ShadowRoot as a container.
However, this makes it difficult to point direct children of ShadowRoot. Position and Range try pointing direct children of ShadowRoot, but since it's not allowed, they become null. Since a lot of code does not expect Position and Range become null,  a lot of crashes are caused when doing something on elements in shadow subtrees.

We should try to allow Position and Range to have ShadowRoot as a container.
Note that we should be careful not to expose a ShadowRoot in JS.

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