Closed Bug 57682 Opened 24 years ago Closed 24 years ago

Border of HTML element not being limited to height of element.

Categories

(Core :: Layout, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED DUPLICATE of bug 15405

People

(Reporter: val, Assigned: clayton)

Details

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD NetscapeOnline.co.uk  (Win98; I)
BuildID:    2000101014

If the HTML element is given a height which is _less_ than the height of the 
viewport, while the actual height of the element is correct, a 'border' on that 
element will still extend to the full height of the viewport.


Reproducible: Always
Steps to Reproduce:
In the attached testcase the HTML and BODY elements have the following styles:

html {height:100px; width:200px; border:thick solid green}
body {height:100%; width:100%; margin:0; border:thick solid red}


Notice that the border (green) of the HTML element is 200px wide, but extends to 
the full height of the viewport. 
However, the BODY element (red border) shows that the height is actually only 
100px as specified.                            

Expected Results:  The border of the HTML element should be limited to the 
specified height of the element.
Good catch.

*** This bug has been marked as a duplicate of 15405 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verifying as a duplicate of 15405
'Root element is stretching vertically to fit the viewport [BG]'
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: