Closed
Bug 269746
Opened 20 years ago
Closed 20 years ago
Containing box for absolutely positioned element wrong when no positioned ancestor
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
DUPLICATE
of bug 243519
People
(Reporter: liorean, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Mozilla gets the contaning box wrong for absolutely positioned elements when the element haven't got any positioned ancestor. It uses root instead of the initial containing box, which means that a border on the root offsets tbe absolutely positioned element, when in fact it should be positioned relative to the box within which the root element and it's border is drawn. Correct behaviour would have the fixed positioned element and the absolutely positioned element in the same place when the testcase is top scrolled. Reproducible: Always Steps to Reproduce:
Comment 1•20 years ago
|
||
Note that this changed in the spec from CSS 2.0 to CSS 2.1. We haven't had a chance to implement the 2.1 version yet. *** This bug has been marked as a duplicate of 243519 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•