diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2010-01-18 08:55:05 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2010-01-18 08:55:05 -0300 |
commit | a593fe8b62e148da741e8ce054f4b3bedcf81403 (patch) | |
tree | 42c11938246fb6b989c1df0f36794f3759fbb9b7 /src/css.cc | |
parent | 6c118637ea99f74c49803ac528d70a38c54bbd64 (diff) | |
parent | aa10e22a8530fcd4e4b18540a73ffc22c8d4610e (diff) |
merge
Diffstat (limited to 'src/css.cc')
-rw-r--r-- | src/css.cc | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -584,7 +584,13 @@ void CssContext::buildUserAgentStyle () { "td, th {border-style: inset; padding: 2px}" "thead, tbody, tfoot {vertical-align: middle}" "th {font-weight: bolder; text-align: center}" - "code, tt, pre, samp, kbd {font-family: monospace}"; + "code, tt, pre, samp, kbd {font-family: monospace}" + /* WORKAROUND: Reset font properties in tables as some + * some pages rely on it (e.g. gmail). + * http://developer.mozilla.org/En/Fixing_Table_Inheritance_in_Quirks_Mode + * has a detailed description of the issue. + */ + "table, caption {font-size: medium; font-weight: normal}"; CssParser::parse (NULL, NULL, this, cssBuf, strlen (cssBuf), CSS_ORIGIN_USER_AGENT); |