[Webkit-unassigned] [Bug 16520] [GTK] Acid2 has scrollbar; doesn't quite pass the test

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 18 05:38:03 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=16520


marco.barisione at collabora.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marco.barisione at collabora.co
                   |                            |.uk




------- Comment #3 from marco.barisione at collabora.co.uk  2008-03-18 05:38 PDT -------
The problem is visible when you are using real GTK scrollbars but not when you
are using ScrollViewScrollbar (such as when the page with overflow:hidden is
inside an iframe).

Fixing the overflow:hidden bug is easy, you only have to set the GtkAdjustament
so that the GtkScrolledWindow thinks that everything fits in a the page.

Instead it isn't so easy to fix the problem when using overflow:scroll as you
cannot easily force the scrolled window to have the scroll bars even if not
needed.

I can see two solutions:
1) Emit a signal from the webview to ask for a change in the scroll bar
visibility policy. This sucks because you have to add code everytime you use a
WebView.
2) Try to access the parent and if it's a scrolled view change the scrollbar
policy. This sucks because it's just a workaround.

Suggestions?


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list