Closed
Bug 7817
Opened 25 years ago
Closed 25 years ago
Background gif is centered on page, not in BODY element
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
INVALID
M7
People
(Reporter: christinehoff4, Assigned: peterl-retired)
Details
Attachments
(2 files)
Using 6/8 Apprunner on Win 95, Win 98, Win NT, Mac8.5 and Linux. Bug is cross
platform.
Open attached file (you may have to substitute an image if it did not get
attached). Background image is centered in the BODY element.
Expected result: image should be centered (50% horizontal, 50% vertical) in the
BODY box.
Actual result: image is centered on the page, not in the BODY box. Resize to
view problem.
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 3•25 years ago
|
||
As designed.
Due to legacy behavior and an unclear specification of rules applied to BODY &
HTML, backgrounds from BODY propogate upward to HTML and ultimately viewport if
no backgrounds are present on HTML and viewport.
This behavior has been approved by the CSS working group and will likely be
more formalized in a future version of the spec.
Reporter | ||
Comment 4•25 years ago
|
||
Yes, tested this by putting a background color to HTML. The spec seems odd but
verifying the bug as invalid. Thanks for the info, Peter.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•