Skip to content

Commit

Permalink
Remove "thin", "thick", "medium" values mfrac@linethickness #4
Browse files Browse the repository at this point in the history
Agreed on https://lists.w3.org/Archives/Public/public-mathml4/2019Mar/0007.html
"General agreement that all named lengths and unitless precents (#24, #4, #7), should be removed from the core"
  • Loading branch information
fred-wang committed Mar 14, 2019
1 parent d6f9de7 commit ce02fd1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions index.html
Expand Up @@ -4606,9 +4606,7 @@ <h3><span class="secnum">4.3.2</span> Fractions <span>&lt;mfrac&gt;</span>
<code class="MATH">FractionRuleThickness</code>
Use the <code>linethickness</code> attribute <cite>[<a href="#bibx11">MathML3</a>]</cite> to determine the
actual thickness of the fraction bar. A percent or unitless length is
interpreted as a multiple of the default rule thickness and
the named values ”thin”, ”medium” and ”thick” are interpreted as
50%, 100%, 200%.
interpreted as a multiple of the default rule thickness.
The color and visibility of the fraction bar must honor the values given by the
<code>color</code> and <code>visibility</code> CSS properties on the <code>mfrac</code> element.
</p>
Expand Down Expand Up @@ -12454,7 +12452,7 @@ <h1><span class="secnum">Appendix C</span> Relax NG
<a name="rncrncmfrac" style="color:blue;">mfrac</a> = <span style="font-weight:bold;">element</span> mfrac {<a href="#rncrncmfrac.attributes">mfrac.attributes</a>, <a href="#rncrncMathExpression">MathExpression</a>, <a href="#rncrncMathExpression">MathExpression</a>}
<a name="rncrncmfrac.attributes" style="color:blue;">mfrac.attributes</a> =
<a href="#rncrncCommonAtt">CommonAtt</a>, <a href="#rncrncCommonPresAtt">CommonPresAtt</a>,
<span style="font-weight:bold;">attribute</span> linethickness {<a href="#rncrnclength">length</a> | "thin" | "medium" | "thick"}?,
<span style="font-weight:bold;">attribute</span> linethickness {<a href="#rncrnclength">length</a>}?,
<span style="font-weight:bold;">attribute</span> numalign {"left" | "center" | "right"}?,
<span style="font-weight:bold;">attribute</span> denomalign {"left" | "center" | "right"}?,
<span style="font-weight:bold;">attribute</span> bevelled {"true" | "false"}?
Expand Down
2 changes: 1 addition & 1 deletion mathml4-core.rnc
Expand Up @@ -182,7 +182,7 @@ mrow.attributes =
mfrac = element mfrac {mfrac.attributes, MathExpression, MathExpression}
mfrac.attributes =
CommonAtt, CommonPresAtt,
attribute linethickness {length | "thin" | "medium" | "thick"}?,
attribute linethickness {length}?,
attribute numalign {"left" | "center" | "right"}?,
attribute denomalign {"left" | "center" | "right"}?,
attribute bevelled {"true" | "false"}?
Expand Down
4 changes: 1 addition & 3 deletions src/presentation.html
Expand Up @@ -480,9 +480,7 @@ <h3>Fractions <span>&lt;mfrac&gt;</span>
<code class="MATH">FractionRuleThickness</code>
Use the <code>linethickness</code> attribute <cite>[<a href="bib.html#bibx11">auto</a>]</cite> to determine the
actual thickness of the fraction bar. A percent or unitless length is
interpreted as a multiple of the default rule thickness and
the named values ”thin”, ”medium” and ”thick” are interpreted as
50%, 100%, 200%.
interpreted as a multiple of the default rule thickness.
The color and visibility of the fraction bar must honor the values given by the
<code>color</code> and <code>visibility</code> CSS properties on the <code>mfrac</code> element.</p>
</div>
Expand Down

0 comments on commit ce02fd1

Please sign in to comment.