14 lines
407 B
Plaintext
14 lines
407 B
Plaintext
Tests assigning a calculated value to flex-shrink CSS property.
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
PASS testDiv.style['flex-shrink'] is ""
|
|
testDiv.style['flex-shrink'] = 'calc(2 * 3)'
|
|
PASS testDiv.style['flex-shrink'] is "calc(6)"
|
|
PASS window.getComputedStyle(testDiv).getPropertyValue('flex-shrink') is "6"
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|