[Webkit-unassigned] [Bug 113362] New: [Custom Elements]: document.register doesn't upgrade nodes in document above the registering script tag
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 26 19:48:10 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=113362
Summary: [Custom Elements]: document.register doesn't upgrade
nodes in document above the registering script tag
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: sjmiles at chromium.org
CC: dglazkov at chromium.org, morrita at google.com
Created an attachment (id=195209)
--> (https://bugs.webkit.org/attachment.cgi?id=195209&action=review)
Test document for above
Given this construction:
<x-foo></x-foo>
<script>
document.register('x-foo', ...);
</script>
<x-foo></x-foo>
Only the second x-foo gets upgraded.
The spec says that after document.register,
9. For DOCUMENT tree and every shadow DOM subtree enclosed by DOCUMENT tree:
1. Let TREE be this tree
2. Run element upgrade algorithm with TREE and DEFINITION as arguments
I *think* that means both x-foos above should be upgraded.
--
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