OLD | NEW |
| (Empty) |
1 Test that frame flattening is not used for tiny frames. This test requires DRT o
r user agent with flattening enabled. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 testFrame0 | |
7 PASS getComputedStyle(frame, 0).width is '0px' | |
8 PASS getComputedStyle(frame, 0).height is '0px' | |
9 testFrame1 | |
10 PASS getComputedStyle(frame, 0).width is '1px' | |
11 PASS getComputedStyle(frame, 0).height is '1px' | |
12 testFrame2 | |
13 PASS getComputedStyle(frame, 0).width is '7px' | |
14 PASS getComputedStyle(frame, 0).height is '7px' | |
15 testFrame3 | |
16 PASS getComputedStyle(frame, 0).width is '400px' | |
17 PASS getComputedStyle(frame, 0).height is '400px' | |
18 testFrame4 | |
19 PASS getComputedStyle(frame, 0).width is '0px' | |
20 PASS getComputedStyle(frame, 0).height is '100px' | |
21 testFrame5 | |
22 PASS getComputedStyle(frame, 0).width is '100px' | |
23 PASS getComputedStyle(frame, 0).height is '0px' | |
24 testFrame6 | |
25 PASS getComputedStyle(frame, 0).width is '100px' | |
26 PASS getComputedStyle(frame, 0).height is '2px' | |
27 testFrame7 | |
28 PASS getComputedStyle(frame, 0).width is '2px' | |
29 PASS getComputedStyle(frame, 0).height is '100px' | |
30 testFrame8 | |
31 PASS getComputedStyle(frame, 0).width is '2px' | |
32 PASS getComputedStyle(frame, 0).height is '150px' | |
33 testFrame9 | |
34 PASS getComputedStyle(frame, 0).width is '300px' | |
35 PASS getComputedStyle(frame, 0).height is '2px' | |
36 testFrame10 | |
37 PASS getComputedStyle(frame, 0).width is '400px' | |
38 PASS getComputedStyle(frame, 0).height is '400px' | |
39 testFrame11 | |
40 PASS getComputedStyle(frame, 0).width is '400px' | |
41 PASS getComputedStyle(frame, 0).height is '400px' | |
42 PASS successfullyParsed is true | |
43 | |
44 TEST COMPLETE | |
45 | |
OLD | NEW |