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

Unified Diff: third_party/WebKit/LayoutTests/paint/selection/selection-drag-image-in-iframe.html

Issue 2693813002: Selection API: Some functions should throw InvalidNodeTypeError and IndexSizeError. (Closed)
Patch Set: adjust 2 more tests Created 3 years, 10 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: third_party/WebKit/LayoutTests/paint/selection/selection-drag-image-in-iframe.html
diff --git a/third_party/WebKit/LayoutTests/paint/selection/selection-drag-image-in-iframe.html b/third_party/WebKit/LayoutTests/paint/selection/selection-drag-image-in-iframe.html
index adcf75786d8550ddd25c31502b08f90f242d2770..6c8dbd200c08f036468972e2bdfc734f5590159e 100644
--- a/third_party/WebKit/LayoutTests/paint/selection/selection-drag-image-in-iframe.html
+++ b/third_party/WebKit/LayoutTests/paint/selection/selection-drag-image-in-iframe.html
@@ -9,7 +9,7 @@
var x2 = subframe.offsetLeft + target.offsetLeft + target.offsetWidth;
var y = subframe.offsetTop + target.offsetTop + target.offsetHeight / 2;
- subframe.contentWindow.getSelection().setBaseAndExtent(target, 0, target, 1);
+ subframe.contentWindow.getSelection().setBaseAndExtent(target, 0, target, 0);
if (window.eventSender) {
eventSender.dragMode = true;
@@ -30,4 +30,4 @@
}
window.onload = dragAndDrop;
-</script>
+</script>

Powered by Google App Engine
This is Rietveld 408576698