From 415a9c17ea71a0b4b53bbda1c39e495cf7ae2d1b Mon Sep 17 00:00:00 2001 From: Jorge Arellano Cid Date: Sat, 13 Nov 2010 13:15:55 -0300 Subject: Full CSS border-style implementation The drawBorder{Top,Bottom,Left,Right} functions are similar. They use a trapezium as draw polygon, or drawTypedLine() for dots and dashes. Although the concept is simple, achieving pixel accuracy is laborious [1]. [1] http://www.dillo.org/css_compat/tests/border-style.html --- src/css.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/css.cc') diff --git a/src/css.cc b/src/css.cc index b791ba0c..cb0864fd 100644 --- a/src/css.cc +++ b/src/css.cc @@ -609,7 +609,7 @@ void CssContext::buildUserAgentStyle () { "sub {vertical-align: sub}" "sup {vertical-align: super}" "s, strike, del {text-decoration: line-through}" - "table {border-spacing: 1px}" + "table {border-spacing: 2px}" "td, th {padding: 2px}" "thead, tbody, tfoot {vertical-align: middle}" "th {font-weight: bolder; text-align: center}" -- cgit v1.2.3