Closed
Bug 3894
Opened 26 years ago
Closed 26 years ago
CSS - Body border does not contain absolutely positioned paragraph
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: christinehoff4, Assigned: troy)
References
()
Details
Using 3/16 build on Win 95, Win 98, Win NT, Mac 8.5 and Linux.
Open URL. There is a paragraph within the body. The body is bordered in red; the
paragraph in green. The paragraph is positioned absolutely 50 pixels from the
left and 65 pixels from the top with respect to its containing box which is the
body.
Expected result: Bordered body should encompass bordered paragraph.
Actual result: Bordered paragraph displays outside bordered body.
Updated•26 years ago
|
Assignee: peterl → troy
Component: Style System → Layout
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Your test is wrong. The containing block is the HTML element (see the CSS2 spec
and lookup "initial containing block")
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 2•26 years ago
|
||
Yup, Troy is right.
Reporter | ||
Comment 3•26 years ago
|
||
Verified fixed by py8ieh=bugzilla@bath.ac.uk but I requested additional
information from same regarding bug.
Reporter | ||
Updated•26 years ago
|
Whiteboard: Requested additional information from py8ieh=bugzilla@bath.ac.uk regarding this bug
Updated•25 years ago
|
Whiteboard: Requested additional information from py8ieh=bugzilla@bath.ac.uk regarding this bug
Comment 4•25 years ago
|
||
Requested information was, I believe, given a long time ago, so I am wiping
the status whiteboard to prevent it from coming up on my queries.
Reporter | ||
Comment 5•25 years ago
|
||
Yes, I understand since I wrote the bug up. In this case, the containing block
would be the BODY only if there was a padding value. Since BODY has no padding
value, the content edge of the root element's box (HTML element) defines the
containing block.
You need to log in
before you can comment on or make changes to this bug.
Description
•