W3C home > Mailing lists > Public > public-html@w3.org > April 2007

Re: Versioning and html[5]

From: Matt Freels <freels@gmail.com>
Date: Sat, 14 Apr 2007 11:55:52 +0200
Message-Id: <97FAC5B5-F94E-4D30-9A0C-EF2FDB9E265E@gmail.com>
Cc: "public-html@w3.org" <public-html@w3.org>
To: matt@builtfromsource.com

At least as far as safari goes, Macej's quirksmode test:

<!DOCTYPE html5>
.foo {
     width: 400px;
     height: 400px;
     background-color: lime;
     background-color: ff0000;
<div class="foo"></div>

...shows a red square for either <!DOCTYPE html> or <!DOCTYPE html5>.  
I don't know if it's actually bailing out to quirksmode, or just  
incorrectly parsing the background-color hex incorrectly anyways.  
FWIW, the test works correctly in recent WebKit builds.


Matt (Freels)

Il giorno 14/apr/07, alle ore 00:02, Matthew Ratzloff ha scritto:

> On Fri, April 13, 2007 2:55 pm, Arthur Jennings wrote:
>> Perhaps this is a dumb question, but why can't "<!DOCTYPE html>"  
>> be that
>> clearly identifiable identifier? I doubt it currently occurs in  
>> the wild
>> outside of authors who are anticipating HTML 5.
> Safari and Firefox don't recognize "<!DOCTYPE html>" as a valid  
> doctype,
> instead bailing out to quirks mode.
> -Matt
Received on Saturday, 14 April 2007 11:01:02 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:18 UTC