font-size-computed.html
Details
- Test
/css/css-fonts/parsing/font-size-computed.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | xx-small <= x-small |
| PASS | x-small <= small |
| PASS | small <= medium |
| PASS | medium <= large |
| PASS | large <= x-large |
| PASS | x-large <= xx-large |
| PASS | xx-large <= xxx-large |
| PASS | inherit <= larger |
| PASS | smaller <= inherit |
| PASS | Property font-size value '10px' |
| PASS | Property font-size value '20%' |
| PASS | Property font-size value 'calc(30% - 40px)' |
| PASS | Property font-size value 'calc(30% + 40px)' |
| PASS | Property font-size value 'calc(10px - 0.5em)' |
| PASS | Property font-size value 'calc(10px + 0.5em)' |
| FAIL | <font size="2"> is font-size: small assert_equals: expected "16px" but got "13px" |
| PASS | <font size="3"> is font-size: medium |
| FAIL | <font size="4"> is font-size: large assert_equals: expected "16px" but got "18px" |
| FAIL | <font size="5"> is font-size: x-large assert_equals: expected "16px" but got "24px" |
| FAIL | <font size="6"> is font-size: xx-large assert_equals: expected "16px" but got "32px" |
| FAIL | <font size="7"> is font-size: xxx-large assert_equals: expected "16px" but got "48px" |