[Bug 20268] New: [Shadow]: HTMLShadowElement.olderShadowRoot might return a wrong value unintentionally.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20268

            Bug ID: 20268
           Summary: [Shadow]: HTMLShadowElement.olderShadowRoot might
                    return a wrong value unintentionally.
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: shinyak@chromium.org
        QA Contact: public-webapps-bugzilla@w3.org
            Blocks: 14978

Sorry if I'm wrong.

I think the algorithm of olderShadowRoot of HTMLShadowElement should consider
activeness.

Let's consider the case a non-active shadow element is the first shadow
instance, and active shadow element is the second shadow instance. The first
shadow instance should return NULL and The second shadow instance should return
the assigned ShadowRoot instead of NULL.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 6 December 2012 11:12:28 UTC