wpt / css / css-values / minmax-time-invalid.html

Status: PASS | Duration: 71ms | Subtests: 52/52 | Open test on wpt.live | wpt.fyi

Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)

SubtestStatusMessage
e.style['transition-delay'] = "min()" should not set the property valuePASS
e.style['transition-delay'] = "min( )" should not set the property valuePASS
e.style['transition-delay'] = "min(,)" should not set the property valuePASS
e.style['transition-delay'] = "min(1mt)" should not set the property valuePASS
e.style['transition-delay'] = "min(1s, )" should not set the property valuePASS
e.style['transition-delay'] = "min(, 1s)" should not set the property valuePASS
e.style['transition-delay'] = "min(1s + )" should not set the property valuePASS
e.style['transition-delay'] = "min(1s - )" should not set the property valuePASS
e.style['transition-delay'] = "min(1s * )" should not set the property valuePASS
e.style['transition-delay'] = "min(1s / )" should not set the property valuePASS
e.style['transition-delay'] = "min(1s 2s)" should not set the property valuePASS
e.style['transition-delay'] = "min(1s, , 2s)" should not set the property valuePASS
e.style['transition-delay'] = "max()" should not set the property valuePASS
e.style['transition-delay'] = "max( )" should not set the property valuePASS
e.style['transition-delay'] = "max(,)" should not set the property valuePASS
e.style['transition-delay'] = "max(1dag)" should not set the property valuePASS
e.style['transition-delay'] = "max(1s, )" should not set the property valuePASS
e.style['transition-delay'] = "max(, 1s)" should not set the property valuePASS
e.style['transition-delay'] = "max(1s + )" should not set the property valuePASS
e.style['transition-delay'] = "max(1s - )" should not set the property valuePASS
e.style['transition-delay'] = "max(1s * )" should not set the property valuePASS
e.style['transition-delay'] = "max(1s / )" should not set the property valuePASS
e.style['transition-delay'] = "max(1s 2s)" should not set the property valuePASS
e.style['transition-delay'] = "max(1s, , 2s)" should not set the property valuePASS
e.style['transition-delay'] = "min(0)" should not set the property valuePASS
e.style['transition-delay'] = "min(0%)" should not set the property valuePASS
e.style['transition-delay'] = "min(0px)" should not set the property valuePASS
e.style['transition-delay'] = "min(0deg)" should not set the property valuePASS
e.style['transition-delay'] = "min(0Hz)" should not set the property valuePASS
e.style['transition-delay'] = "min(0dpi)" should not set the property valuePASS
e.style['transition-delay'] = "min(0fr)" should not set the property valuePASS
e.style['transition-delay'] = "min(1s, 0)" should not set the property valuePASS
e.style['transition-delay'] = "min(1s, 0%)" should not set the property valuePASS
e.style['transition-delay'] = "min(1s, 0px)" should not set the property valuePASS
e.style['transition-delay'] = "min(1s, 0deg)" should not set the property valuePASS
e.style['transition-delay'] = "min(1s, 0Hz)" should not set the property valuePASS
e.style['transition-delay'] = "min(1s, 0dpi)" should not set the property valuePASS
e.style['transition-delay'] = "min(1s, 0fr)" should not set the property valuePASS
e.style['transition-delay'] = "max(0)" should not set the property valuePASS
e.style['transition-delay'] = "max(0%)" should not set the property valuePASS
e.style['transition-delay'] = "max(0px)" should not set the property valuePASS
e.style['transition-delay'] = "max(0deg)" should not set the property valuePASS
e.style['transition-delay'] = "max(0Hz)" should not set the property valuePASS
e.style['transition-delay'] = "max(0dpi)" should not set the property valuePASS
e.style['transition-delay'] = "max(0fr)" should not set the property valuePASS
e.style['transition-delay'] = "max(1s, 0)" should not set the property valuePASS
e.style['transition-delay'] = "max(1s, 0%)" should not set the property valuePASS
e.style['transition-delay'] = "max(1s, 0px)" should not set the property valuePASS
e.style['transition-delay'] = "max(1s, 0deg)" should not set the property valuePASS
e.style['transition-delay'] = "max(1s, 0Hz)" should not set the property valuePASS
e.style['transition-delay'] = "max(1s, 0dpi)" should not set the property valuePASS
e.style['transition-delay'] = "max(1s, 0fr)" should not set the property valuePASS

/css/css-values/minmax-time-invalid.html

<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-values-4/#comp-func">
<link rel="help" href="https://drafts.csswg.org/css-values-4/#time">
<link rel="help" href="https://drafts.csswg.org/css-values-4/#calc-type-checking">
<link rel="author" title="Xiaocheng Hu" href="mailto:xiaochengh@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script>
function test_invalid_time(value) {
  test_invalid_value('transition-delay', value);
}

// Syntax checking
test_invalid_time('min()');
test_invalid_time('min( )');
test_invalid_time('min(,)');
test_invalid_time('min(1mt)');
test_invalid_time('min(1s, )');
test_invalid_time('min(, 1s)');
test_invalid_time('min(1s + )');
test_invalid_time('min(1s - )');
test_invalid_time('min(1s * )');
test_invalid_time('min(1s / )');
test_invalid_time('min(1s 2s)');
test_invalid_time('min(1s, , 2s)');
test_invalid_time('max()');
test_invalid_time('max( )');
test_invalid_time('max(,)');
test_invalid_time('max(1dag)');
test_invalid_time('max(1s, )');
test_invalid_time('max(, 1s)');
test_invalid_time('max(1s + )');
test_invalid_time('max(1s - )');
test_invalid_time('max(1s * )');
test_invalid_time('max(1s / )');
test_invalid_time('max(1s 2s)');
test_invalid_time('max(1s, , 2s)');

// Type checking
test_invalid_time('min(0)');
test_invalid_time('min(0%)');
test_invalid_time('min(0px)');
test_invalid_time('min(0deg)');
test_invalid_time('min(0Hz)');
test_invalid_time('min(0dpi)');
test_invalid_time('min(0fr)');
test_invalid_time('min(1s, 0)');
test_invalid_time('min(1s, 0%)');
test_invalid_time('min(1s, 0px)');
test_invalid_time('min(1s, 0deg)');
test_invalid_time('min(1s, 0Hz)');
test_invalid_time('min(1s, 0dpi)');
test_invalid_time('min(1s, 0fr)');
test_invalid_time('max(0)');
test_invalid_time('max(0%)');
test_invalid_time('max(0px)');
test_invalid_time('max(0deg)');
test_invalid_time('max(0Hz)');
test_invalid_time('max(0dpi)');
test_invalid_time('max(0fr)');
test_invalid_time('max(1s, 0)');
test_invalid_time('max(1s, 0%)');
test_invalid_time('max(1s, 0px)');
test_invalid_time('max(1s, 0deg)');
test_invalid_time('max(1s, 0Hz)');
test_invalid_time('max(1s, 0dpi)');
test_invalid_time('max(1s, 0fr)');
</script>