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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/selected-replaced.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/invalidation/selected-replaced.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/selected-replaced.html b/third_party/WebKit/LayoutTests/paint/invalidation/selected-replaced.html
index d0c2dc511a3d0027d365ddc6890c6bcd6b051011..f89a90afc7a307d17ad1ddecc3d0a712b03ffe6f 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/selected-replaced.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/selected-replaced.html
@@ -18,7 +18,7 @@
{
var selection = window.getSelection();
var image = document.getElementById('test');
- selection.setBaseAndExtent(image, 0, image, 1);
+ selection.setBaseAndExtent(image, 0, image, 0);
runRepaintAndPixelTest();
}
function repaintTest()

Powered by Google App Engine
This is Rietveld 408576698