Bug 130245 - Phrasing content should be accepted in <mo> elements
Summary: Phrasing content should be accepted in <mo> elements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Frédéric Wang (:fredw)
URL:
Keywords:
Depends on: 124128 125597 155018
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-14 10:19 PDT by Frédéric Wang (:fredw)
Modified: 2016-06-28 10:01 PDT (History)
9 users (show)

See Also:


Attachments
Patch (7.96 KB, patch)
2016-06-28 00:43 PDT, Frédéric Wang (:fredw)
bfulgham: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>