Re: ISSUE-41: Facebook open graph protocol

For the next version of Firebug, I've made the doctype visible in the HTML
view, and mark it red and with an error message (on hover) for sites that do
the above. Essentially, the browser ignores the XHTML references and obeys
the mime-type, and web page authors can go on for a while never knowing.
Microsoft.com, ibm.com, and developer.mozilla.org all now get flagged with
errors.

If it were not for the polyglot spec, I'd prefer to have XHTML docs root
node be <xhtml> instead of <html> to make things clear. I was always unclear
on the value of xhtml on the public facing internet, and found it difficult
to find examples of real xhtml in the wild against which to test svg and
mathml in firebug.

If the doctype switched a text/html served file from html to xhtml it would
likely match average authors' expectations as they are today. I'm sure that
there is a long history on why this is not so, and the HTML5 doctype no
longer distinguishes between the two. And that is probably the most
compatible way forward, as it will change the expectations of what the
doctype means.

-steve--

Received on Thursday, 22 April 2010 21:09:04 UTC