Closed Bug 190063 Opened 23 years ago Closed 23 years ago

height,bottom, and related vertical positional properties calculate based on window instead of page

Categories

(Core :: Layout, defect)

x86
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 105286

People

(Reporter: billy, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3b) Gecko/20030122 Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3b) Gecko/20030122 This is the first time I'm submitting a bug here so I apologize for any mistakes before hand, especially if this isn't a bug, but a feature. =) I created a page that couldn't be displayed all at onece in my mozilla window (ie. I get a vertical scrollbar). In this page I have a body element which has a large list and 3 div objects. 2 use position:absolute and 1 uses float:right. The float:right div element in standards mode w/ height:100%; behaves as though height:auto; was set. I assume this is correct behavior(?). The other 2 div elements which use position:absolute (and the float:right under quirks mode) seem to calculate vertical positional properties based on the size of the mozilla window instead of the size of the page. position:absolute 1 uses height:100%;top:0px; but the block ends at the end of the window, not at the end of the page. position:absolute 2 uses bottom:0px; and again the block appears at the bottom of the window instead of the bottom of the page. Reproducible: Always Steps to Reproduce: 1. load test page 2. 3. Actual Results: What I described in Details Expected Results: I expected the vertical positional properties to be based on the actual page size, not the window size.
My DSL is always reliable so this is the test page I used.
> The float:right div element in standards mode w/ height:100%; behaves as > though height:auto; was set. I assume this is correct behavior(?). Yes, if its parent is height:auto. See http://www.w3.org/TR/CSS21/visudet.html#propdef-height > The other 2 div elements which use position:absolute (and the float:right > under quirks mode) seem to calculate vertical positional properties based on > the size of the mozilla window instead of the size of the page. This is likely to be the way CSS2.1 and CSS3 specify it.... The second issue is covered by bug 105286 ("absolutely positioned 100% height div has height of viewport, not root element? [containing block]") *** This bug has been marked as a duplicate of 105286 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: