Bug 130245

Summary: Phrasing content should be accepted in <mo> elements
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: MathMLAssignee: Frédéric Wang (:fredw) <fred.wang>
Status: RESOLVED FIXED    
Severity: Normal CC: alex, bfulgham, commit-queue, darin, davidc, dbarton, mrobinson, rego, svillar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 124128, 125597, 155018    
Bug Blocks:    
Attachments:
Description Flags
Patch bfulgham: review+

Frédéric Wang (:fredw)
Reported 2014-03-14 10:19:03 PDT
Per bug 124128 comment 13, phrasing content (http://www.w3.org/TR/html5/dom.html#phrasing-content-1) should be accepted in <mo> elements. Note however that the RelaxNG schema of the HTML5 validator currently only allows foreign content in <mtext> so that's what people are going to use in practice.
Attachments
Patch (7.96 KB, patch)
2016-06-28 00:43 PDT, Frédéric Wang (:fredw)
bfulgham: review+
Frédéric Wang (:fredw)
Comment 1 2016-06-28 00:43:08 PDT
Frédéric Wang (:fredw)
Comment 2 2016-06-28 00:45:16 PDT
So this one is very easy to fix now that RenderMathMLOperator stopped creating & destroying anonymous block & text nodes.
Brent Fulgham
Comment 3 2016-06-28 09:46:30 PDT
Comment on attachment 282220 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=282220&action=review Excellent! r=me. > Source/WebCore/ChangeLog:8 > + After r202420, the RenderMathMLOperator element no longer messes up with anonymous block and "no longer messes with anonymous block and"
Frédéric Wang (:fredw)
Comment 4 2016-06-28 10:01:57 PDT
Note You need to log in before you can comment on or make changes to this bug.