Some layout tests (in fast/dom/shadow) use a 'getElementByIdInShadow(path)' utility function, which does not support getting an element in arbitrary ShadowRoot. We can get an element only from the youngest ShadowRoot by the current path notation. It'd be nice to get an element from arbitrary ShadowRoot in ShadowTree, extending path notation.
Created attachment 130353 [details] support multiple shadowroots notation
Comment on attachment 130353 [details] support multiple shadowroots notation View in context: https://bugs.webkit.org/attachment.cgi?id=130353&action=review > LayoutTests/fast/dom/shadow/resources/shadow-dom.js:38 > +function getElementInShadowTree(path) ShadowTreeStack maybe?
Thank you for the review. (In reply to comment #2) > (From update of attachment 130353 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=130353&action=review > > > LayoutTests/fast/dom/shadow/resources/shadow-dom.js:38 > > +function getElementInShadowTree(path) > > ShadowTreeStack maybe? Okay. Let me rename that. I'll land this patch after renaming.
Created attachment 130501 [details] Patch for landing
Let me merge this patch with http://trac.webkit.org/changeset/109967.
Created attachment 130510 [details] Patch for landing
Comment on attachment 130510 [details] Patch for landing Clearing flags on attachment: 130510 Committed r110022: <http://trac.webkit.org/changeset/110022>
All reviewed patches have been landed. Closing bug.