Skip to content

Commit

Permalink
Restrict math axis verification to real fraction in mathml/presentati…
Browse files Browse the repository at this point in the history
…on-markup/fractions/frac-1.html, as nothing in the spec seems to ensure the stack gap is split symmetrically around the math axis. close #2
  • Loading branch information
fred-wang committed Jul 16, 2016
1 parent c2b1b27 commit 630c20d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mathml/presentation-markup/fractions/frac-1.html
Expand Up @@ -35,7 +35,10 @@
test(function() {
var e = 3;
var mathAxis = getBox("axis").middle;
for (var i = 0; i < 10; i++) {
// For stacks, nothing in the OpenType MATH specification seems to ensure
// that the gap is split symmetrically around the math axis so we only
// do the following verification for standard fractions.
for (var i = 0; i <= 4; i++) {
var frac = getBox("frac" + i);
var num = getBox("frac" + i + "num");
var den = getBox("frac" + i + "den");
Expand Down

0 comments on commit 630c20d

Please sign in to comment.