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)

All
Windows 95
defect

Tracking

()

VERIFIED INVALID

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.
Attached file attached gif for test cases (deleted) —
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
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.
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.

Attachment

General

Created:
Updated:
Size: