RESOLVED FIXED 80405
[Shadow DOM] Extends path notation used in test utility function so that we can specify arbitrary ShadowRoot in Shadow Tree.
https://bugs.webkit.org/show_bug.cgi?id=80405
Summary [Shadow DOM] Extends path notation used in test utility function so that we c...
Hayato Ito
Reported 2012-03-06 04:37:11 PST
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.
Attachments
support multiple shadowroots notation (13.35 KB, patch)
2012-03-06 04:42 PST, Hayato Ito
no flags
Patch for landing (13.45 KB, patch)
2012-03-06 17:53 PST, Hayato Ito
no flags
Patch for landing (13.43 KB, patch)
2012-03-06 18:26 PST, Hayato Ito
no flags
Hayato Ito
Comment 1 2012-03-06 04:42:12 PST
Created attachment 130353 [details] support multiple shadowroots notation
Dimitri Glazkov (Google)
Comment 2 2012-03-06 08:57:09 PST
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?
Hayato Ito
Comment 3 2012-03-06 17:38:05 PST
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.
Hayato Ito
Comment 4 2012-03-06 17:53:57 PST
Created attachment 130501 [details] Patch for landing
Hayato Ito
Comment 5 2012-03-06 18:05:17 PST
Let me merge this patch with http://trac.webkit.org/changeset/109967.
Hayato Ito
Comment 6 2012-03-06 18:26:28 PST
Created attachment 130510 [details] Patch for landing
WebKit Review Bot
Comment 7 2012-03-06 23:19:24 PST
Comment on attachment 130510 [details] Patch for landing Clearing flags on attachment: 130510 Committed r110022: <http://trac.webkit.org/changeset/110022>
WebKit Review Bot
Comment 8 2012-03-06 23:19:28 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.