We would like to know the age of ShadowRoot. I mean, the youngest is 0, the older shadow root of the youngest shadow root is 1.
Created attachment 157113 [details] Patch
Comment on attachment 157113 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=157113&action=review > Source/WebCore/dom/Node.cpp:2135 > + for (ShadowRoot* shadowRoot = oldestShadowRootFor(toShadowRoot(node)->host()); shadowRoot && shadowRoot != node; shadowRoot = shadowRoot->youngerShadowRoot()) In this patch, the oldest shadow root is 0 and its younger shadow root is 1. Right? I'm OK if it's consistent though.
Comment on attachment 157113 [details] Patch Clearing flags on attachment: 157113 Committed r125000: <http://trac.webkit.org/changeset/125000>
All reviewed patches have been landed. Closing bug.