[Bug 23887] [Shadow] Change the order of insertion points which are involved in a re-distribution in event path

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23887

--- Comment #192 from Koji Ishii <kojiishi@gmail.com> ---
Finished analyzing the test results, here are two differences from
current/candidates algorithms.

1. As Hayato explained in the comment #191, older shadow roots are moved from
"before the IP they're distributed to" to "after younger shadow roots".

D,C,M,L,R,Q,P,O,N,K,J,I,H,G,U,T,S,F,E,X,W,V,B,A
D,C,M,L,R,Q,P,O,N,K,J,I,H,G,U,T,S,F,X,W,V,E,B,A

2. Older shadow roots that were not in the path are now included. Two examples
below, when event target is "div <-- target", SR-OLDEST and SR-OLDER are now
included.

HOST
  div <-- target
  SR-OLDEST
    div
  SR-MIDDLE
    content
  SR-YOUNGEST
    shadow

HOST
  SR-OLDER
  SR-YOUNGER
    shadow
    div <-- target

I'm fine with either algorithm; both makes each own logical sense, do not break
the principal rules, and technically correct (2nd diff above needs confirmation
from Hayato though.)

I think the most valuable thing at this point is to stabilize the algorithm and
make implementations interoperable. Hope the WG resolves this issue this week.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 21 April 2015 05:04:42 UTC