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

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

Issue 2835063002: Selection API: type attribute should return 'Range' for range-selection in text controls. (Closed)
Patch Set: . Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/shadow-tree-exposure-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0d47ee16c59fe74d085bb9d2ecbd8f5af95c84a0..64aefe92cefedd098588e4b7959115635b039e0a 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", "'Caret'");
+shouldBeEqualToString("getSelection().type", "Range");
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", "'Caret'");
+shouldBeEqualToString("getSelection().type", "Range");
document.body.removeChild(container);
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/shadow-tree-exposure-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698