[Webkit-unassigned] [Bug 22769] scrolling allowed when overflow:hidden

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 4 16:40:45 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=22769





------- Comment #3 from rniwa at google.com  2009-06-04 16:40 PDT -------
According to CSS2.1 (11.1.1):
overflow: hidden
This value indicates that the content is clipped and that no scrolling user
interface should be provided to view the content outside the clipping region.

With the following markup, users can see "this content appears below window" by
dragging the entire document downwards from left upper corner.  While WebKit's
behavior confirms with that of Internet Explorer 8, it differs from that of
Firefox, which does not allow users to see the text.
<html>
<style type="text/css">

body {overflow: hidden;}

#c_overflow { position: relative; margin: 100% 0px 200px 0px; }

#c_fixed { position: fixed; top: 100px; left: 100px; }

</style>
<body>
<div id="c_fixed">this content appears at (100,100)</div>
<div id="c_overflow">this content appears below window</div>
</body>
</html>


-- 
Configure bugmail: https://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