BODY element shouldn't be magic in XHTML Document

RESOLVED WONTFIX

Status

()

Core
CSS Parsing and Computation
RESOLVED WONTFIX
10 years ago
10 years ago

People

(Reporter: bluepheasant, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

329 bytes, application/xhtml+xml
Details
(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

CSS21 says : "For HTML documents, however, we recommend that authors specify the background for the BODY element rather than the HTML element. [...]This does not apply to XHTML documents. "

Reproducible: Always

Steps to Reproduce:
1. launch the testcase
Actual Results:  
Background of the canvas is red, there is no scrolling mechanism.

Expected Results:  
Background of the canvas is white, there is a scrolling mechanism.

Opera does the same error as Firefox, webkit follow the specification and IE8 don't support XHTML.
(Reporter)

Comment 1

10 years ago
Created attachment 343027 [details]
simple testcase
Having differences between HTML and XHTML discourages authors from migrating from one to the other.  The old XHTML working group wanted this difference; the new one does not, but the only way to get the CSS spec changed in this case is to stop doing what it says, which we did (bug 379461).  Hopefully we'll get the spec changed back soon to eliminate this one remaining CSS difference for HTML vs. XHTML.
Blocks: 379461
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.