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+

Description Frédéric Wang (:fredw) 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.
Comment 1 Frédéric Wang (:fredw) 2016-06-28 00:43:08 PDT
Created attachment 282220 [details]
Patch
Comment 2 Frédéric Wang (:fredw) 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.
Comment 3 Brent Fulgham 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"
Comment 4 Frédéric Wang (:fredw) 2016-06-28 10:01:57 PDT
Committed r202572: <http://trac.webkit.org/changeset/202572>