Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: LayoutTests/fast/events/shadow-boundary-crossing.html

Issue 6914018: Merge 84587 - 2011-04-21 Dimitri Glazkov <dglazkov@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/fast/events/shadow-boundary-crossing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/shadow-boundary-crossing.html
===================================================================
--- LayoutTests/fast/events/shadow-boundary-crossing.html (revision 85612)
+++ LayoutTests/fast/events/shadow-boundary-crossing.html (working copy)
@@ -114,6 +114,24 @@
document.body.removeEventListener('mouseout', countEventDispatch, false);
fileInput.parentNode.removeChild(fileInput);
},
+ mouseOverOnHost: function()
+ {
+ var count = 0;
+ var input = document.body.appendChild(document.createElement('input'));
+ var countEventDispatch = function()
+ {
+ count++;
+ }
+
+ moveOver(document.body);
+ input.addEventListener('mouseover', countEventDispatch, false);
+ moveOver(input);
+
+ log("The mouseover/mouseout event on a shadow subtree host should propagate out of the shadow DOM", count == 1);
+
+ document.body.removeEventListener('mouseover', countEventDispatch, false);
+ input.parentNode.removeChild(input);
+ },
labelSyntheticClick: function()
{
var count = 0;
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/fast/events/shadow-boundary-crossing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698