diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-04-16 13:32:42 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-04-16 13:32:42 +0000 |
commit | a018a75d6703a05840925313792078311e784a23 (patch) | |
tree | 694b77942d2d2265526783bdf28b4d4787286fce /css | |
parent | 59c21c033adbbcbb94bc539cc84f6b5580b7abff (diff) | |
download | netsurf-a018a75d6703a05840925313792078311e784a23.tar.gz netsurf-a018a75d6703a05840925313792078311e784a23.tar.bz2 |
Border width hint is concerned with border attribute, not width attribute. Fixes table borders.
svn path=/trunk/netsurf/; revision=13874
Diffstat (limited to 'css')
-rw-r--r-- | css/select.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/css/select.c b/css/select.c index 918eeab0e..026aedc7c 100644 --- a/css/select.c +++ b/css/select.c @@ -2208,8 +2208,7 @@ node_presentational_hint_border_trbl_width(nscss_select_ctx *ctx, lwc_string_unref(qs.name); if (tablenode != NULL) { exc = dom_element_get_attribute(tablenode, - nscss_dom_string_width, - &width); + nscss_dom_string_border, &width); if (exc != DOM_NO_ERR) { dom_string_unref(name); return CSS_BADPARM; @@ -2220,8 +2219,8 @@ node_presentational_hint_border_trbl_width(nscss_select_ctx *ctx, */ is_table_cell = true; } else if (dom_string_isequal(name, nscss_dom_string_table)) { - exc = dom_element_get_attribute(node, nscss_dom_string_width, - &width); + exc = dom_element_get_attribute(node, nscss_dom_string_border, + &width); if (exc != DOM_NO_ERR) { dom_string_unref(name); return CSS_BADPARM; |