wpt / css / css-typed-om / historical.html

Status: FAIL | Duration: 51ms | Subtests: 1/11 | Open test on wpt.live | wpt.fyi

Data from commit:
1884860 Copy-on-write style attribute blocks that are in the rule tree (#831) (2026-09-02)

SubtestStatusMessage
Support for CSSPositionValuePASS
toRGB should not exist on CSSColorValueFAILCSSRGB is not defined
toHSL should not exist on CSSColorValueFAILCSSRGB is not defined
toHWB should not exist on CSSColorValueFAILCSSRGB is not defined
toGray should not exist on CSSColorValueFAILCSSRGB is not defined
toLCH should not exist on CSSColorValueFAILCSSRGB is not defined
toLab should not exist on CSSColorValueFAILCSSRGB is not defined
toColor should not exist on CSSColorValueFAILCSSRGB is not defined
toDeviceCMYK should not exist on CSSColorValueFAILCSSRGB is not defined
to should not exist on CSSColorValueFAILCSSRGB is not defined
colorSpace should not exist on CSSColorValueFAILCSSRGB is not defined

/css/css-typed-om/historical.html

<!doctype html>
<meta charset="utf-8">
<title>Historical features</title>
<link rel=help href="https://drafts.css-houdini.org/css-typed-om/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
  // https://github.com/w3c/css-houdini-drafts/commit/5261c1a323ea062d69cb5a3f1e69734fd176948a
  assert_false("CSSPositionValue" in self);
}, "Support for CSSPositionValue");

// https://github.com/w3c/css-houdini-drafts/commit/5a1663db3f9c36ffa7b2013afdd345e98ae03d5e
// https://github.com/w3c/css-houdini-drafts/commit/223258ea4c71aa60b1bd675602dddfbb414e0481
const deprecatedProperties = ["toRGB", "toHSL", "toHWB", "toGray", "toLCH", "toLab", "toColor", "toDeviceCMYK", "to", "colorSpace"];
for (const deprecatedProperty of deprecatedProperties) {
  test(function() {
    const cssColorValue = new CSSRGB(0, 0, 0);
    assert_false(deprecatedProperty in cssColorValue);
  }, `${deprecatedProperty} should not exist on CSSColorValue`);
}
</script>