wpt / css / css-ui / input-security-parsing.html

Status: FAIL | Duration: 59ms | Subtests: 4/10 | Open test on wpt.live | wpt.fyi

Data from commit:
744bf21 ci: use +/- markers for same-status tests with subtest changes (#830) (2026-09-02)

SubtestStatusMessage
e.style['input-security'] = "initial" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['input-security'] = "inherit" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['input-security'] = "unset" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['input-security'] = "revert" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['input-security'] = "auto" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['input-security'] = "none" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['input-security'] = "auto auto" should not set the property valuePASS
e.style['input-security'] = "disc" should not set the property valuePASS
e.style['input-security'] = "circle" should not set the property valuePASS
e.style['input-security'] = "square" should not set the property valuePASS

/css/css-ui/input-security-parsing.html

<!DOCTYPE html>
<title>Test parsing for input-security</title>
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#input-security">
<link rel="author" title="Apple Inc">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<div id="target"></div>
<script>
test_valid_value('input-security', 'initial');
test_valid_value('input-security', 'inherit');
test_valid_value('input-security', 'unset');
test_valid_value('input-security', 'revert');
test_valid_value('input-security', 'auto');
test_valid_value('input-security', 'none');

test_invalid_value('input-security', 'auto auto');
test_invalid_value('input-security', 'disc');
test_invalid_value('input-security', 'circle');
test_invalid_value('input-security', 'square');
</script>