Closed
Bug 283255
Opened 20 years ago
Closed 20 years ago
Absolute element are not positioned relative to their containing blocks
Categories
(Core :: Layout: Positioned, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: laurent, Unassigned)
Details
Attachments
(1 file)
|
867 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Galeon/1.3.19 (Debian package 1.3.19-1ubuntu1) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Galeon/1.3.19 (Debian package 1.3.19-1ubuntu1) The CSS2.1 specs says: "In the absolute positioning model, a box is explicitly offset with respect to its containing block.". But it looks like the offset is relative to the page, and not the containing box. Reproducible: Always Steps to Reproduce: See the attached test case. Actual Results: The absolute red box is in the top left corner of the page. Expected Results: The absolute red box should be in the top left corner of the box with text in it.
| Reporter | ||
Comment 1•20 years ago
|
||
See the definition of containing block: http://www.w3.org/TR/2004/CR-CSS21-20040225/visudet.html#containing-block-details
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Summary: Absolute element aer not positioned relative to their containing blocks → Absolute element are not positioned relative to their containing blocks
| Reporter | ||
Comment 3•20 years ago
|
||
Indeed, I missed that definition, I had only looked at http://www.w3.org/TR/2004/CR-CSS21-20040225/visuren.html#containing-block Sorry for the burden.
You need to log in
before you can comment on or make changes to this bug.
Description
•