Closed
Bug 128418
Opened 23 years ago
Closed 22 years ago
Relative positioned div clipped offscreen without scrollbar
Categories
(Core :: Layout, defect, P4)
Core
Layout
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: thomas.ziehm, Assigned: attinasi)
References
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
<div style="position:relative; top:35em;">
------------------------------------------ 1<br>
------------------------------------------ 2<br>
------------------------------------------ 3<br>
------------------------------------------ 4<br>
------------------------------------------ 5<br>
------------------------------------------ 6<br>
------------------------------------------ 7<br>
------------------------------------------ 8<br>
------------------------------------------ 9<br>
------------------------------------------ 0<br>
</div>
I got no (vertical) scrollbar ... is this normal ? Ok the IE also display's no
scrollbar. But if I use a table construct the IE shows the vertical scrollbar
but not the mozilla. Is there a HTML / CSS Tag I forgot to use. I
tried "overflow" (CSS 2.0) but nothing happened ...
Perhaps you have to change the "top:35em" part to got the correct position,
partly outside the frame ...
Bye
Comment 1•23 years ago
|
||
it works with position:absolute
-> Style System
Can you attach a "table construct" testcase ?
(Use the "Create New Attachment link")
Assignee: karnaze → dbaron
Component: HTMLTables → Style System
QA Contact: amar → ian
Comment 2•23 years ago
|
||
er... this is layout.
Assignee: dbaron → attinasi
Component: Style System → Layout
QA Contact: ian → petersen
Comment 3•23 years ago
|
||
Attaching a testcase :-)
The issue here is that the <div> box is not large (height) enough to take up
more than the viewport so no scroll bar is triggered for mozilla (IE also).
Because the div is positioned to a point where most is hidden below the
viewport, you can't see the whole div. If you change the position from
relative to absolute, mozilla (and IE) adds the scrollbar.
If this is confirmed as a new rendering bug can someone please change the
summary because it seems wrong. This sounds better to me -- Relative positioned
div clipped offscreen without scrollbar...
Comment 4•23 years ago
|
||
Confirming in the March 1 OS X build (2002-03-01-03)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P4
Summary: DHTML, CSS, absolute positions of HTML Constructs/Elemts (<DIV>) → Relative positioned div clipped offscreen without scrollbar
Updated•23 years ago
|
Target Milestone: --- → Future
Comment 5•22 years ago
|
||
*** Bug 157947 has been marked as a duplicate of this bug. ***
Comment 6•22 years ago
|
||
Platform/OS -> All due to information in bug 157947.
OS: Windows 2000 → All
Hardware: PC → All
Comment 7•22 years ago
|
||
*** Bug 168440 has been marked as a duplicate of this bug. ***
Comment 8•22 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.3) Gecko/20030310
If I understand this correctly, then this seems to work in 1.3. Could someone
verify?
Comment 9•22 years ago
|
||
Works for me,
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030402
Comment 10•22 years ago
|
||
This almost certainly got fixed when bug 174149 got fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•