Bug 88501
Summary: | [Shadow] Cut and Paste will lose Shadow DOM | ||
---|---|---|---|
Product: | WebKit | Reporter: | Shinya Kawanaka <shinyak> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | adele, darin, dglazkov, enrica, hayato, rniwa |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 82697 |
Shinya Kawanaka
If we cut some elements having Shadow DOM then paste it, Shadow DOM is gone.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Hayato Ito
This seems a tough issue. We don't have any serialization form for shadow dom subtree.
Ryosuke Niwa
Unfortunately we can't really fix this bug because there's no way to serialize shadow DOM. I'd say won't fix until we figure out a way to serialize shadow DOM.
Dimitri Glazkov (Google)
A Shadow DOM subtree is just like event listeners, a purely DOM concept. Just like you can't serialize the listeners, you can't (and shouldn't) serialize shadow DOM.
I vote for a WONTFIX.
Ryosuke Niwa
(In reply to comment #3)
> A Shadow DOM subtree is just like event listeners, a purely DOM concept. Just like you can't serialize the listeners, you can't (and shouldn't) serialize shadow DOM.
>
> I vote for a WONTFIX.
Sounds good to me.