Closed Bug 137294 Opened 24 years ago Closed 24 years ago

overflow CSS attribute ignored for BODY element

Categories

(Core :: DOM: CSS Object Model, defect)

All
Windows 98
defect
Not set
major

Tracking

()

CLOSED DUPLICATE of bug 11224

People

(Reporter: lupufr, Assigned: jst)

Details

overflow CSS attribute when set to hidden (overflow:hidden) and applied to BODY element (<body style="overflow:hidden">) does not prevent scrollbars from appearing. It does work for DIV and TEXTAREA elements. In IE 5, it works for all 3 elements. As scroll="no" is an IE extention, there is no way to suppress scrollbars for the whole page in Mozilla.
Read the first comment by troy in bug 11224 for an explanation. *** This bug has been marked as a duplicate of 11224 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Reporter: Bug 76197 may interest you.
Hi guys, I just want to be sure. As this *bug* seems to be a duplicate of 11224, I read and saw that 11224 has an INVALID status which for me means that it is not a bug (or at least that Mozilla team considers that it is not a bug) and it won't be fixed. Am I right here ?
Benjamin: Yes, you are correct. (VERIFIED DUPLICATE. See bug 11224 comment 1 for details.)
Status: RESOLVED → VERIFIED
Ok - Just to let you know the following : 0.9.9+ builds (tested with build from 04/14/2002) resolve the bug. Overflow rule is now correctly interpreted by Gecko for the BODY element. Note that for lower versions, you may use the following workaround : <body style="width:100%;height:100%;overflow:hidden;margin: 0px 0px 0px 0px;"> Finally, it seems that the no-bug has been fixed :-) Thank to all for answers :-)
Status: VERIFIED → CLOSED
You need to log in before you can comment on or make changes to this bug.