Build: 2001020804 Platform: All Expected results: Modifing document.bgColor property should function. What I got: This property is not working. Steps to reproduce: 1) Open test case 2) Clicking on any of the buttons should change the document's background color. 3) Background color is not changed.
Adding xhtml keyword
Nominating for nsbeta1. Document properties such as bgcolor should function in XHTML.
I disagree, changing document's background color via script isn't a beta stopper. You can set the backround color with CSS and attributes on the body element. This bug has been marked "future" because the original netscape engineer working on this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Keywords: nsbeta1 → nsbeta1-
Target Milestone: --- → Future
Actually setting the bgcolor in a normal html doesn't seem to work either.. http://gemal.dk/util/bgcolor.html
This works in a HTML Transitional 4.0 document: http://mozilla.org/quality/browser/standards/html/script_src.html
David, You might try pulling a newer build since it works for me with HTML files (June 28th). This may have accidentally got broken then got fixed. This particular bug is a XHTML issue only.
Priority: -- → P3
Target Milestone: Future → mozilla0.9.8
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Target Milestone: mozilla0.9.9 → Future
XHTML as xml gets an XML document instead of an HTML one, hence no bgcolor property. *** This bug has been marked as a duplicate of 111514 ***
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.