cssHWB.html

PASSExpected21 of 21 subtests pass1,351 ms

Details

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

Subtests

StatusSubtestMessage
PASSConstructing a CSSHWB with degrees for the hue works as intended.
PASSCSSHWB.h can be updated with a degrees.
PASSConstructing a CSSHWB with radians for the hue works as intended.
PASSCSSHWB.h can be updated with a radians.
PASSConstructing a CSSHWB with gradians for the hue works as intended.
PASSCSSHWB.h can be updated with a gradians.
PASSConstructing a CSSHWB with a number for hue throws a TypeError.
PASSConstructing a CSSHWB with undefined for hue throws a TypeError.
PASSConstructing a CSSHWB with css pixels for hue throws a SyntaxError.
PASSCSSHWB can be constructed from three numbers and will get an alpha of 100%.
PASSCSSHWB can be constructed from four numbers.
PASSConstructing a CSSHWB with CSS.number for s, l or alpha throws a SyntaxError
PASSUpdating a CSSHWB with CSS.number for w throws a SyntaxError
PASSCSSHWB.w can be updated to a number.
PASSCSSHWB.w can be updated with a CSS percent.
PASSUpdating a CSSHWB with CSS.number for b throws a SyntaxError
PASSCSSHWB.b can be updated to a number.
PASSCSSHWB.b can be updated with a CSS percent.
PASSUpdating a CSSHWB with CSS.number for alpha throws a SyntaxError
PASSCSSHWB.alpha can be updated to a number.
PASSCSSHWB.alpha can be updated with a CSS percent.