Closed Bug 301782 Opened 19 years ago Closed 19 years ago

horizontal and vertical scrollbars are visible and scrollable when using style="padding: 100px; width: 100%; height: 100%;"

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 301779

People

(Reporter: pbspam, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

When rendering the following HTML/CSS, Firefox displays horizontal and vertical
scrollbars, while IE and Opera does not. (I "distilled" this bug from an actual
page.) However, when the width and height properties are removed, the page is
displayed correctly.

<div style="padding: 100px; width: 100%; height: 100%;">
Skldh hsdklfjhk d uirfihsad khf uahf sdfkjhauiwrhfaliuhf uiahrfwi uhafiduhawfh u
afwe uhal fuhafuh iaewlih ashuaweifh asfhuiaweh fhaihuahewfi hsufhauiwehfli a
fhwuelifauf hafhuewiflaiuha hufhawiuhl ahfuhlifh liu fhuewl fifah hfu iueh
hauewfhl aufh uhae fiuhaewuh iafuhi fuhlhaewiufhaewufhs hfuhfewiufh iyf sdhf
huewhfalewuh uihewlfuih alweuhf laiwuhel fuihe fiue fiuh.
</div>


Reproducible: Always

Steps to Reproduce:
1. Copy the code in Details to an empty html file.
2. Open it using Mozilla Firefox.
Actual Results:  
Horizontal and vertical scrollbars displayed.

Expected Results:  
Open the file in IE or Opera :-)

*** This bug has been marked as a duplicate of 301779 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.