Closed Bug 2993 Opened 26 years ago Closed 26 years ago

gaps with absolute positioning of auto

Categories

(Core :: Layout, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: troy)

References

()

Details

When absolute positioning is used, something like top:auto creates a strange
gap that I don't understand.  It's probably OK by the spec (because the spec is
necessarily vague for other reasons), but that doesn't mean it should be there.
See the <P class="nine"> in the above URL and also, in
http://www.fas.harvard.edu/~dbaron/csstest/sec090302c.html , examples of class
nine, nineb, and nined (and currently more because bottom isn't working).
Summary: gaps at top with absolute positioning of auto → gaps with absolute positioning of auto
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
This is fixed now. That strange gap was because when the 'placeholder' frame's
position was being translated back into the coordinate space of the containing
block it was left relative to the containing block's border edge instead of the
containing block's padding edge like it should be. So I added some code to
translate by the containing block's 'border'
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.