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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/inputevents/before-input-ranges.html

Issue 2022863002: [InputEvent] Introduce |StaticRange| and use in |InputEvent::getRanges()| (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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/events/inputevents/before-input-ranges.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/inputevents/before-input-ranges.html b/third_party/WebKit/LayoutTests/fast/events/inputevents/before-input-ranges.html
index e9e46215c3749882012bcdca3cc6b84e94f380ae..3c6fb1918eb75e406d2ac5f462f955a6a8e9a865 100644
--- a/third_party/WebKit/LayoutTests/fast/events/inputevents/before-input-ranges.html
+++ b/third_party/WebKit/LayoutTests/fast/events/inputevents/before-input-ranges.html
@@ -29,6 +29,7 @@ test(function() {
var ranges = event.getRanges();
assert_equals(ranges.length, 1);
var range = ranges[0];
+ assert_true(range instanceof StaticRange);
assert_equals(range.startOffset, 3);
assert_equals(range.startContainer.textContent, 'lo wo');
assert_equals(range.endOffset, 3);

Powered by Google App Engine
This is Rietveld 408576698