Treat font tag relative sizes of +/- >1 the same as one.

svn path=/trunk/netsurf/; revision=3817
This commit is contained in:
Michael Drake 2008-02-02 00:48:39 +00:00
parent 87c68e38eb
commit 477cfc8baf

View File

@ -134,8 +134,10 @@ font[size="4"] { font-size: large; }
font[size="5"] { font-size: x-large; }
font[size="6"] { font-size: xx-large; }
font[size="7"] { font-size: xx-large; }
font[size="-1"] { font-size: smaller; }
font[size="+1"] { font-size: larger; }
font[size="-1"], font[size="-2"], font[size="-3"], font[size="-4"],
font[size="-5"], font[size="-6"] { font-size: smaller; }
font[size="+1"], font[size="+2"], font[size="+3"], font[size="+4"],
font[size="+5"], font[size="+6"] { font-size: larger; }
hr { display: block; background-color: #000; height: 1px;
margin: 4px auto; border: 1px #d9d9d9 inset; }