cssOKLCH.html

PASSExpected18 of 18 subtests pass946 ms

Details

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

Subtests

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