OLD | NEW |
(Empty) | |
| 1 Test that font-weight: bolder and font-weight: lighter behave according to spec. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS getComputedStyle(outer).fontWeight is "100" |
| 7 PASS getComputedStyle(bolder).fontWeight is "normal" |
| 8 PASS getComputedStyle(lighter).fontWeight is "100" |
| 9 PASS getComputedStyle(outer).fontWeight is "200" |
| 10 PASS getComputedStyle(bolder).fontWeight is "normal" |
| 11 PASS getComputedStyle(lighter).fontWeight is "100" |
| 12 PASS getComputedStyle(outer).fontWeight is "300" |
| 13 PASS getComputedStyle(bolder).fontWeight is "normal" |
| 14 PASS getComputedStyle(lighter).fontWeight is "100" |
| 15 PASS getComputedStyle(outer).fontWeight is "normal" |
| 16 PASS getComputedStyle(bolder).fontWeight is "bold" |
| 17 PASS getComputedStyle(lighter).fontWeight is "100" |
| 18 PASS getComputedStyle(outer).fontWeight is "normal" |
| 19 PASS getComputedStyle(bolder).fontWeight is "bold" |
| 20 PASS getComputedStyle(lighter).fontWeight is "100" |
| 21 PASS getComputedStyle(outer).fontWeight is "500" |
| 22 PASS getComputedStyle(bolder).fontWeight is "bold" |
| 23 PASS getComputedStyle(lighter).fontWeight is "100" |
| 24 PASS getComputedStyle(outer).fontWeight is "600" |
| 25 PASS getComputedStyle(bolder).fontWeight is "900" |
| 26 PASS getComputedStyle(lighter).fontWeight is "normal" |
| 27 PASS getComputedStyle(outer).fontWeight is "bold" |
| 28 PASS getComputedStyle(bolder).fontWeight is "900" |
| 29 PASS getComputedStyle(lighter).fontWeight is "normal" |
| 30 PASS getComputedStyle(outer).fontWeight is "bold" |
| 31 PASS getComputedStyle(bolder).fontWeight is "900" |
| 32 PASS getComputedStyle(lighter).fontWeight is "normal" |
| 33 PASS getComputedStyle(outer).fontWeight is "800" |
| 34 PASS getComputedStyle(bolder).fontWeight is "900" |
| 35 PASS getComputedStyle(lighter).fontWeight is "bold" |
| 36 PASS getComputedStyle(outer).fontWeight is "900" |
| 37 PASS getComputedStyle(bolder).fontWeight is "900" |
| 38 PASS getComputedStyle(lighter).fontWeight is "bold" |
| 39 PASS successfullyParsed is true |
| 40 |
| 41 TEST COMPLETE |
| 42 |
OLD | NEW |