Closed
Bug 284412
Opened 20 years ago
Closed 19 years ago
Background body image in CSS wont show beyond 100% window height if sent as xml+xhtml
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 147436
People
(Reporter: gaiden, Assigned: bugzilla)
References
()
Details
User-Agent: Opera/7.53 (Windows NT 5.1; U) [en] Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 As seen on http://haxx.no/test.php and http://haxx.no. If a document is sent as application/xhtml+xml and has these CSS properties(see under), a background image on the body tag will not display beyond 100% of window/tab height. html, body { height: 100%; } body { background: url(image.jpg); } div#wrap { min-height: 100%; height: auto !important; height: 100%; } The background image is displayed all the way if content-type is text/html. (Seen here: http://haxx.no/indexWorks.php?id=programs ) Reproducible: Always Steps to Reproduce: 1. Send page as application/xhtml+xml 2. Put in CSS written above Actual Results: Background-image on the body would not display beyond 100% of the window-height, even if the document is larger than that Expected Results: Displayed the background-image everywhere in the document, not only what the browser first see's.
In HTML you can apply a background to the canvas by styling the body element, that doesn't apply to XHTML, see: http://www.w3.org/TR/CSS21/colors.html#q2 (3rd and 4th paragraphs) *** This bug has been marked as a duplicate of 228060 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•19 years ago
|
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Comment 2•19 years ago
|
||
*** This bug has been marked as a duplicate of 147436 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•