<div class="gmail_quote">On Tue, Nov 2, 2010 at 10:17 AM, Adam Barth <span dir="ltr"><<a href="mailto:abarth@webkit.org">abarth@webkit.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, Nov 2, 2010 at 9:52 AM, David Carlisle <<a href="mailto:d.p.carlisle@gmail.com">d.p.carlisle@gmail.com</a>> wrote:<br>
> On 2 November 2010 16:26, Adam Barth <<a href="mailto:abarth@webkit.org">abarth@webkit.org</a>> wrote:<br>
>> On Tue, Nov 2, 2010 at 7:55 AM, David Carlisle <<a href="mailto:d.p.carlisle@gmail.com">d.p.carlisle@gmail.com</a>> wrote:<br>
>>> Alex Milowski <alex <at> <a href="http://milowski.org" target="_blank">milowski.org</a>> writes:<br>
>>><br>
>>> sorry for late reply, I'm not subscribed, just saw this in the archives.<br>
>>><br>
>>>><br>
>>>> On Fri, Oct 1, 2010 at 12:52 PM, Adam Barth <abarth <at> <a href="http://webkit.org" target="_blank">webkit.org</a>> wrote:<br>
>>>> > Our parser follows the spec (modulo late-breaking spec changes that we<br>
>>><br>
>>> Actually most mathml in the wild will be mis-parsed by the webkit html5 parser<br>
>>> because of<br>
>>><br>
>>> <a href="https://bugs.webkit.org/show_bug.cgi?id=48105" target="_blank">https://bugs.webkit.org/show_bug.cgi?id=48105</a><br>
>>><br>
>>> but that's hopefully a temporary glitch.<br>
>><br>
>> Is this a bug in the HTML5 specification or a bug in our<br>
>> implementation of the spec? If its the former, you might want to file<br>
>> a bug with the HTML working group to resolve the issue.<br>
>><br>
>> Adam<br>
><br>
</div>> I'm pretty sure that it is an implementation issue (firefox 4 doesn't<br>
> have this problem for example). Certainly I can't see anything that<br>
> would specify parsing something as simple as<br>
><br>
><br>
> <math><br>
> <mrow><br>
> <mrow><mn>1</mn></mrow><br>
> <mi>a</mi><br>
> </mrow><br>
> </math><br>
><br>
> as a completely different tree:<br>
><br>
> <math> <mrow> <mrow><mn>1</mn></mrow></mrow> <mi>a</mi> </math><br>
><br>
> It makes mathml and svg pretty unusable of course as it's common (very<br>
> common in mathml case) to have elements nested within an element of<br>
> the same name.<br>
<br>
Okiedokes. I've CCed Eric and myself on the bug since we're the<br>
mostly likely folks to fix the issue. We'd certainly welcome a patch<br>
from you, if you're interested in fixing the issue.</blockquote><div><br></div><div>This is my bug from the new handling of foreign content mode. I'll upload a patch shortly.</div><div><br></div><div>James </div>
</div>