Closed Bug 128418 Opened 23 years ago Closed 22 years ago

Relative positioned div clipped offscreen without scrollbar

Categories

(Core :: Layout, defect, P4)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: thomas.ziehm, Assigned: attinasi)

References

Details

Attachments

(1 file)

<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
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
er... this is layout.
Assignee: dbaron → attinasi
Component: Style System → Layout
QA Contact: ian → petersen
Attached file testcase (deleted) —
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...
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
Target Milestone: --- → Future
Blocks: 38639
*** Bug 157947 has been marked as a duplicate of this bug. ***
Platform/OS -> All due to information in bug 157947.
OS: Windows 2000 → All
Hardware: PC → All
*** Bug 168440 has been marked as a duplicate of this bug. ***
Keywords: qawanted
QA Contact: petersen → ian
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?
Works for me, Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030402
This almost certainly got fixed when bug 174149 got fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Keywords: qawanted
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: