feat: support MathML \big, \bigg, \Big, and \Bigg (#2332)

* Support MathML \big, \bigg, etc

* Add stretchy attribute

* Update mathml-spec.js.snap

Co-authored-by: ylemkimon <y@ylem.kim>
This commit is contained in:
Ron Kok
2020-07-25 12:26:00 -07:00
committed by GitHub
parent b75f3e55f3
commit 05d1e7caf1
4 changed files with 99 additions and 0 deletions

View File

@@ -124,6 +124,10 @@ defineFunction({
node.setAttribute("fence", "false");
}
node.setAttribute("stretchy", "true");
node.setAttribute("minsize", delimiter.sizeToMaxHeight[group.size] + "em");
node.setAttribute("maxsize", delimiter.sizeToMaxHeight[group.size] + "em");
return node;
},
});