cdumez@apple.com | 8d9b45b | 2014-11-19 02:05:34 +0000 | [diff] [blame] | 1 | Tests assigning a calculated value to z-index CSS property. |
2 | |||||
3 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | ||||
4 | |||||
5 | |||||
6 | PASS testDiv.style['z-index'] is "" | ||||
7 | testDiv.style['z-index'] = 'calc(-2 * 3)' | ||||
8 | PASS testDiv.style['z-index'] is "calc(-6)" | ||||
9 | PASS window.getComputedStyle(testDiv).getPropertyValue('z-index') is "-6" | ||||
10 | PASS successfullyParsed is true | ||||
11 | |||||
12 | TEST COMPLETE | ||||
13 |