Closed
Bug 168440
([Abs/RelPos:top>0])
Opened 22 years ago
Closed 22 years ago
Bottom of Absolute/Relative positioned <div> not accessible when having non-zero "top"... and content longer than viewport
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 128418
People
(Reporter: robs, Assigned: jag+mozilla)
References
()
Details
Attachments
(1 file)
(deleted),
application/xml
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.1) Gecko/20020826
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.1) Gecko/20020826
On this page there is a single <div> within the <body>. If this <div> is
absolutely positioned with non-zero "top" (80 used in the example) then if the
content of the div is longer than the viewport the bottom of the <div>will be
inaccessible in the browser window. The vertical scrollbar will "bottom-out"
before the content does.
If all content is visible and the bottom of the <div> is visible then collapsing
the viewport vertically will reproduce the problem. It is possible to cut-off
the bottom of the div WITHOUT introducing vertical scrollbars.
The amount of "page" missing in this way is equal to the value of "top" used.
The net result is that if a div has an actual height of say 320 pixels and is
offset by top: 80px; then assuming that the page consists only of this element,
the computed page height remains at 320... the 80px offset seems to be ignored.
IE5.1.5(Mac) gets the layout correct.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Expected Results:
IE5.1.5(Mac) gets the layout correct.
Not yet checked on other platforms except that Chimera (0.5.0) on MacOS X
displays the same problem as Mozilla 1.1.
Reporter | ||
Updated•22 years ago
|
Alias: [Abs/RelPos:top>0]
Comment 1•22 years ago
|
||
According to validator.w3.org:
Sorry, this document does not validate as XHTML 1.0 Transitional.
However the CSS used on the page is valid.
Confirmed using FizzillaCFM/2002091014 on 10.1.5. Reassigning to XP Toolkit/Widgets.
Assignee: attinasi → jaggernaut
Blocks: 38639
Status: UNCONFIRMED → NEW
Component: Layout → XP Toolkit/Widgets
Ever confirmed: true
QA Contact: petersen → jrgm
You need to log in
before you can comment on or make changes to this bug.
Description
•