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

Unified Diff: third_party/WebKit/LayoutTests/editing/inserting/replace-at-visible-boundary.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/editing/inserting/replace-at-visible-boundary.html
diff --git a/third_party/WebKit/LayoutTests/editing/inserting/replace-at-visible-boundary.html b/third_party/WebKit/LayoutTests/editing/inserting/replace-at-visible-boundary.html
index c7626fb2ddb3eb4f36fe02a944344cd3ba4f97df..5caaea1d6e3b7bfe33ceda86425fe847929e66f9 100644
--- a/third_party/WebKit/LayoutTests/editing/inserting/replace-at-visible-boundary.html
+++ b/third_party/WebKit/LayoutTests/editing/inserting/replace-at-visible-boundary.html
@@ -23,7 +23,7 @@
fail("Image should be adjacent to the bold node.");
// Now try inserting HTML over the image.
- execSetSelectionCommand(image, 0, image, 1);
+ execSetSelectionCommand(image, 0, image, 0);
document.execCommand("inserthtml", false, "<span id='red' style='color:red'>red text</span>");
// Verify that the red text isn't in the bold tag.

Powered by Google App Engine
This is Rietveld 408576698