chromium/third_party/blink/web_tests/external/wpt/css/css-typed-om/stylevalue-subclasses/cssLab-expected.txt

This is a testharness.js-based test.
[FAIL] Constructing a CSSLab with percent for the lightness works as intended.
  CSSLab is not defined
[FAIL] CSSLab.l can be updated with a percent.
  CSSLab is not defined
[FAIL] Constructing a CSSLab with number for the lightness works as intended.
  CSSLab is not defined
[FAIL] CSSLab.l can be updated with a number.
  CSSLab is not defined
[FAIL] Constructing a CSSLab with css pixels for lightness throws a SyntaxError.
  assert_throws_dom: function "() => new CSSLab(lightness, 0, 0)" threw object "ReferenceError: CSSLab is not defined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12
[FAIL] Constructing a CSSLab with degrees for lightness throws a SyntaxError.
  assert_throws_dom: function "() => new CSSLab(lightness, 0, 0)" threw object "ReferenceError: CSSLab is not defined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12
[FAIL] CSSLab can be constructed from three numbers and will get an alpha of 100%.
  CSSLab is not defined
[FAIL] CSSLab can be constructed from four numbers.
  CSSLab is not defined
[FAIL] Constructing a CSSLab with CSS.number for l or alpha throws a SyntaxError
  assert_throws_dom: function "() => new CSSLab(CSS.number(1), 0, 0, 0)" threw object "ReferenceError: CSSLab is not defined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12
[FAIL] Updating a CSSLab with CSS.number for l throws a SyntaxError
  CSSLab is not defined
[FAIL] CSSLab.l can be updated to a number.
  CSSLab is not defined
[FAIL] CSSLab.l can be updated with a CSS percent.
  CSSLab is not defined
[FAIL] Updating a CSSLab with CSS.number for alpha throws a SyntaxError
  CSSLab is not defined
[FAIL] CSSLab.alpha can be updated to a number.
  CSSLab is not defined
[FAIL] CSSLab.alpha can be updated with a CSS percent.
  CSSLab is not defined
Harness: the test ran to completion.