flex-shorthand.html

PASSExpected40 of 40 subtests pass861 ms

Details

Test
/css/css-flexbox/parsing/flex-shorthand.html
Harness
OK

Subtests

StatusSubtestMessage
PASSe.style['flex'] = "none" should set flex-basis
PASSe.style['flex'] = "none" should set flex-grow
PASSe.style['flex'] = "none" should set flex-shrink
PASSe.style['flex'] = "none" should not set unrelated longhands
PASSe.style['flex'] = "1" should set flex-basis
PASSe.style['flex'] = "1" should set flex-grow
PASSe.style['flex'] = "1" should set flex-shrink
PASSe.style['flex'] = "1" should not set unrelated longhands
PASSe.style['flex'] = "2 3" should set flex-basis
PASSe.style['flex'] = "2 3" should set flex-grow
PASSe.style['flex'] = "2 3" should set flex-shrink
PASSe.style['flex'] = "2 3" should not set unrelated longhands
PASSe.style['flex'] = "4 5 6px" should set flex-basis
PASSe.style['flex'] = "4 5 6px" should set flex-grow
PASSe.style['flex'] = "4 5 6px" should set flex-shrink
PASSe.style['flex'] = "4 5 6px" should not set unrelated longhands
PASSe.style['flex'] = "7% 8" should set flex-basis
PASSe.style['flex'] = "7% 8" should set flex-grow
PASSe.style['flex'] = "7% 8" should set flex-shrink
PASSe.style['flex'] = "7% 8" should not set unrelated longhands
PASSe.style['flex'] = "8 auto" should set flex-basis
PASSe.style['flex'] = "8 auto" should set flex-grow
PASSe.style['flex'] = "8 auto" should set flex-shrink
PASSe.style['flex'] = "8 auto" should not set unrelated longhands
PASSe.style['flex'] = "content" should set flex-basis
PASSe.style['flex'] = "content" should set flex-grow
PASSe.style['flex'] = "content" should set flex-shrink
PASSe.style['flex'] = "content" should not set unrelated longhands
PASSe.style['flex'] = "0 fit-content" should set flex-basis
PASSe.style['flex'] = "0 fit-content" should set flex-grow
PASSe.style['flex'] = "0 fit-content" should set flex-shrink
PASSe.style['flex'] = "0 fit-content" should not set unrelated longhands
PASSe.style['flex'] = "1 0 max-content" should set flex-basis
PASSe.style['flex'] = "1 0 max-content" should set flex-grow
PASSe.style['flex'] = "1 0 max-content" should set flex-shrink
PASSe.style['flex'] = "1 0 max-content" should not set unrelated longhands
PASSe.style['flex'] = "auto 1 2" should set flex-basis
PASSe.style['flex'] = "auto 1 2" should set flex-grow
PASSe.style['flex'] = "auto 1 2" should set flex-shrink
PASSe.style['flex'] = "auto 1 2" should not set unrelated longhands