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

Unified Diff: LayoutTests/fast/forms/range/range-drag-when-toggled-disabled.html

Issue 125973004: Update of change event for range input type (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update of change event for range input type Created 6 years, 11 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 | LayoutTests/fast/forms/range/range-drag-when-toggled-disabled-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/range/range-drag-when-toggled-disabled.html
diff --git a/LayoutTests/fast/forms/range/range-drag-when-toggled-disabled.html b/LayoutTests/fast/forms/range/range-drag-when-toggled-disabled.html
index 0ca83e986353ae2a3d715b33eefdaf13d465ba08..f95209d76340af013e642eeb04a557acd78e9c30 100644
--- a/LayoutTests/fast/forms/range/range-drag-when-toggled-disabled.html
+++ b/LayoutTests/fast/forms/range/range-drag-when-toggled-disabled.html
@@ -52,9 +52,10 @@ function testInput(id, field) {
lastChangeEventCounter = changeEventCounter;
dragToRightEdge();
shouldBe('input.value', '"100"');
- shouldBeGreaterThanOrEqual('changeEventCounter', 'lastChangeEventCounter + 1');
+ shouldBeGreaterThanOrEqual('changeEventCounter', 'lastChangeEventCounter');
tkent 2014/01/14 10:29:23 This line should be shouldBe(...), not shouldBeGre
Habib Virji 2014/01/14 10:56:19 Done.
lastChangeEventCounter = changeEventCounter;
dragToLeftEdge();
+ stopDrag();
shouldBe('input.value', '"0"');
shouldBeGreaterThanOrEqual('changeEventCounter', 'lastChangeEventCounter + 1');
@@ -65,10 +66,9 @@ function testInput(id, field) {
// Attempt to drag to right edge. Should not change.
lastChangeEventCounter = changeEventCounter;
dragToRightEdge();
- shouldBe('input.value', '"0"');
- shouldBe('lastChangeEventCounter', 'changeEventCounter');
-
stopDrag();
+ shouldBe('input.value', '"0"');
+ shouldBe('lastChangeEventCounter', 'changeEventCounter');
}
« no previous file with comments | « no previous file | LayoutTests/fast/forms/range/range-drag-when-toggled-disabled-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698