This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Sorry if I'm wrong. I think the algorithm of olderShadowRoot of HTMLShadowElement should consider activeness. Let's consider the case a non-active shadow element is the first shadow instance, and active shadow element is the second shadow instance. The first shadow instance should return NULL and The second shadow instance should return the assigned ShadowRoot instead of NULL.
Good catch! http://dvcs.w3.org/hg/webcomponents/rev/5762cc462fc9