Bug 74267

Summary: Removing a shadowRoot doesn’t recover the rendering of light children.
Product: WebKit Reporter: Hayato Ito <hayato>
Component: DOMAssignee: Hayato Ito <hayato>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, dominicc, jchaffraix, morrita, rolandsteiner
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 72352    
Attachments:
Description Flags
attach light children after removing a shadow root rniwa: review+

Hayato Ito
Reported 2011-12-11 23:46:04 PST
<h1>Hello!</h1> var h = document.querySelector('h1'); var s = window.internals.ensureShadowRoot(h); s.appendChild(document.createTextNode('Goodbye!')); window.internals.removeShadowRoot(h); I would expect to see Hello! but instead I see Goodbye!
Attachments
attach light children after removing a shadow root (4.10 KB, patch)
2011-12-11 23:54 PST, Hayato Ito
rniwa: review+
Hayato Ito
Comment 1 2011-12-11 23:54:15 PST
Created attachment 118745 [details] attach light children after removing a shadow root
Ryosuke Niwa
Comment 2 2012-01-30 12:08:09 PST
Comment on attachment 118745 [details] attach light children after removing a shadow root Looks sane to me.
Hayato Ito
Comment 3 2012-01-30 22:38:02 PST
Note You need to log in before you can comment on or make changes to this bug.