diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-10-01 16:12:16 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-10-01 16:12:16 +0200 |
commit | 47a9e5206c2f6d7775198533a70cb40013b467f2 (patch) | |
tree | 4b02a821d99ac8aeb4750e4ad9ad1a2c2c25ef48 /src/css.cc | |
parent | 43bba3831700cf45fab30c913e6af38a4e67d9ef (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.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}" |