Closed
Bug 304222
Opened 19 years ago
Closed 19 years ago
DIV is squished if positioned beyond the width of the viewable area
Categories
(Core :: Layout: Positioned, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: u151698, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
315 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050809 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050809 Firefox/1.0+ For example, on an 800x600 screen, and with a document wider than that, say 1024 horizontally (enough room for the div), if I position the div on 810, the div is compressed. This occurs in Deer Park 20050809 and FireFox 1.06. Reproducible: Always Steps to Reproduce:
Example. Both should be identical, but only left is fine, and right is squished.
Comment 2•19 years ago
|
||
The containing block is not the block with the dashed border as you might think. It's the "initial containing block" which has the size of the viewport. See http://www.w3.org/TR/CSS21/visudet.html#containing-block-details You can add "position:relative" to the dashed block if you want it to be the containing block for the inner DIVs. The layout is correct given the markup/styling. -> INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•