MozillaZine

SeaMonkey complains about its own doctype header

Discussion of bugs in Seamonkey
trellis
 
Posts: 39
Joined: October 6th, 2004, 10:24 am

Post Posted December 18th, 2014, 4:32 pm

Perhaps not a bug as such, but seems a bit silly.

If you create an HTML document using SeaMonkey Composer, open that document in SeaMonkey Browser and View Page Source in the browser, the doctype header that SeaMonkey itself generated is highlighted in red as a "quirky doctype".

barbaz
 
Posts: 1667
Joined: October 1st, 2014, 3:25 pm

Post Posted December 18th, 2014, 6:55 pm

Because SeaMonkey browser is HTML5, where "correct" doctype is simply
Code: Select all
<!DOCTYPE html>

but Composer is HTML4, where doctype isn't supposed to look like that (it's more complicated, as you can see)
*Always* check the changelogs BEFORE updating that important software!

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted December 18th, 2014, 7:24 pm

Not exactly. Current versions of SeaMonkey will accept any doctype *including* HTML5.

The error originates from the Firefox Dev Tools team who have apparently decided that authors should not use a Transitional doctype, even if it's actually preferable in most situations. Source:

http://stackoverflow.com/questions/1077 ... ype-in-red

Why is Transitional preferable? Basically because the HTML standards folks have gone totally crazy in deprecating lots of very useful markup over the years in favor of a hypocritical form of fascism they term "the semantic web". The "semantic" way of building a website these days is not always obvious, easy, or human-writer-friendly and being that Composer is rather old, it still uses a great deal of older methods for doing things. So the Transitional doctype is probably totally appropriate for the code that Composer generates, even if the Firefox Dev Tools folks are on the HTML5-or-bust bandwagon.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

Lemon Juice
 
Posts: 770
Joined: June 1st, 2006, 9:41 am

Post Posted December 19th, 2014, 2:56 am

patrickjdempsey wrote:Why is Transitional preferable? Basically because the HTML standards folks have gone totally crazy in deprecating lots of very useful markup over the years in favor of a hypocritical form of fascism they term "the semantic web".

I think XHTML 1.x was the most fascist, HTML5 has preserved many good old tags due to social pressure, for example <b>, <i>, <u>. The only funny thing is they have been given new semantic meanings, which sound so complicated and counter-intuitive that I suppose we'll see a new html specification in a few years that invents yet something new while the browsers will continue rendering them the same so we don't have to worry about this.
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey

Return to SeaMonkey Bugs


Who is online

Users browsing this forum: No registered users and 1 guest