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

Unified Diff: LayoutTests/fast/text/atsui-rtl-override-selection.html

Issue 14859016: Don't force layout for mouse event hit tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update all tests Created 7 years, 7 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
Index: LayoutTests/fast/text/atsui-rtl-override-selection.html
diff --git a/LayoutTests/fast/text/atsui-rtl-override-selection.html b/LayoutTests/fast/text/atsui-rtl-override-selection.html
index b7a17a32a70559d1c5d54bc72bad1e5a3c886d7a..ce728f29d0dce867d128bf51c439fe069190761a 100644
--- a/LayoutTests/fast/text/atsui-rtl-override-selection.html
+++ b/LayoutTests/fast/text/atsui-rtl-override-selection.html
@@ -3,6 +3,8 @@
<title>Selection in text with RTL override in ATSUI</title>
<script type="text/javascript">
function test() {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(14, 10);
eventSender.mouseDown();
eventSender.mouseMoveTo(15, 10);

Powered by Google App Engine
This is Rietveld 408576698