| Test that viewport lengths and font sizes properly resize with the viewport. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| PASS innerWidth is 800 |
| PASS innerHeight is 600 |
| PASS getComputedStyle(test).fontSize is "30px" |
| PASS getComputedStyle(test).width is "400px" |
| PASS getComputedStyle(testpseudo, ':after').marginLeft is "120px" |
| PASS getComputedStyle(testpseudo, ':after').paddingRight is "200px" |
| PASS innerWidth is 900 |
| PASS innerHeight is 600 |
| PASS getComputedStyle(test).fontSize is "30px" |
| PASS getComputedStyle(test).width is "450px" |
| PASS getComputedStyle(testpseudo, ':after').marginLeft is "120px" |
| PASS getComputedStyle(testpseudo, ':after').paddingRight is "225px" |
| PASS innerWidth is 900 |
| PASS innerHeight is 640 |
| PASS getComputedStyle(test).fontSize is "32px" |
| PASS getComputedStyle(test).width is "450px" |
| PASS getComputedStyle(testpseudo, ':after').marginLeft is "128px" |
| PASS getComputedStyle(testpseudo, ':after').paddingRight is "225px" |
| PASS innerWidth is 500 |
| PASS innerHeight is 640 |
| PASS getComputedStyle(test).fontSize is "32px" |
| PASS getComputedStyle(test).width is "250px" |
| PASS getComputedStyle(testpseudo, ':after').marginLeft is "100px" |
| PASS getComputedStyle(testpseudo, ':after').paddingRight is "160px" |
| PASS innerWidth is 800 |
| PASS innerHeight is 600 |
| PASS getComputedStyle(test).fontSize is "30px" |
| PASS getComputedStyle(test).width is "400px" |
| PASS getComputedStyle(testpseudo, ':after').marginLeft is "120px" |
| PASS getComputedStyle(testpseudo, ':after').paddingRight is "200px" |
| |