Closed Bug 187287 Opened 22 years ago Closed 22 years ago

css position relative causes object to be clipped by browser

Categories

(Core :: Layout: Positioned, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 174149

People

(Reporter: jconnolly, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212 When positioning an object using "position: relative" the object is clipped by the browser. When scroll bars are aded to the browser as it is resized the object is not within the region exposed by the scroll bars. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/REC-html401/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Language" content="en"> <link rel="STYLESHEET" type="text/css" href="PositionDemo.css"> <title>CSS Position Demo</title> <style type="text/css"> div.container { width: 200px; position: relative; top: 100px; left: 100px; border: 3px solid red; } .content { position: static; padding: 10px; margin: 0px; border: 3px solid blue; } </style> </head> <body> <div class="container"> <div class="content"> this text is "position:&nbsp;static" in a container using "position:&nbsp;relative" </div> <div class="content"> this text is "position:&nbsp;static" in a container using "position:&nbsp;relative" </div> <div class="content"> this text is "position:&nbsp;static" in a container using "position:&nbsp;relative" </div> </div> </body> </html> Reproducible: Always Steps to Reproduce: 1.create object using "position: relative" 2.resize browser to be smaller than object 3. Actual Results: object was clipped Expected Results: I epected scroll bars to be generated if the object was not within the broser viewport.
Attachment #110420 - Attachment mime type: text/html → application/x-zip
Attachment #110420 - Attachment mime type: application/x-zip → application/zip
Fixed since mozilla1.3alpha. *** This bug has been marked as a duplicate of 174149 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: