Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/4c4b57d5113563b054bcede735b46f18003c98e5
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/4c4b57d5113563b054bcede735b46f18003c98e5
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/4c4b57d5113563b054bcede735b46f18003c98e5

The branch, master has been updated
       via  4c4b57d5113563b054bcede735b46f18003c98e5 (commit)
      from  48d0a48cfcef6aab2f9acd2ae450b386be1e555e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=4c4b57d5113563b054bcede735b46f18003c98e5
commit 4c4b57d5113563b054bcede735b46f18003c98e5
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    HTML redraw: Never draw box scrollbars for textareas.
    
    The scrollbars for textareas are rendered by the widget.
    
    This stops us from putting broken scrollbars over the top of the
    textarea's own scrollbars.

diff --git a/content/handlers/html/html_redraw.c 
b/content/handlers/html/html_redraw.c
index 0d2f6b5..a60f44e 100644
--- a/content/handlers/html/html_redraw.c
+++ b/content/handlers/html/html_redraw.c
@@ -1841,6 +1841,7 @@ bool html_redraw_box(const html_content *html, struct box 
*box,
        /* scrollbars */
        if (((box->style && box->type != BOX_BR &&
              box->type != BOX_TABLE && box->type != BOX_INLINE &&
+             (box->gadget == NULL || box->gadget->type != GADGET_TEXTAREA) &&
              (overflow_x == CSS_OVERFLOW_SCROLL ||
               overflow_x == CSS_OVERFLOW_AUTO ||
               overflow_y == CSS_OVERFLOW_SCROLL ||


-----------------------------------------------------------------------

Summary of changes:
 content/handlers/html/html_redraw.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/content/handlers/html/html_redraw.c 
b/content/handlers/html/html_redraw.c
index 0d2f6b5..a60f44e 100644
--- a/content/handlers/html/html_redraw.c
+++ b/content/handlers/html/html_redraw.c
@@ -1841,6 +1841,7 @@ bool html_redraw_box(const html_content *html, struct box 
*box,
        /* scrollbars */
        if (((box->style && box->type != BOX_BR &&
              box->type != BOX_TABLE && box->type != BOX_INLINE &&
+             (box->gadget == NULL || box->gadget->type != GADGET_TEXTAREA) &&
              (overflow_x == CSS_OVERFLOW_SCROLL ||
               overflow_x == CSS_OVERFLOW_AUTO ||
               overflow_y == CSS_OVERFLOW_SCROLL ||


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to