aboutsummaryrefslogtreecommitdiff
path: root/src/css.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-01 16:12:16 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-01 16:12:16 +0200
commit47a9e5206c2f6d7775198533a70cb40013b467f2 (patch)
tree4b02a821d99ac8aeb4750e4ad9ad1a2c2c25ef48 /src/css.cc
parent43bba3831700cf45fab30c913e6af38a4e67d9ef (diff)
rework border-width handling
The initial value of border-width-* is "medium" not 0 (see http://www.w3.org/TR/CSS2/box.html#border-width-properties). Redo the border handling for tables to deal with this.
Diffstat (limited to 'src/css.cc')
-rw-r--r--src/css.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/css.cc b/src/css.cc
index 988d0dc6..5e6e1486 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -589,8 +589,8 @@ void CssContext::buildUserAgentStyle () {
"sub {vertical-align: sub}"
"sup {vertical-align: super}"
"s, strike, del {text-decoration: line-through}"
- "table {border-style: outset; border-spacing: 1px}"
- "td, th {border-style: inset; padding: 2px}"
+ "table {border-spacing: 1px}"
+ "td, th {padding: 2px}"
"thead, tbody, tfoot {vertical-align: middle}"
"th {font-weight: bolder; text-align: center}"
"code, tt, pre, samp, kbd {font-family: monospace}"