Using <!DOCTYPE HTML> breaks Canvas in IE8

--------------------------
Hakan Kirkan
IT Manager
Dominor LLC / Miami
http://dominor.com


On Wed, Aug 1, 2012 at 11:39 PM, Robert A. Rosenberg <webdesig...@rarpsl.com
> wrote:

> At 16:57 -0400 on 08/01/2012, Tedd Sperling wrote about Re: [css-d] on
> html and css versions:
>
>
>  What is wrong with using?
>>
>> <!DOCTYPE html>
>>
>> Sure it doesn't have a *real* DTD, but the W3C validator does somehow
>> validate pages that have this DOCTYPE declaration, right? So, there must be
>> some sort of *standards* it validates contents against, right? Where/what
>> is that "DTD"? I think that would be an interesting thing to know.
>>
>
> You are missing two points.
>
> First is that while browsers may not actually use the referenced DTD (the
> http... clause), they do parse the HTML based on the DOCTYPE html PUBLIC...
> clause and treat the HTML differently based on what you declare.
>
> Second is that just because the Validator approves of the supplied HTML5
> HTML, that does not mean that a browser will not choke on it or display the
> code properly. This is not the case with pre-HTML5 DOCTYPES where if the
> Validator approves of the code, the browser will correctly parse,
> interpret, and display it.
>
> IOW: At the current time, <!DOCTYPE html> throws the browser into "tag
> soup" mode where it tries to figure out what it is being supplied with as
> opposed to knowing how to parse and handle it.
>
> ______________________________**______________________________**__________
> css-discuss [css-d@lists.css-discuss.org]
> http://www.css-discuss.org/**mailman/listinfo/css-d<http://www.css-discuss.org/mailman/listinfo/css-d>
> List wiki/FAQ -- 
> http://css-discuss.incutio.**com/<http://css-discuss.incutio.com/>
> List policies -- 
> http://css-discuss.org/**policies.html<http://css-discuss.org/policies.html>
> Supported by evolt.org -- 
> http://www.evolt.org/help_**support_evolt/<http://www.evolt.org/help_support_evolt/>
>
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to