[Bug 22412] New: [Shadow]: Clarify the interaction with XML Namespace

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

            Bug ID: 22412
           Summary: [Shadow]: Clarify the interaction with XML Namespace
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: yutak@google.com
        QA Contact: public-webapps-bugzilla@w3.org
            Blocks: 14978

Consider the following code:

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="head">
</head>
<body>
<script><![CDATA[
var shadowRoot = document.getElementById('head').createShadowRoot();
console.log(shadowRoot.namespaceURI);  // What should be printed?

shadowRoot.innerHTML = "<title />";
console.log(shadowRoot.firstChild.namespaceURI);  // How about this one?

document.documentElement.setAttribute('xmlns', 'http://example.com/foobar');
console.log(shadowRoot.firstChild.namespaceURI);  // Does it change?
]]></script>
</body>
</html>

It is unclear from the specification whether XML namespace is derived
over host-shadow boundary. Probably this should be clarified.

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

Received on Thursday, 20 June 2013 02:21:12 UTC