- From: Matt Freels <freels@gmail.com>
- Date: Sat, 14 Apr 2007 11:55:52 +0200
- To: matt@builtfromsource.com
- Cc: "public-html@w3.org" <public-html@w3.org>
At least as far as safari goes, Macej's quirksmode test:
<!DOCTYPE html5>
<style>
.foo {
width: 400px;
height: 400px;
background-color: lime;
background-color: ff0000;
}
</style>
<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.
Cheers!
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