User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529 Composer automaticly inserts <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> at the top of every page created within the program. Why not insert the following instead? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> While there is no real problem with this, it may be a good idea to have the URI in there anyway. Reproducible: Always Steps to Reproduce: 1. Launch Composer 2. Click the Source tab 3. The Doctype is highlighted in grey, notice that is does not specify the URI of the DTD. Actual Results: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> Expected Results: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
> Why not insert the following instead? That would put the pages in standards mode.... and most Composer users will find that highly unpleasant, I suspect.
right, i'd wontfix this. at some point we'll probably honor preexisting doctypes in which case people who want strict could start w/ a strict page...
Assignee: jfrancis → composer
Component: Editor: Core → Editor: Composer
QA Contact: sairuh → petersen
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → WONTFIX
Target Milestone: --- → Future
I think this should be reconsidered for the case that the property "use CSS styles instead of HTML elements" is switched on. I think, at the present time, most want to have standards mode. This would make a perfectly logical behaviour in my opinion: when the "use css styles" setting is off, composer remains in the old html mode. When css styles are on, standards mode is used.
You need to log in before you can comment on or make changes to this bug.