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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/shadow-tree-exposure.html

Issue 2694043004: Selection API: anchorNode, anchorOffset, focusNode, focusOffset, isCollapsed, and type should be ba… (Closed)
Patch Set: . 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/fast/forms/shadow-tree-exposure.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/shadow-tree-exposure.html b/third_party/WebKit/LayoutTests/fast/forms/shadow-tree-exposure.html
index c1b1eb8d52a52849fc72b2d68e01f42ec604167d..0d47ee16c59fe74d085bb9d2ecbd8f5af95c84a0 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/shadow-tree-exposure.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/shadow-tree-exposure.html
@@ -50,7 +50,7 @@ shouldBe("getSelection().baseNode", "container");
shouldBe("getSelection().baseOffset", "1");
shouldBe("getSelection().extentNode", "container");
shouldBe("getSelection().extentOffset", "1");
-shouldBe("getSelection().type", "'Range'");
+shouldBe("getSelection().type", "'Caret'");
yosin_UTC9 2017/02/14 04:52:21 Nice, finally, we get correct value of Selection#t
debug("\nAdd a textarea element.\n");
@@ -75,7 +75,7 @@ shouldBe("getSelection().baseNode", "container");
shouldBe("getSelection().baseOffset", "2");
shouldBe("getSelection().extentNode", "container");
shouldBe("getSelection().extentOffset", "2");
-shouldBe("getSelection().type", "'Range'");
+shouldBe("getSelection().type", "'Caret'");
document.body.removeChild(container);

Powered by Google App Engine
This is Rietveld 408576698