cssRGB.html

PASSExpected51 of 51 subtests pass901 ms

Details

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

Subtests

StatusSubtestMessage
PASSConstructing a CSSRGB with an angle CSSUnitValue for the color channels throws a SyntaxError.
PASSConstructing a CSSRGB with a CSSMathValue that doesn"t match <number> for the color channels throws a SyntaxError.
PASSConstructing a CSSRGB with undefined for the color channels throws a SyntaxError.
PASSConstructing a CSSRGB with a CSS math calculation for the color channels throws a SyntaxError.
PASSConstructing a CSSRGB with a CSS number for the alpha channels throws a SyntaxError.
PASSUpdating CSSRGB. r to an angle CSSUnitValue throws a SyntaxError.
PASSUpdating CSSRGB. r to a CSSMathValue that doesn"t match <number> throws a SyntaxError.
PASSUpdating CSSRGB. r to undefined throws a SyntaxError.
PASSUpdating CSSRGB. r to a CSS math calculation throws a SyntaxError.
PASSUpdating CSSRGB. g to an angle CSSUnitValue throws a SyntaxError.
PASSUpdating CSSRGB. g to a CSSMathValue that doesn"t match <number> throws a SyntaxError.
PASSUpdating CSSRGB. g to undefined throws a SyntaxError.
PASSUpdating CSSRGB. g to a CSS math calculation throws a SyntaxError.
PASSUpdating CSSRGB. b to an angle CSSUnitValue throws a SyntaxError.
PASSUpdating CSSRGB. b to a CSSMathValue that doesn"t match <number> throws a SyntaxError.
PASSUpdating CSSRGB. b to undefined throws a SyntaxError.
PASSUpdating CSSRGB. b to a CSS math calculation throws a SyntaxError.
PASSUpdating CSSRGB. alpha to an angle CSSUnitValue throws a SyntaxError.
PASSUpdating CSSRGB. alpha to a CSSMathValue that doesn"t match <number> throws a SyntaxError.
PASSUpdating CSSRGB. alpha to undefined throws a SyntaxError.
PASSUpdating CSSRGB. alpha to a CSS math calculation throws a SyntaxError.
PASSUpdating the alpha channel to a CSS number throws a SyntaxError.
PASSCSSRGB can be constructed from three numbers and will get an alpha of 100%.
PASSCSSRGB can be constructed from four numbers.
PASSCSSRGB.r can be updated with a number with the resulting value being a percentage.
PASSCSSRGB.r can be updated with a CSS number.
PASSCSSRGB.r can be updated with CSS percent.
PASSCSSRGB.r can be updated with CSS math sum.
PASSCSSRGB.r can be updated with CSS math product.
PASSCSSRGB.r can be updated with CSS math max.
PASSCSSRGB.r can be updated with CSS math min.
PASSCSSRGB.g can be updated with a number with the resulting value being a percentage.
PASSCSSRGB.g can be updated with a CSS number.
PASSCSSRGB.g can be updated with CSS percent.
PASSCSSRGB.g can be updated with CSS math sum.
PASSCSSRGB.g can be updated with CSS math product.
PASSCSSRGB.g can be updated with CSS math max.
PASSCSSRGB.g can be updated with CSS math min.
PASSCSSRGB.b can be updated with a number with the resulting value being a percentage.
PASSCSSRGB.b can be updated with a CSS number.
PASSCSSRGB.b can be updated with CSS percent.
PASSCSSRGB.b can be updated with CSS math sum.
PASSCSSRGB.b can be updated with CSS math product.
PASSCSSRGB.b can be updated with CSS math max.
PASSCSSRGB.b can be updated with CSS math min.
PASSCSSRGB.alpha can be updated with a number with the resulting value being a percentage.
PASSCSSRGB.alpha can be updated with CSS percent.
PASSCSSRGB.alpha can be updated with CSS math sum.
PASSCSSRGB.alpha can be updated with CSS math product.
PASSCSSRGB.alpha can be updated with CSS math max.
PASSCSSRGB.alpha can be updated with CSS math min.