Re: ISSUE-41: Facebook open graph protocol

On 04/22/2010 06:50 PM, Steven Roussey wrote:
>> Did some digging, and found:
>>
>> http://code.google.com/p/fbug/issues/detail?id=2548
>> http://code.google.com/p/fbug/source/detail?r=6496
>
> Yes, that is me.
>
> Firebug has less access to Gecko internals than one would expect, so
> we often use heuristics. Technically it scans the doctype for xhtml
> and then tries to determine if the document is in html of xhtml mode.
> If the doctype specifies xhtml and the browser is saying it is not,
> then I red flag it. The only way I know for Gecko to enter xhtml mode
> is through the server's http content-type header.
>
> But looking at:
>
> http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801/#text-html
>
> shows that I am in error in how I handle that. I'll have to ignore
> what mode the browser is actually in, and look at the doctype when
> possible. I may issue on tooltip warning that just because it is an
> xhtml document, doesn't mean that it can do things like mathml or svg.
>
> Thanks for the correction.
>
> http://code.google.com/p/fbug/issues/detail?id=3030

It's a bit more complicated than that, but we are getting off topic, so 
I've commented on your bug:

http://code.google.com/p/fbug/issues/detail?id=3030#c2

> -steve--

- Sam Ruby

Received on Thursday, 22 April 2010 23:23:46 UTC