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

Unified Diff: LayoutTests/editing/shadow/selection-shadow-mouse-drag-expected.html

Issue 1202153004: Enable selection for the composed tree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename the flag Created 5 years, 6 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/editing/shadow/selection-shadow-mouse-drag.html ('k') | Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/shadow/selection-shadow-mouse-drag-expected.html
diff --git a/LayoutTests/editing/shadow/selection-shadow-mouse-drag-expected.html b/LayoutTests/editing/shadow/selection-shadow-mouse-drag-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..25387cf03328a13303689529fdf0b5f0e123cf98
--- /dev/null
+++ b/LayoutTests/editing/shadow/selection-shadow-mouse-drag-expected.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<style>* { font-family: monospace; }</style>
+<div id="host">[<span id="two">Two</span> <span id="one">One</span>]</div>
+<script>
+function doDrag(start, end) {
+ if (!window.eventSender)
+ return;
+ eventSender.mouseMoveTo(start.offsetLeft + (start.offsetWidth / 2), start.offsetTop + 3);
+ eventSender.mouseDown();
+ eventSender.mouseMoveTo(end.offsetLeft + (end.offsetWidth / 2), end.offsetTop + 3);
+ eventSender.mouseUp();
+}
+doDrag(two, one);
+</script>
« no previous file with comments | « LayoutTests/editing/shadow/selection-shadow-mouse-drag.html ('k') | Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698