[Webkit-unassigned] [Bug 124128] [regression] foreign content not displayed in MathML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 11 07:58:57 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=124128


Frédéric Wang <fred.wang at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|webkit-unassigned at lists.web |fred.wang at free.fr
                   |kit.org                     |
 Attachment #216534|0                           |1
        is obsolete|                            |
 Attachment #216556|0                           |1
        is obsolete|                            |
 Attachment #216558|0                           |1
        is obsolete|                            |
 Attachment #216559|0                           |1
        is obsolete|                            |
 Attachment #216562|0                           |1
        is obsolete|                            |
 Attachment #217147|0                           |1
        is obsolete|                            |




--- Comment #17 from Frédéric Wang <fred.wang at free.fr>  2014-03-11 07:55:52 PST ---
Created an attachment (id=226426)
 --> (https://bugs.webkit.org/attachment.cgi?id=226426&action=review)
Patch

This patch restores foreign content in mtext/mn/mi for phrasing content:
http://www.w3.org/TR/html5/dom.html#phrasing-content-1

The case of mo is a bit tedious, so it is not handled here. Anyway, the HTML5 validator currently only allows foreign content in <mtext> so that's what people are going to use in practice.

I also tried to restrict the content of annotation-xml to Flow content + <html> as indicated in the RelaxNG schema, but that breaks some tests relying on foreign <mtext> and it is a bit difficult to keep perfect rendering matching otherwise. So I finally didn't change what annotation-xml accepts. http://www.w3.org/TR/html5/dom.html#flow-content.

This should hopefully make mspace-units pass again.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list