mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Add support for font-size relative size keywords. Fix #3423
This commit is contained in:
parent
4c6e64dc7c
commit
eabb8d4f29
3 changed files with 19 additions and 12 deletions
|
@ -4,6 +4,8 @@
|
|||
<p style="font-size: 32px">24pt is 32px.
|
||||
<p style="font-size: 40px">2em is 40px.
|
||||
<p style="font-size: 40px">200% is 40px.
|
||||
<p style="font-size: 17px">smaller is 17px.
|
||||
<p style="font-size: 24px">larger is 24px.
|
||||
<p style="font-size: 9.6px">xx-small is 9.6px.
|
||||
<p style="font-size: 12px">x-small is 12px.
|
||||
<p style="font-size: 14.2222222222222222222222222222px">small is 14.2222…px.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue