<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[184015] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/184015">184015</a></dd>
<dt>Author</dt> <dd>mrobinson@webkit.org</dd>
<dt>Date</dt> <dd>2015-05-08 14:21:32 -0700 (Fri, 08 May 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>[GTK] Some tests fail because they do not assume the popup menu captures click events
https://bugs.webkit.org/show_bug.cgi?id=40601

Reviewed by Carlos Garcia Campos.

Tools:

Popdown all attached menus when moving between tests and between each new
event sent to the WebView. This prevents context and popup menus from eating
events.

* WebKitTestRunner/PlatformWebView.h: Added a helper method to do menu popdown.
* WebKitTestRunner/TestController.cpp: Add a specialization of these methods for GTK+.
* WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
(WTR::dispatchEvent): Popdown all menus between dispatching events.
(WTR::EventSenderProxy::replaySavedEvents): Pass the view when dispatching events.
(WTR::EventSenderProxy::sendOrQueueEvent): Pass the view when dispatching events.
* WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
(WTR::PlatformWebView::hideAllPopupMenus): Added this helper.
* WebKitTestRunner/gtk/TestControllerGtk.cpp:
(WTR::TestController::platformConfigureViewForTest): Added this stub, which is no
longer in the platform-independent file.
(WTR::TestController::platformResetPreferencesToConsistentValues): Popdown menus.

LayoutTests:

* platform/gtk/TestExpectations: Unskip tests that are passing now
and classify remaining failures.
* platform/gtk/editing/selection/5354455-2-expected.txt: Rebaselined.
* platform/gtk/editing/selection/doubleclick-crash-expected.png: Rebaseline.
* platform/gtk/editing/selection/doubleclick-crash-expected.txt: Rebaseline.
* platform/gtk/editing/selection/user-select-all-image-with-single-click-expected.txt: Rebaselined.
* platform/gtk/editing/selection/user-select-all-with-single-click-expected.txt: Rebaselined.
* platform/gtk/fast/events/mouseup-from-button2-expected.txt: Rebaseline.
* platform/gtk/fast/events/shadow-event-path-2-expected.txt: Rebaseline.
* platform/gtk/fast/events/shadow-event-path-expected.txt: Rebaseline.
* platform/gtk/fast/events/updateLayoutForHitTest-expected.txt: Rebaselined.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsplatformgtkTestExpectations">trunk/LayoutTests/platform/gtk/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformgtkeditingselection53544552expectedtxt">trunk/LayoutTests/platform/gtk/editing/selection/5354455-2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkeditingselectiondoubleclickcrashexpectedpng">trunk/LayoutTests/platform/gtk/editing/selection/doubleclick-crash-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformgtkeditingselectionuserselectallimagewithsingleclickexpectedtxt">trunk/LayoutTests/platform/gtk/editing/selection/user-select-all-image-with-single-click-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkeditingselectionuserselectallwithsingleclickexpectedtxt">trunk/LayoutTests/platform/gtk/editing/selection/user-select-all-with-single-click-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkfasteventsupdateLayoutForHitTestexpectedtxt">trunk/LayoutTests/platform/gtk/fast/events/updateLayoutForHitTest-expected.txt</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsWebKitTestRunnerEventSenderProxyh">trunk/Tools/WebKitTestRunner/EventSenderProxy.h</a></li>
<li><a href="#trunkToolsWebKitTestRunnerPlatformWebViewh">trunk/Tools/WebKitTestRunner/PlatformWebView.h</a></li>
<li><a href="#trunkToolsWebKitTestRunnerTestControllercpp">trunk/Tools/WebKitTestRunner/TestController.cpp</a></li>
<li><a href="#trunkToolsWebKitTestRunnergtkEventSenderProxyGtkcpp">trunk/Tools/WebKitTestRunner/gtk/EventSenderProxyGtk.cpp</a></li>
<li><a href="#trunkToolsWebKitTestRunnergtkPlatformWebViewGtkcpp">trunk/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp</a></li>
<li><a href="#trunkToolsWebKitTestRunnergtkTestControllerGtkcpp">trunk/Tools/WebKitTestRunner/gtk/TestControllerGtk.cpp</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsplatformgtkeditingselectiondoubleclickcrashexpectedtxt">trunk/LayoutTests/platform/gtk/editing/selection/doubleclick-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkfasteventsmouseupfrombutton2expectedtxt">trunk/LayoutTests/platform/gtk/fast/events/mouseup-from-button2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkfasteventsshadoweventpath2expectedtxt">trunk/LayoutTests/platform/gtk/fast/events/shadow-event-path-2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkfasteventsshadoweventpathexpectedtxt">trunk/LayoutTests/platform/gtk/fast/events/shadow-event-path-expected.txt</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (184014 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2015-05-08 20:57:49 UTC (rev 184014)
+++ trunk/LayoutTests/ChangeLog        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -1,3 +1,23 @@
</span><ins>+2015-05-08  Martin Robinson  &lt;mrobinson@igalia.com&gt;
+
+        [GTK] Some tests fail because they do not assume the popup menu captures click events
+        https://bugs.webkit.org/show_bug.cgi?id=40601
+
+        Reviewed by Carlos Garcia Campos.
+
+        * platform/gtk/TestExpectations: Unskip tests that are passing now
+        and classify remaining failures.
+        * platform/gtk/editing/selection/5354455-2-expected.txt: Rebaselined.
+        * platform/gtk/editing/selection/doubleclick-crash-expected.png: Rebaseline.
+        * platform/gtk/editing/selection/doubleclick-crash-expected.txt: Rebaseline.
+        * platform/gtk/editing/selection/user-select-all-image-with-single-click-expected.txt: Rebaselined.
+        * platform/gtk/editing/selection/user-select-all-with-single-click-expected.txt: Rebaselined.
+        * platform/gtk/fast/events/mouseup-from-button2-expected.txt: Rebaseline.
+        * platform/gtk/fast/events/shadow-event-path-2-expected.txt: Rebaseline.
+        * platform/gtk/fast/events/shadow-event-path-expected.txt: Rebaseline.
+        * platform/gtk/fast/events/updateLayoutForHitTest-expected.txt: Rebaselined.
+
+
</ins><span class="cx"> 2015-05-08  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [WK2] Scroll-snap tests timeout intermittently for overflow scroll cases
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/TestExpectations (184014 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/TestExpectations        2015-05-08 20:57:49 UTC (rev 184014)
+++ trunk/LayoutTests/platform/gtk/TestExpectations        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -711,6 +711,7 @@
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/129050 fast/sub-pixel/compositing-layers-on-subpixel-position.html [ ImageOnlyFailure Crash Pass ]
</span><span class="cx"> 
</span><ins>+webkit.org/b/144771 editing/selection/selection-invalid-offset.html [ Crash ]
</ins><span class="cx"> 
</span><span class="cx"> #////////////////////////////////////////////////////////////////////////////////////////
</span><span class="cx"> # End of Crashing tests
</span><span class="lines">@@ -1238,8 +1239,6 @@
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/108925 http/tests/media/video-play-stall.html [ Failure Timeout ]
</span><span class="cx"> 
</span><del>-webkit.org/b/114789 fast/events/page-visibility-transition-test.html [ Timeout ]
-
</del><span class="cx"> webkit.org/b/116956 fast/events/event-view-toString.html [ Timeout ]
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/116957 media/track/track-automatic-subtitles.html [ Timeout ]
</span><span class="lines">@@ -1441,8 +1440,15 @@
</span><span class="cx"> webkit.org/b/63706 plugins/mouse-events.html [ Failure ]
</span><span class="cx"> webkit.org/b/63706 editing/pasteboard/cleanup-on-move.html [ Failure ]
</span><span class="cx"> webkit.org/b/63706 editing/pasteboard/drag-list-item.html [ Failure ]
</span><ins>+webkit.org/b/63706 fast/events/ondragenter.html [ Failure ]
+webkit.org/b/63706 fast/events/drag-and-drop-autoscroll-inner-frame.html [ Timeout ]
+webkit.org/b/63706 fast/events/drag-customData.html  [ Timeout ]
</ins><span class="cx"> 
</span><del>-# WebKit2 needs testRunner.setEditingBehaviour and other issues.
</del><ins>+# Need support for internals.settings.setDeviceSupportsMouse
+fast/events/touch/scroll-without-mouse-lacks-mousemove-events.html
+
+# WebKit2 testRunner.setEditingBehaviour appears broken sometimes.
+webkit.org/b/144764 editing/selection/move-by-word-visually-mac.html [ Failure ]
</ins><span class="cx"> Bug(GTK) editing/selection/extend-after-mouse-selection.html [ Failure ]
</span><span class="cx"> 
</span><span class="cx"> # WebKit2 needs textInputController.selectedRange
</span><span class="lines">@@ -1464,10 +1470,6 @@
</span><span class="cx"> webkit.org/b/42194 fast/events/5056619.html [ Failure ]
</span><span class="cx"> webkit.org/b/42194 http/tests/security/drag-drop-same-unique-origin.html [ Failure ]
</span><span class="cx"> 
</span><del>-# Context menu problems.
-webkit.org/b/120401 fast/events [ Skip ]
-webkit.org/b/120401 editing/selection [ Skip ]
-
</del><span class="cx"> webkit.org/b/106340 accessibility/img-fallsback-to-title.html [ Failure ]
</span><span class="cx"> 
</span><span class="cx"> # svg/ failures
</span><span class="lines">@@ -1685,11 +1687,6 @@
</span><span class="cx"> Bug(GTK) fast/forms/range/slider-mouse-events.html [ Failure ]
</span><span class="cx"> Bug(GTK) fast/forms/range/slider-zoomed.html [ Failure ]
</span><span class="cx"> 
</span><del>-# Tests failing because the context menu is grabbing mouse events.
-webkit.org/b/40601 fast/events/mouse-click-events.html [ Failure ]
-webkit.org/b/40601 fast/events/mouseup-from-button2.html [ Failure ]
-webkit.org/b/40601 fast/events/right-click-focus.html [ Failure ]
-
</del><span class="cx"> # Tests that fail across all platforms.
</span><span class="cx"> # Even though some platforms don't skip these tests, there are platform-specific
</span><span class="cx"> # results generated that make these tests 'pass'.
</span><span class="lines">@@ -1835,9 +1832,6 @@
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/98950 transitions/blendmode-transitions.html [ Failure ]
</span><span class="cx"> 
</span><del>-webkit.org/b/100424 editing/selection/user-select-all-selection.html [ Failure ]
-webkit.org/b/100424 editing/selection/user-select-all-with-shift.html [ Failure ]
-
</del><span class="cx"> webkit.org/b/100846 inspector-protocol/debugger/pause-dedicated-worker.html [ Skip ]
</span><span class="cx"> webkit.org/b/100846 inspector-protocol/debugger/terminate-dedicated-worker-while-paused.html [ Skip ]
</span><span class="cx"> 
</span><span class="lines">@@ -2328,6 +2322,21 @@
</span><span class="cx"> webkit.org/b/144690 editing/spelling/spelling-double-clicked-word.html [ Failure ]
</span><span class="cx"> webkit.org/b/144690 editing/spelling/delete-into-misspelled-word.html [ Timeout Pass ]
</span><span class="cx"> 
</span><ins>+# Touch events not working
+webkit.org/b/144765 fast/events/event-attribute.html  [ Failure ]
+webkit.org/b/144765 fast/events/touch/touch-slider.html [ Failure ]
+webkit.org/b/144765 fast/events/touch/touch-inside-iframe-scrolled.html [ Failure ]
+webkit.org/b/144765 fast/events/touch/touch-slider-no-js-touch-listener.html [ Failure ]
+webkit.org/b/144765 fast/events/touch/touch-inside-iframe.html [ Timeout ]
+
+# Need support for adjusting page visibility in the test harness.
+webkit.org/b/114789 fast/events/page-visibility-iframe-delete-test.html [ Timeout ]
+webkit.org/b/114789 fast/events/page-visibility-iframe-move-test.html [ Timeout ]
+webkit.org/b/114789 fast/events/page-visibility-iframe-propagation-test.html [ Timeout ]
+webkit.org/b/114789 fast/events/page-visibility-transition-test.html [ Timeout ]
+
+webkit.org/b/144763 fast/events/scroll-in-scaled-page-with-overflow-hidden.html
+
</ins><span class="cx"> #////////////////////////////////////////////////////////////////////////////////////////
</span><span class="cx"> # End of Tests failing
</span><span class="cx"> #////////////////////////////////////////////////////////////////////////////////////////
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkeditingselection53544552expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/editing/selection/5354455-2-expected.txt (184014 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/editing/selection/5354455-2-expected.txt        2015-05-08 20:57:49 UTC (rev 184014)
+++ trunk/LayoutTests/platform/gtk/editing/selection/5354455-2-expected.txt        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -20,4 +20,4 @@
</span><span class="cx">         text run at (0,34) width 577: &quot;click on the empty space outside and to the right of the black border, the selection should be&quot;
</span><span class="cx">         text run at (0,51) width 59: &quot;removed.&quot;
</span><span class="cx">       RenderText {#text} at (0,0) size 0x0
</span><del>-caret: position 118 of child 2 {#text} of body
</del><ins>+caret: position 0 of child 0 {#text} of child 1 {H1} of body
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformgtkeditingselectiondoubleclickcrashexpectedpng"></a>
<div class="binary"><h4>Modified: trunk/LayoutTests/platform/gtk/editing/selection/doubleclick-crash-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkeditingselectiondoubleclickcrashexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/gtk/editing/selection/doubleclick-crash-expected.txt (0 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/editing/selection/doubleclick-crash-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/gtk/editing/selection/doubleclick-crash-expected.txt        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text &gt; PRE &gt; BODY &gt; HTML &gt; #document to 5 of #text &gt; PRE &gt; BODY &gt; HTML &gt; #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text &gt; PRE &gt; BODY &gt; HTML &gt; #document to 5 of #text &gt; PRE &gt; BODY &gt; HTML &gt; #document toDOMRange:range from 5 of #text &gt; PRE &gt; BODY &gt; HTML &gt; #document to 6 of #text &gt; PRE &gt; BODY &gt; HTML &gt; #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (0,0) size 800x587
+      RenderBlock {PRE} at (0,0) size 800x75
+        RenderText {#text} at (0,0) size 40x60
+          text run at (0,0) width 40: &quot;Test.&quot;
+          text run at (40,0) width 0: &quot; &quot;
+          text run at (0,15) width 40: &quot;Test.&quot;
+          text run at (40,15) width 0: &quot; &quot;
+          text run at (0,30) width 0: &quot; &quot;
+          text run at (0,45) width 0: &quot; &quot;
+        RenderText {#text} at (0,60) size 0x15
+          text run at (0,60) width 0: &quot; &quot;
+selection start: position 5 of child 0 {#text} of child 1 {PRE} of body
+selection end:   position 6 of child 0 {#text} of child 1 {PRE} of body
</ins><span class="cx">Property changes on: trunk/LayoutTests/platform/gtk/editing/selection/doubleclick-crash-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<a id="trunkLayoutTestsplatformgtkeditingselectionuserselectallimagewithsingleclickexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/editing/selection/user-select-all-image-with-single-click-expected.txt (184014 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/editing/selection/user-select-all-image-with-single-click-expected.txt        2015-05-08 20:57:49 UTC (rev 184014)
+++ trunk/LayoutTests/platform/gtk/editing/selection/user-select-all-image-with-single-click-expected.txt        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -3,5 +3,7 @@
</span><span class="cx"> To manually test, single click on the image below. WebKit should select the entire bordered region.
</span><span class="cx"> | &lt;div&gt;
</span><span class="cx"> |   class=&quot;select-all&quot;
</span><ins>+|   &lt;#selection-anchor&gt;
</ins><span class="cx"> |   &lt;img&gt;
</span><span class="cx"> |     src=&quot;../resources/abe.png&quot;
</span><ins>+|   &lt;#selection-focus&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformgtkeditingselectionuserselectallwithsingleclickexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/editing/selection/user-select-all-with-single-click-expected.txt (184014 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/editing/selection/user-select-all-with-single-click-expected.txt        2015-05-08 20:57:49 UTC (rev 184014)
+++ trunk/LayoutTests/platform/gtk/editing/selection/user-select-all-with-single-click-expected.txt        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> To manually test, single click on &quot;click here&quot; below. WebKit should select the entire bordered region.
</span><span class="cx"> | &lt;div&gt;
</span><span class="cx"> |   class=&quot;select-all&quot;
</span><del>-|   &quot;C&lt;#selection-caret&gt;lick here&quot;
</del><ins>+|   &quot;&lt;#selection-anchor&gt;Click here&lt;#selection-focus&gt;&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformgtkfasteventsmouseupfrombutton2expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/gtk/fast/events/mouseup-from-button2-expected.txt (0 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/fast/events/mouseup-from-button2-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/gtk/fast/events/mouseup-from-button2-expected.txt        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+This test verifies that a right mousebutton click generates a mousedown, context and mouseup event.
+
+If the test passes, you'll see a PASS message below.
+
+To run this test in Safari:
+
+Right mouse down inside the box.
+Right mouse up.
+box
+
+type: mousedown, button: 0, 
+type: mouseup, button: 0, 
+type: click, button: 0, 
+type: mousedown, button: 2, 
+type: contextmenu, button: 2, 
+type: mouseup, button: 2, 
+type: mousedown, button: 2, 
+type: contextmenu, button: 2, 
</ins><span class="cx">Property changes on: trunk/LayoutTests/platform/gtk/fast/events/mouseup-from-button2-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<a id="trunkLayoutTestsplatformgtkfasteventsshadoweventpath2expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/gtk/fast/events/shadow-event-path-2-expected.txt (0 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/fast/events/shadow-event-path-2-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/gtk/fast/events/shadow-event-path-2-expected.txt        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -0,0 +1,1274 @@
</span><ins>+This test records target and relatedTarget at each element while dispatching a mouse click event at an input element.
+
+
+Content:&lt;div id=&quot;detailsContainer&quot;&gt;&lt;input id=&quot;target&quot; type=&quot;file&quot;&gt;&lt;/div&gt;
+
+mouseover@html
+    target:html
+    relatedTarget:null
+
+mouseover@document
+    target:html
+    relatedTarget:null
+
+mouseover@window
+    target:html
+    relatedTarget:null
+
+mouseenter@html
+    target:html
+    relatedTarget:null
+
+mousemove@html
+    target:html
+    relatedTarget:null
+
+mousemove@document
+    target:html
+    relatedTarget:null
+
+mousemove@window
+    target:html
+    relatedTarget:null
+
+mouseout@html
+    target:html
+    relatedTarget:input#target
+
+mouseout@document
+    target:html
+    relatedTarget:input#target
+
+mouseout@window
+    target:html
+    relatedTarget:input#target
+
+mouseover@input#target
+    target:input#target
+    relatedTarget:html
+
+mouseover@div#detailsContainer
+    target:input#target
+    relatedTarget:html
+
+mouseover@body
+    target:input#target
+    relatedTarget:html
+
+mouseover@html
+    target:input#target
+    relatedTarget:html
+
+mouseover@document
+    target:input#target
+    relatedTarget:html
+
+mouseover@window
+    target:input#target
+    relatedTarget:html
+
+mouseenter@input#target
+    target:input#target
+    relatedTarget:html
+
+mouseenter@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:html
+
+mouseenter@body
+    target:body
+    relatedTarget:html
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mouseout@input#target
+    target:input#target
+    relatedTarget:div#detailsContainer
+
+mouseout@div#detailsContainer
+    target:input#target
+    relatedTarget:div#detailsContainer
+
+mouseout@body
+    target:input#target
+    relatedTarget:div#detailsContainer
+
+mouseout@html
+    target:input#target
+    relatedTarget:div#detailsContainer
+
+mouseout@document
+    target:input#target
+    relatedTarget:div#detailsContainer
+
+mouseout@window
+    target:input#target
+    relatedTarget:div#detailsContainer
+
+mouseleave@input#target
+    target:input#target
+    relatedTarget:div#detailsContainer
+
+mouseover@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:input#target
+
+mouseover@body
+    target:div#detailsContainer
+    relatedTarget:input#target
+
+mouseover@html
+    target:div#detailsContainer
+    relatedTarget:input#target
+
+mouseover@document
+    target:div#detailsContainer
+    relatedTarget:input#target
+
+mouseover@window
+    target:div#detailsContainer
+    relatedTarget:input#target
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@body
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@html
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@document
+    target:div#detailsContainer
+    relatedTarget:null
+
+mousemove@window
+    target:div#detailsContainer
+    relatedTarget:null
+
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/platform/gtk/fast/events/shadow-event-path-2-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<a id="trunkLayoutTestsplatformgtkfasteventsshadoweventpathexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/gtk/fast/events/shadow-event-path-expected.txt (0 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/fast/events/shadow-event-path-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/gtk/fast/events/shadow-event-path-expected.txt        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -0,0 +1,306 @@
</span><ins>+This test records target and relatedTarget at each element while dispatching a mouse click event at an input element.
+
+
+Content:&lt;div id=&quot;detailsContainer&quot;&gt;&lt;details&gt;&lt;summary&gt;&lt;div id=&quot;divInsideSummary&quot;&gt;&lt;input id=&quot;target&quot; type=&quot;text&quot; size=&quot;10&quot;&gt;&lt;/div&gt;&lt;/summary&gt;&lt;/details&gt;&lt;/div&gt;
+
+mouseover@input#target
+    target:input#target
+    relatedTarget:null
+
+mouseover@div#divInsideSummary
+    target:input#target
+    relatedTarget:null
+
+mouseover@summary
+    target:input#target
+    relatedTarget:null
+
+mouseover@details
+    target:input#target
+    relatedTarget:null
+
+mouseover@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mouseover@body
+    target:input#target
+    relatedTarget:null
+
+mouseover@html
+    target:input#target
+    relatedTarget:null
+
+mouseover@document
+    target:input#target
+    relatedTarget:null
+
+mouseover@window
+    target:input#target
+    relatedTarget:null
+
+mouseenter@input#target
+    target:input#target
+    relatedTarget:null
+
+mouseenter@div#divInsideSummary
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mouseenter@summary
+    target:summary
+    relatedTarget:null
+
+mouseenter@details
+    target:details
+    relatedTarget:null
+
+mouseenter@div#detailsContainer
+    target:div#detailsContainer
+    relatedTarget:null
+
+mouseenter@body
+    target:body
+    relatedTarget:null
+
+mouseenter@html
+    target:html
+    relatedTarget:null
+
+mousemove@input#target
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#divInsideSummary
+    target:input#target
+    relatedTarget:null
+
+mousemove@summary
+    target:input#target
+    relatedTarget:null
+
+mousemove@details
+    target:input#target
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:input#target
+    relatedTarget:null
+
+mousemove@body
+    target:input#target
+    relatedTarget:null
+
+mousemove@html
+    target:input#target
+    relatedTarget:null
+
+mousemove@document
+    target:input#target
+    relatedTarget:null
+
+mousemove@window
+    target:input#target
+    relatedTarget:null
+
+mouseout@input#target
+    target:input#target
+    relatedTarget:div#divInsideSummary
+
+mouseout@div#divInsideSummary
+    target:input#target
+    relatedTarget:div#divInsideSummary
+
+mouseout@summary
+    target:input#target
+    relatedTarget:div#divInsideSummary
+
+mouseout@details
+    target:input#target
+    relatedTarget:div#divInsideSummary
+
+mouseout@div#detailsContainer
+    target:input#target
+    relatedTarget:div#divInsideSummary
+
+mouseout@body
+    target:input#target
+    relatedTarget:div#divInsideSummary
+
+mouseout@html
+    target:input#target
+    relatedTarget:div#divInsideSummary
+
+mouseout@document
+    target:input#target
+    relatedTarget:div#divInsideSummary
+
+mouseout@window
+    target:input#target
+    relatedTarget:div#divInsideSummary
+
+mouseleave@input#target
+    target:input#target
+    relatedTarget:div#divInsideSummary
+
+mouseover@div#divInsideSummary
+    target:div#divInsideSummary
+    relatedTarget:input#target
+
+mouseover@summary
+    target:div#divInsideSummary
+    relatedTarget:input#target
+
+mouseover@details
+    target:div#divInsideSummary
+    relatedTarget:input#target
+
+mouseover@div#detailsContainer
+    target:div#divInsideSummary
+    relatedTarget:input#target
+
+mouseover@body
+    target:div#divInsideSummary
+    relatedTarget:input#target
+
+mouseover@html
+    target:div#divInsideSummary
+    relatedTarget:input#target
+
+mouseover@document
+    target:div#divInsideSummary
+    relatedTarget:input#target
+
+mouseover@window
+    target:div#divInsideSummary
+    relatedTarget:input#target
+
+mousemove@div#divInsideSummary
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousemove@summary
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousemove@details
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousemove@div#detailsContainer
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousemove@body
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousemove@html
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousemove@document
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousemove@window
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousedown@div#divInsideSummary
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousedown@summary
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousedown@details
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousedown@div#detailsContainer
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousedown@body
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousedown@html
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousedown@document
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mousedown@window
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mouseup@div#divInsideSummary
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mouseup@summary
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mouseup@details
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mouseup@div#detailsContainer
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mouseup@body
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mouseup@html
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mouseup@document
+    target:div#divInsideSummary
+    relatedTarget:null
+
+mouseup@window
+    target:div#divInsideSummary
+    relatedTarget:null
+
+click@div#divInsideSummary
+    target:div#divInsideSummary
+    relatedTarget:null
+
+click@summary
+    target:div#divInsideSummary
+    relatedTarget:null
+
+click@details
+    target:div#divInsideSummary
+    relatedTarget:null
+
+click@div#detailsContainer
+    target:div#divInsideSummary
+    relatedTarget:null
+
+click@body
+    target:div#divInsideSummary
+    relatedTarget:null
+
+click@html
+    target:div#divInsideSummary
+    relatedTarget:null
+
+click@document
+    target:div#divInsideSummary
+    relatedTarget:null
+
+click@window
+    target:div#divInsideSummary
+    relatedTarget:null
+
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/platform/gtk/fast/events/shadow-event-path-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<a id="trunkLayoutTestsplatformgtkfasteventsupdateLayoutForHitTestexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/fast/events/updateLayoutForHitTest-expected.txt (184014 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/fast/events/updateLayoutForHitTest-expected.txt        2015-05-08 20:57:49 UTC (rev 184014)
+++ trunk/LayoutTests/platform/gtk/fast/events/updateLayoutForHitTest-expected.txt        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -14,4 +14,5 @@
</span><span class="cx">         RenderText {#text} at (13,5) size 61x17
</span><span class="cx">           text run at (13,5) width 61: &quot; Project&quot;
</span><span class="cx">         RenderText {#text} at (0,0) size 0x0
</span><del>-caret: position 0 of child 0 {#text} of child 1 {SPAN} of child 3 {DIV} of body
</del><ins>+selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 3 {DIV} of body
+selection end:   position 0 of child 1 {#text} of child 3 {DIV} of child 3 {DIV} of body
</ins></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (184014 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2015-05-08 20:57:49 UTC (rev 184014)
+++ trunk/Tools/ChangeLog        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -1,3 +1,27 @@
</span><ins>+2015-05-08  Martin Robinson  &lt;mrobinson@igalia.com&gt;
+
+        [GTK] Some tests fail because they do not assume the popup menu captures click events
+        https://bugs.webkit.org/show_bug.cgi?id=40601
+
+        Reviewed by Carlos Garcia Campos.
+
+        Popdown all attached menus when moving between tests and between each new
+        event sent to the WebView. This prevents context and popup menus from eating
+        events.
+
+        * WebKitTestRunner/PlatformWebView.h: Added a helper method to do menu popdown.
+        * WebKitTestRunner/TestController.cpp: Add a specialization of these methods for GTK+.
+        * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
+        (WTR::dispatchEvent): Popdown all menus between dispatching events.
+        (WTR::EventSenderProxy::replaySavedEvents): Pass the view when dispatching events.
+        (WTR::EventSenderProxy::sendOrQueueEvent): Pass the view when dispatching events.
+        * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
+        (WTR::PlatformWebView::hideAllPopupMenus): Added this helper.
+        * WebKitTestRunner/gtk/TestControllerGtk.cpp:
+        (WTR::TestController::platformConfigureViewForTest): Added this stub, which is no
+        longer in the platform-independent file.
+        (WTR::TestController::platformResetPreferencesToConsistentValues): Popdown menus.
+
</ins><span class="cx"> 015-05-08  Michael Catanzaro  &lt;mcatanzaro@igalia.com&gt;, Martin Robinson &lt;mrobinson@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [GTK] Checks for DEVELOPMENT_BUILD are all wrong
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnerEventSenderProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/EventSenderProxy.h (184014 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/EventSenderProxy.h        2015-05-08 20:57:49 UTC (rev 184014)
+++ trunk/Tools/WebKitTestRunner/EventSenderProxy.h        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -97,6 +97,7 @@
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(GTK)
</span><span class="cx">     void sendOrQueueEvent(GdkEvent*);
</span><ins>+    void dispatchEvent(GdkEvent*);
</ins><span class="cx">     GdkEvent* createMouseButtonEvent(GdkEventType, unsigned button, WKEventModifiers);
</span><span class="cx">     GUniquePtr&lt;GdkEvent&gt; createTouchEvent(GdkEventType, int id);
</span><span class="cx">     void sendUpdatedTouchEvents();
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnerPlatformWebViewh"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/PlatformWebView.h (184014 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/PlatformWebView.h        2015-05-08 20:57:49 UTC (rev 184014)
+++ trunk/Tools/WebKitTestRunner/PlatformWebView.h        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -85,6 +85,10 @@
</span><span class="cx"> 
</span><span class="cx">     void changeWindowScaleIfNeeded(float newScale);
</span><span class="cx"> 
</span><ins>+#if PLATFORM(GTK)
+    void dismissAllPopupMenus();
+#endif
+
</ins><span class="cx"> private:
</span><span class="cx">     void forceWindowFramesChanged();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnerTestControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/TestController.cpp (184014 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/TestController.cpp        2015-05-08 20:57:49 UTC (rev 184014)
+++ trunk/Tools/WebKitTestRunner/TestController.cpp        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -797,7 +797,7 @@
</span><span class="cx">     ensureViewSupportsOptions(viewOptions.get());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-#if !PLATFORM(COCOA)
</del><ins>+#if !PLATFORM(COCOA) &amp;&amp; !PLATFORM(GTK)
</ins><span class="cx"> void TestController::platformConfigureViewForTest(const TestInvocation&amp;)
</span><span class="cx"> {
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnergtkEventSenderProxyGtkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/gtk/EventSenderProxyGtk.cpp (184014 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/gtk/EventSenderProxyGtk.cpp        2015-05-08 20:57:49 UTC (rev 184014)
+++ trunk/Tools/WebKitTestRunner/gtk/EventSenderProxyGtk.cpp        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -162,8 +162,17 @@
</span><span class="cx">     m_clickButton = button;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static void dispatchEvent(GdkEvent* event)
</del><ins>+void EventSenderProxy::dispatchEvent(GdkEvent* event)
</ins><span class="cx"> {
</span><ins>+    ASSERT(m_testController-&gt;mainWebView());
+
+    // If we are sending an escape key to the WebView, this has the side-effect of dismissing
+    // any current popups anyway. Chances are that the test is doing this to dismiss the popup
+    // anyway. Not all tests properly dismiss popup menus, so we still need to do it manually
+    // if this isn't an escape key press.
+    if (event-&gt;type != GDK_KEY_PRESS || event-&gt;key.keyval != GDK_KEY_Escape)
+        m_testController-&gt;mainWebView()-&gt;dismissAllPopupMenus();
+
</ins><span class="cx">     gtk_main_do_event(event);
</span><span class="cx">     gdk_event_free(event);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnergtkPlatformWebViewGtkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp (184014 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp        2015-05-08 20:57:49 UTC (rev 184014)
+++ trunk/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -31,6 +31,7 @@
</span><span class="cx"> #include &lt;WebKit/WKImageCairo.h&gt;
</span><span class="cx"> #include &lt;WebKit/WKViewPrivate.h&gt;
</span><span class="cx"> #include &lt;gtk/gtk.h&gt;
</span><ins>+#include &lt;wtf/Assertions.h&gt;
</ins><span class="cx"> 
</span><span class="cx"> namespace WTR {
</span><span class="cx"> 
</span><span class="lines">@@ -140,5 +141,16 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+void PlatformWebView::dismissAllPopupMenus()
+{
+    // gtk_menu_popdown doesn't modify the GList of attached menus, so it should
+    // be safe to walk this list while calling it.
+    GList* attachedMenusList = gtk_menu_get_for_attach_widget(GTK_WIDGET(m_view));
+    g_list_foreach(attachedMenusList, [] (void* data, void*) {
+        ASSERT(data);
+        gtk_menu_popdown(GTK_MENU(data));
+    }, nullptr);
+}
+
</ins><span class="cx"> } // namespace WTR
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnergtkTestControllerGtkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/gtk/TestControllerGtk.cpp (184014 => 184015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/gtk/TestControllerGtk.cpp        2015-05-08 20:57:49 UTC (rev 184014)
+++ trunk/Tools/WebKitTestRunner/gtk/TestControllerGtk.cpp        2015-05-08 21:21:32 UTC (rev 184015)
</span><span class="lines">@@ -27,6 +27,7 @@
</span><span class="cx"> #include &quot;config.h&quot;
</span><span class="cx"> #include &quot;TestController.h&quot;
</span><span class="cx"> 
</span><ins>+#include &quot;PlatformWebView.h&quot;
</ins><span class="cx"> #include &lt;gtk/gtk.h&gt;
</span><span class="cx"> #include &lt;wtf/Platform.h&gt;
</span><span class="cx"> #include &lt;wtf/gobject/GMainLoopSource.h&gt;
</span><span class="lines">@@ -109,4 +110,15 @@
</span><span class="cx">     return 0;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+void TestController::platformConfigureViewForTest(const TestInvocation&amp;)
+{
+}
+
+void TestController::platformResetPreferencesToConsistentValues()
+{
+    if (!m_mainWebView)
+        return;
+    m_mainWebView-&gt;dismissAllPopupMenus();
+}
+
</ins><span class="cx"> } // namespace WTR
</span></span></pre>
</div>
</div>

</body>
</html>