aboutsummaryrefslogtreecommitdiff
path: root/src/css.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-14 17:02:48 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-14 17:02:48 +0100
commitb4164934226d7e5895485a0819c3e3a9f8572de7 (patch)
tree4e28fe131c0ddf8bcec1b93c479eb0e9b724e63e /src/css.cc
parent0432c12a7094b502d30e5212dc1015c6e2640947 (diff)
support <sub> and <sup>
Diffstat (limited to 'src/css.cc')
-rw-r--r--src/css.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/css.cc b/src/css.cc
index 7bdf6e32..1f7899d0 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -194,6 +194,9 @@ void CssContext::buildUserAgentStyle () {
"h4 {margin-top: 1.12em; margin-bottom: 0em;} "
"h5 {font-size: 0.83em; margin-top: 1.5em; margin-bottom: 0em;} "
"h6 {font-size: 0.75em; margin-top: 1.67em; margin-bottom: 0em;} "
+ "small, sub, sup { font-size: 0.83em } "
+ "sub { vertical-align: sub } "
+ "sup { vertical-align: super } "
"table {border-top-style: outset} "
"td {border-top-style: inset} "
"tt, pre {font-family: courier;} ";