Skip to content

Commit

Permalink
Remove "default scale factor is 1" range.html subtest
Browse files Browse the repository at this point in the history
This test fails in all 3 browsers and we decided to remove it here:
web-platform-tests/interop#107
  • Loading branch information
josepharhar committed Sep 15, 2022
1 parent 09b8d2f commit 15c5c8e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions html/semantics/forms/the-input-element/range.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ <h1>Input Range</h1>
<input type="range" id="max_smaller_than_min" min=2 max=-3 />
<input type="range" id="default_step_scale_factor_1" min=5 max=12.6 value=6.7 />
<input type="range" id="default_step_scale_factor_2" min=5.3 max=12 value=6.7 />
<input type="range" id="default_step_scale_factor_3"min=5 max=12.6 step=0.5 value=6.7 />
<input type="range" id="float_step_scale_factor" min=5.3 max=12 step=0.5 value=6.7 />
<input type="range" id="stepup" min=3 max=14 value=6 step=3 />
<input type="range" id="stepdown" min=3 max=11 value=9 step=3 />
Expand Down Expand Up @@ -164,13 +163,6 @@ <h1>Input Range</h1>
"Step scale factor behavior when min attribute has integer value but max attribute is non-integer "
);

test(
function() {
assert_equals(document.getElementById('default_step_scale_factor_3').step, "1")
},
"The default scale factor is 1 even if step attribute is explicitly set to non-integer value, unless min attribute has non-integer value"
);

test(
function() {
assert_equals(document.getElementById('float_step_scale_factor').value, "6.8")
Expand Down

0 comments on commit 15c5c8e

Please sign in to comment.