Closed
Bug 459808
Opened 14 years ago
Closed 14 years ago
BODY element shouldn't be magic in XHTML Document
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: oyushin, Unassigned)
References
Details
Attachments
(1 file)
329 bytes,
application/xhtml+xml
|
Details |
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•14 years ago
|
||
Comment 2•14 years ago
|
||
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.
Comment 3•14 years ago
|
||
see also http://www.w3.org/Style/css2-updates/issues-4-20061106.html#issue-31
You need to log in
before you can comment on or make changes to this bug.
Description
•