Closed Bug 1172680 Opened 9 years ago Closed 8 years ago

shadowRoot.cloneNode() creates a DocumentFragment object, not ShadowRoot

Categories

(Core :: DOM: Core & HTML, defect)

36 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1176757

People

(Reporter: smaug, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [good first bug][lang=c++])

      No description provided.
Whiteboard: [good first bug][lang=c++]
Hey, I'd love to have a go at this.

I shall dig into the source tonight and see what I can come up with.  Pointers are obviously appreciated.

Sam
Actually, it seems the current version of the spec says:

"Invoking the cloneNode() method on a ShadowRoot instance must always throw a DATA_CLONE_ERR exception.". [1]

Maybe I'll wait for the spec to settle a little, but I'll have a go at implementing what the spec currently says as a familiarity exercise.

[1] http://w3c.github.io/webcomponents/spec/shadow/
If this has been obsoleted should its status be changed from NEW?
Since this has already been addressed in bug 1176757, closing as a duplicate of that bug.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.