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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/mouse/drag_selection_update_crash.html

Issue 1793093006: [Editing][Stability] Recanonicalize m_originalbase in FrameSelection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update layout test Created 4 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 | « no previous file | third_party/WebKit/Source/core/editing/FrameSelection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/selection/mouse/drag_selection_update_crash.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/mouse/drag_selection_update_crash.html b/third_party/WebKit/LayoutTests/editing/selection/mouse/drag_selection_update_crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..97190d38aae6cbd7d1ce8ef2ef15b0be6f07c79a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/editing/selection/mouse/drag_selection_update_crash.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<div style="direction: rtl;">
yosin_UTC9 2016/04/19 09:41:20 <div dir=rtl>
yoichio 2016/05/13 04:03:29 Acknowledged.
+__v_40 = 0; ++__v_40 {__v_40: "ab" + __v_40 + (__v_40 / 100000);.target { olor: #;
yosin_UTC9 2016/04/19 09:41:20 The issue is caused by selecting text in RTL. zoom
yoichio 2016/05/13 04:03:29 Done.
+<dl id="tests"></dl>
+ <span id="target">
+ abcxyz
+</span></div>
+
+<script>
+test(function(){
+ eventSender.setPageZoomFactor(5);
+ var y = target.offsetTop + target.offsetHeight / 2;
+ eventSender.dragMode = false;
+ eventSender.mouseMoveTo(target.offsetLeft + target.offsetWidth, y);
+ eventSender.mouseDown();
+ eventSender.mouseMoveTo(target.offsetLeft, y);
+
+ document.body.innerHTML = '<div id="log"></div>';
yosin_UTC9 2016/04/19 09:41:20 Can we put this into HTML? After <div dir=rtl">?
yoichio 2016/05/13 04:03:29 Done.
+});
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/FrameSelection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698