contain.html

PASSExpected41 of 41 subtests pass607 ms

Details

Test
/css/css-typed-om/the-stylepropertymap/properties/contain.html
Harness
OK

Subtests

StatusSubtestMessage
PASSCan set 'contain' to CSS-wide keywords: initial
PASSCan set 'contain' to CSS-wide keywords: inherit
PASSCan set 'contain' to CSS-wide keywords: unset
PASSCan set 'contain' to CSS-wide keywords: revert
PASSCan set 'contain' to var() references: var(--A)
PASSCan set 'contain' to the 'none' keyword: none
PASSCan set 'contain' to the 'strict' keyword: strict
PASSCan set 'contain' to the 'content' keyword: content
PASSCan set 'contain' to the 'size' keyword: size
PASSCan set 'contain' to the 'layout' keyword: layout
PASSCan set 'contain' to the 'style' keyword: style
PASSCan set 'contain' to the 'paint' keyword: paint
PASSCan set 'contain' to the 'inline-size' keyword: inline-size
PASSSetting 'contain' to a length: 0px throws TypeError
PASSSetting 'contain' to a length: -3.14em throws TypeError
PASSSetting 'contain' to a length: 3.14cm throws TypeError
PASSSetting 'contain' to a length: calc(0px + 0em) throws TypeError
PASSSetting 'contain' to a percent: 0% throws TypeError
PASSSetting 'contain' to a percent: -3.14% throws TypeError
PASSSetting 'contain' to a percent: 3.14% throws TypeError
PASSSetting 'contain' to a percent: calc(0% + 0%) throws TypeError
PASSSetting 'contain' to a time: 0s throws TypeError
PASSSetting 'contain' to a time: -3.14ms throws TypeError
PASSSetting 'contain' to a time: 3.14s throws TypeError
PASSSetting 'contain' to a time: calc(0s + 0ms) throws TypeError
PASSSetting 'contain' to an angle: 0deg throws TypeError
PASSSetting 'contain' to an angle: 3.14rad throws TypeError
PASSSetting 'contain' to an angle: -3.14deg throws TypeError
PASSSetting 'contain' to an angle: calc(0rad + 0deg) throws TypeError
PASSSetting 'contain' to a flexible length: 0fr throws TypeError
PASSSetting 'contain' to a flexible length: 1fr throws TypeError
PASSSetting 'contain' to a flexible length: -3.14fr throws TypeError
PASSSetting 'contain' to a number: 0 throws TypeError
PASSSetting 'contain' to a number: -3.14 throws TypeError
PASSSetting 'contain' to a number: 3.14 throws TypeError
PASSSetting 'contain' to a number: calc(2 + 3) throws TypeError
PASSSetting 'contain' to a transform: translate(50%, 50%) throws TypeError
PASSSetting 'contain' to a transform: perspective(10em) throws TypeError
PASSSetting 'contain' to a transform: translate3d(0px, 1px, 2px) translate(0px, 1px) rotate3d(1, 2, 3, 45deg) rotate(45deg) scale3d(1, 2, 3) scale(1, 2) skew(1deg, 1deg) skewX(1deg) skewY(45deg) perspective(1px) matrix3d(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16) matrix(1, 2, 3, 4, 5, 6) throws TypeError
PASS'contain' does not support 'size layout'
PASS'contain' does not support 'paint style layout size'