CSS - Body border does not contain absolutely positioned paragraph

VERIFIED INVALID

Status

()

Core
Layout
P3
normal
VERIFIED INVALID
20 years ago
19 years ago

People

(Reporter: Christine Hoffman, Assigned: troy)

Tracking

Trunk
All
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

20 years ago
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

19 years ago
Assignee: peterl → troy
Component: Style System → Layout
(Assignee)

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → INVALID
(Assignee)

Comment 1

19 years ago
Your test is wrong. The containing block is the HTML element (see the CSS2 spec
and lookup "initial containing block")
Status: RESOLVED → VERIFIED
Yup, Troy is right.
(Reporter)

Comment 3

19 years ago
Verified fixed by py8ieh=bugzilla@bath.ac.uk but I requested additional
information from same regarding bug.
(Reporter)

Updated

19 years ago
Whiteboard: Requested additional information from py8ieh=bugzilla@bath.ac.uk regarding this bug
Whiteboard: Requested additional information from py8ieh=bugzilla@bath.ac.uk regarding this bug
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

19 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.