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

Unified Diff: LayoutTests/fast/events/touch/gesture/resources/drag-inside-iframe2.html

Issue 14089009: Change long press behavior when touch text selection is enabled: (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: patch Created 7 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
Index: LayoutTests/fast/events/touch/gesture/resources/drag-inside-iframe2.html
diff --git a/LayoutTests/fast/events/touch/gesture/resources/drag-inside-iframe2.html b/LayoutTests/fast/events/touch/gesture/resources/drag-inside-iframe2.html
index 5cf23e47424508f7f01068c2cbd2ae848eb37eae..562531e8b5a0fbf68b30921e0993755cb6603595 100644
--- a/LayoutTests/fast/events/touch/gesture/resources/drag-inside-iframe2.html
+++ b/LayoutTests/fast/events/touch/gesture/resources/drag-inside-iframe2.html
@@ -2,6 +2,7 @@
<body onload="top.runTest()">
<div id='mydiv' draggable='true' ondragstart='drag(event)' onmousedown='mousedown(event)' style='width:100px;height:100px;position:absolute;top:0px; left:0px; background-color:blue;'>
Drag me</div>
+<div id='textdiv' ondragstart='textDivDrag(event)' style='position:absolute;top:100px; left:0px; background-color:blue;'>Some text</div>
<script type='text/javascript'>
function drag(event) {
top.onDragStart();
@@ -9,6 +10,9 @@ Drag me</div>
function mousedown(event) {
top.onMouseDown();
}
+ function textDivDrag(event) {
+ top.onTextDivDrag();
+ }
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698