RESOLVED FIXED 89073
Modify event re-targeting algorithm so that we can tell which distributed node is clicked.
https://bugs.webkit.org/show_bug.cgi?id=89073
Summary Modify event re-targeting algorithm so that we can tell which distributed nod...
Hayato Ito
Reported 2012-06-14 01:32:18 PDT
Please see the going discussion on the spec side: https://www.w3.org/Bugs/Public/show_bug.cgi?id=17090 We have to adopt a new algorithm once we agree on the new behavior of event re-targeting on the Shadow DOM spec.
Attachments
WIP. concept of a new re-targeting algorithm (15.11 KB, patch)
2012-06-14 01:55 PDT, Hayato Ito
no flags
target can now be a distributed node (16.18 KB, patch)
2012-06-19 14:59 PDT, Hayato Ito
no flags
minor update on changelog (15.97 KB, patch)
2012-06-21 09:46 PDT, Hayato Ito
no flags
minor update on changelog (15.97 KB, patch)
2012-06-21 09:49 PDT, Hayato Ito
no flags
Patch for landing (15.97 KB, patch)
2012-06-21 10:00 PDT, Hayato Ito
no flags
Patch for landing (15.98 KB, patch)
2012-06-21 10:02 PDT, Hayato Ito
no flags
Patch for landing (16.09 KB, patch)
2012-06-22 09:55 PDT, Hayato Ito
no flags
Hayato Ito
Comment 1 2012-06-14 01:55:47 PDT
Created attachment 147520 [details] WIP. concept of a new re-targeting algorithm
Dimitri Glazkov (Google)
Comment 2 2012-06-14 09:26:52 PDT
Comment on attachment 147520 [details] WIP. concept of a new re-targeting algorithm I haven't dug into this deeply, but from the first glance, this looks great!
Hayato Ito
Comment 3 2012-06-19 14:59:32 PDT
Created attachment 148436 [details] target can now be a distributed node
Hayato Ito
Comment 4 2012-06-21 09:46:40 PDT
Created attachment 148820 [details] minor update on changelog
Hayato Ito
Comment 5 2012-06-21 09:49:58 PDT
Created attachment 148821 [details] minor update on changelog
Hayato Ito
Comment 6 2012-06-21 09:57:03 PDT
Since it got r+ for https://bugs.webkit.org/attachment.cgi?id=148820&action=review, let me land this manually.
Hayato Ito
Comment 7 2012-06-21 10:00:10 PDT
Created attachment 148825 [details] Patch for landing
Hayato Ito
Comment 8 2012-06-21 10:02:44 PDT
Created attachment 148826 [details] Patch for landing
WebKit Review Bot
Comment 9 2012-06-21 11:05:44 PDT
Comment on attachment 148826 [details] Patch for landing Clearing flags on attachment: 148826 Committed r120945: <http://trac.webkit.org/changeset/120945>
WebKit Review Bot
Comment 10 2012-06-21 11:05:51 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 11 2012-06-21 16:05:52 PDT
Re-opened since this is blocked by 89703
Kenneth Russell
Comment 12 2012-06-21 16:56:41 PDT
*** Bug 89708 has been marked as a duplicate of this bug. ***
Hayato Ito
Comment 13 2012-06-21 17:09:13 PDT
I've investigated the crash of editing/shadow/breaking-editing-boundaries.html. It seems this re-targeting patch is innocent. This patch just revealed a bogus DOM structure that was caused in editing/shadow/breaking-editing-boundaries.html. So it seems an editing bug. Let me investigate further.
Hayato Ito
Comment 14 2012-06-21 17:22:26 PDT
It seems parentTreeScope() returns an unexpected node. And I found this bug. https://bugs.webkit.org/show_bug.cgi?id=89172 That's the root cause. (In reply to comment #13) > I've investigated the crash of editing/shadow/breaking-editing-boundaries.html. > > It seems this re-targeting patch is innocent. This patch just revealed a bogus DOM structure that was caused in editing/shadow/breaking-editing-boundaries.html. > > So it seems an editing bug. Let me investigate further.
Hayato Ito
Comment 15 2012-06-21 17:27:47 PDT
I'll re-land this patch once bug 89172 is resolved. (In reply to comment #14) > It seems parentTreeScope() returns an unexpected node. > And I found this bug. https://bugs.webkit.org/show_bug.cgi?id=89172 > That's the root cause. > > (In reply to comment #13) > > I've investigated the crash of editing/shadow/breaking-editing-boundaries.html. > > > > It seems this re-targeting patch is innocent. This patch just revealed a bogus DOM structure that was caused in editing/shadow/breaking-editing-boundaries.html. > > > > So it seems an editing bug. Let me investigate further.
Hayato Ito
Comment 16 2012-06-22 09:55:47 PDT
Created attachment 149045 [details] Patch for landing
Hayato Ito
Comment 17 2012-06-22 09:57:21 PDT
Let me re-land this patch since bug 89172 was resolved and confirmed that editing/shadow/breaking-editing-boundaries.html does not crash anymore.
WebKit Review Bot
Comment 18 2012-06-22 11:10:21 PDT
Comment on attachment 149045 [details] Patch for landing Clearing flags on attachment: 149045 Committed r121040: <http://trac.webkit.org/changeset/121040>
WebKit Review Bot
Comment 19 2012-06-22 11:10:41 PDT
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.