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

Unified Diff: LayoutTests/fast/events/drag-selects-image.html

Issue 1308663003: The node and allowPartialContainment arguments for Selection API should not be optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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/drag-selects-image.html
diff --git a/LayoutTests/fast/events/drag-selects-image.html b/LayoutTests/fast/events/drag-selects-image.html
index 289a2c20199546c87b56f7f968df050a6457af65..765bc0691eda56df06b552168c8d1947daa553f0 100644
--- a/LayoutTests/fast/events/drag-selects-image.html
+++ b/LayoutTests/fast/events/drag-selects-image.html
@@ -31,7 +31,7 @@
log('Dragging image in editable area...');
dragNowhere(document.getElementById('imageTwo'));
log(window.getSelection().rangeCount + ' range(s) selected');
- if (window.getSelection().rangeCount && window.getSelection().containsNode(document.getElementById('imageTwo')))
+ if (window.getSelection().rangeCount && window.getSelection().containsNode(document.getElementById('imageTwo'), false))
log('imageTwo is selected');
}
</script>

Powered by Google App Engine
This is Rietveld 408576698