Closed Bug 565732 Opened 15 years ago Closed 15 years ago

Scrolling broken when JS disabled on this page

Categories

(Core :: Layout, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 295020

People

(Reporter: catlee, Unassigned)

References

()

Details

STR: 1: Install NoScript 2: Visit http://android-developers.blogspot.com/2010/05/twitter-for-android-closer-look-at.html 3: Try and scroll article with mouse wheel It's impossible to scroll this article with the mouse wheel, and no scroll bar is visible on the page. It is possible to scroll the article with the cursor keys, or with the space bar, or pgup/pgdown. Using NoScript's 'Allow all this page' makes a scroll bar visible, and enables scrolling with the mouse wheel.
Isn't this just a matter of them applying overflow:hidden in their CSS (which they do) and then setting up the scrollable area via JS (by setting a restricted height on <div id="doc-content"> via JS setting inline style)? As in, pure crappy web design.
Looking in DOMi I see that the style on the body is set to overflow:hidden. Being able to scroll with only the keyboard in that case is bug 295020. Otherwise I'm thinking like Boris.
Good point. Crappy web design, it is! I'm going to mark this as a dupe of bug 295020, because I think what caused Chris wondering if this is a bug in our code was that he could scroll using the keyboard, but not using the mouse.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.