summaryrefslogtreecommitdiff
path: root/content/handlers
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-04-10 09:33:09 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2017-04-10 09:33:09 +0100
commit5d5081eb5788315f8ce7b60af05fe6d071672edd (patch)
tree5a003b721bf7db22ed695f4389ccd1339ba906b4 /content/handlers
parentabdab90859a7299b2cf7eb6c3f6e68df9d17d1d7 (diff)
downloadnetsurf-5d5081eb5788315f8ce7b60af05fe6d071672edd.tar.gz
netsurf-5d5081eb5788315f8ce7b60af05fe6d071672edd.tar.bz2
CSS: Handle presentational hint for HR's "width" attribute.
Diffstat (limited to 'content/handlers')
-rw-r--r--content/handlers/css/hints.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/handlers/css/hints.c b/content/handlers/css/hints.c
index 9fe9ffb12..9dfcf402b 100644
--- a/content/handlers/css/hints.c
+++ b/content/handlers/css/hints.c
@@ -1586,6 +1586,7 @@ css_error node_presentational_hint(void *pw, void *node,
css_hint_width(pw, node);
break;
case DOM_HTML_ELEMENT_TYPE_HR:
+ css_hint_width(pw, node);
css_hint_margin_left_right_hr(pw, node);
break;
case DOM_HTML_ELEMENT_TYPE_TEXTAREA: