blob: d1ff8b2cdcf3d171fd7c78ddb3c91c539e691dbb [file] [log] [blame]
PASS e.style['flex'] = "none" should set flex-basis
PASS e.style['flex'] = "none" should set flex-grow
PASS e.style['flex'] = "none" should set flex-shrink
PASS e.style['flex'] = "none" should not set unrelated longhands
PASS e.style['flex'] = "1" should set flex-basis
PASS e.style['flex'] = "1" should set flex-grow
PASS e.style['flex'] = "1" should set flex-shrink
PASS e.style['flex'] = "1" should not set unrelated longhands
PASS e.style['flex'] = "2 3" should set flex-basis
PASS e.style['flex'] = "2 3" should set flex-grow
PASS e.style['flex'] = "2 3" should set flex-shrink
PASS e.style['flex'] = "2 3" should not set unrelated longhands
PASS e.style['flex'] = "4 5 6px" should set flex-basis
PASS e.style['flex'] = "4 5 6px" should set flex-grow
PASS e.style['flex'] = "4 5 6px" should set flex-shrink
PASS e.style['flex'] = "4 5 6px" should not set unrelated longhands
PASS e.style['flex'] = "7% 8" should set flex-basis
PASS e.style['flex'] = "7% 8" should set flex-grow
PASS e.style['flex'] = "7% 8" should set flex-shrink
PASS e.style['flex'] = "7% 8" should not set unrelated longhands
PASS e.style['flex'] = "8 auto" should set flex-basis
PASS e.style['flex'] = "8 auto" should set flex-grow
PASS e.style['flex'] = "8 auto" should set flex-shrink
PASS e.style['flex'] = "8 auto" should not set unrelated longhands
PASS e.style['flex'] = "content" should set flex-basis
PASS e.style['flex'] = "content" should set flex-grow
PASS e.style['flex'] = "content" should set flex-shrink
PASS e.style['flex'] = "content" should not set unrelated longhands
FAIL e.style['flex'] = "0 fit-content" should set flex-basis assert_equals: flex-basis should be canonical expected "fit-content" but got ""
FAIL e.style['flex'] = "0 fit-content" should set flex-grow assert_equals: flex-grow should be canonical expected "0" but got ""
FAIL e.style['flex'] = "0 fit-content" should set flex-shrink assert_equals: flex-shrink should be canonical expected "1" but got ""
FAIL e.style['flex'] = "0 fit-content" should not set unrelated longhands assert_true: expected true got false
FAIL e.style['flex'] = "1 0 max-content" should set flex-basis assert_equals: flex-basis should be canonical expected "max-content" but got ""
FAIL e.style['flex'] = "1 0 max-content" should set flex-grow assert_equals: flex-grow should be canonical expected "1" but got ""
FAIL e.style['flex'] = "1 0 max-content" should set flex-shrink assert_equals: flex-shrink should be canonical expected "0" but got ""
FAIL e.style['flex'] = "1 0 max-content" should not set unrelated longhands assert_true: expected true got false