semantics-002.html (1777B)
1 <!DOCTYPE html> 2 <title>semantics element and legacy rendering rules</title> 3 <meta charset="utf-8"/> 4 <link rel="help" href="https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics"> 5 <link rel="help" href="https://w3c.github.io/mathml-core/#semantics-and-presentation"> 6 <link rel="match" href="semantics-002-ref.html"> 7 <meta name="assert" content="semantics element rendered as an mrow with only the first child displayed and does not rely on legacy rules to choose another child to display instead."> 8 <p>Empty semantics: <math><semantics></semantics></math></p> 9 <p>annotation: <math><semantics><annotation>annotation</annotation></semantics></math></p> 10 <p>annotation-xml: <math><semantics><annotation-xml encoding="MathML-Presentation"><mtext>annotation-xml</mtext></annotation-xml></semantics></math></p> 11 <p>presentation MathML (no annotations): <math><semantics><mtext>presentation MathML</mtext></semantics></math></p> 12 <p>content MathML (no annotations): <math><semantics><csymbol>content MathML</csymbol></semantics></math></p> 13 <p>presentation MathML ; annotation: <math><semantics><mtext>presentation MathML</mtext><annotation>annotation</annotation></semantics></math></p> 14 <p>presentation MathML ; annotation-xml: <math><semantics><mtext>presentation MathML</mtext><annotation-xml encoding="application/mathml-presentation+xml"><mtext>annotation-xml</mtext></annotation-xml></semantics></math></p> 15 <p>content MathML ; annotation: <math><semantics><csymbol>content MathML</csymbol><annotation>annotation</annotation></semantics></math></p> 16 <p>content MathML ; annotation-xml: <math><semantics><csymbol>content MathML</csymbol><annotation-xml encoding="application/mathml-presentation+xml"><mtext>annotation-xml</mtext></annotation-xml></semantics></math></p>