aboutsummaryrefslogtreecommitdiff
path: root/src/css.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-24 21:22:19 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-24 21:22:19 +0100
commitc5b1f578e612e3265a6d45fbe9a421363ae01b41 (patch)
treec617c9fe636ad198fcb6e5fd2db61a2263fee5d0 /src/css.cc
parentd801cfc657a803ee607e3f498b7b4ba4016c1381 (diff)
convert <samp>, <kbd>, <u>, <strike> handling
Diffstat (limited to 'src/css.cc')
-rw-r--r--src/css.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/css.cc b/src/css.cc
index 8ecad167..88200f5b 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -195,6 +195,7 @@ 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;} "
+ "u {text-decoration: underline } "
"small, sub, sup { font-size: 0.83em } "
"sub { vertical-align: sub } "
"sup { vertical-align: super } "
@@ -202,7 +203,7 @@ void CssContext::buildUserAgentStyle () {
"table {border-top-style: outset; border-spacing: 1px} "
"td {border-top-style: inset; padding: 2px;} "
"thead, tbody, tfoot { vertical-align: middle }"
- "tt, pre {font-family: courier;} ";
+ "tt, pre, samp, kbd {font-family: courier;} ";
a_Css_parse (this, cssBuf, strlen (cssBuf), 0, CSS_ORIGIN_USER_AGENT);
}