cssLab.html

PASSExpected15 of 15 subtests pass1,594 ms

Details

Test
/css/css-typed-om/stylevalue-subclasses/cssLab.html
Harness
OK

Subtests

StatusSubtestMessage
PASSConstructing a CSSLab with percent for the lightness works as intended.
PASSCSSLab.l can be updated with a percent.
PASSConstructing a CSSLab with number for the lightness works as intended.
PASSCSSLab.l can be updated with a number.
PASSConstructing a CSSLab with css pixels for lightness throws a SyntaxError.
PASSConstructing a CSSLab with degrees for lightness throws a SyntaxError.
PASSCSSLab can be constructed from three numbers and will get an alpha of 100%.
PASSCSSLab can be constructed from four numbers.
PASSConstructing a CSSLab with CSS.number for l or alpha throws a SyntaxError
PASSUpdating a CSSLab with CSS.number for l throws a SyntaxError
PASSCSSLab.l can be updated to a number.
PASSCSSLab.l can be updated with a CSS percent.
PASSUpdating a CSSLab with CSS.number for alpha throws a SyntaxError
PASSCSSLab.alpha can be updated to a number.
PASSCSSLab.alpha can be updated with a CSS percent.