Add support for font-size relative size keywords. Fix #3423

This commit is contained in:
Simon Sapin 2014-09-22 17:00:00 +01:00
parent 4c6e64dc7c
commit eabb8d4f29
3 changed files with 19 additions and 12 deletions

View file

@ -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.