diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-02-11 18:43:50 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-02-11 18:43:50 +0000 |
commit | bb601eae78edea07f73f509f65b52e5e8eca765d (patch) | |
tree | 96ea1c4cccb0aa93520ad5272371efcdb7e363d9 /render/layout.c | |
parent | 515cef8444fe531e8a89a7e39fb0cb01940a1488 (diff) | |
download | netsurf-bb601eae78edea07f73f509f65b52e5e8eca765d.tar.gz netsurf-bb601eae78edea07f73f509f65b52e5e8eca765d.tar.bz2 |
Don't reduce width of textarea box for CSS overflow scrollbar; it won't get one.
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/render/layout.c b/render/layout.c index 80d470c7a..d8aa2f7da 100644 --- a/render/layout.c +++ b/render/layout.c @@ -1488,8 +1488,6 @@ void layout_float_find_dimensions(int available_width, size = INTTOFIX(10); width = FIXTOINT(nscss_len2px(size, unit, box->style)); - } else { - width -= scrollbar_width; } if (height == AUTO) { size = INTTOFIX(4); |