www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit eb31c6880b20a311724a37a98e5e8d61b970d8a0
parent f17bbf1b0533d93ad282f44ad98b06ea8a38c95a
Author: Emily Eisenberg <emily@khanacademy.org>
Date:   Sat, 30 Aug 2014 22:41:30 -0700

Make \rules work in script and scriptscript sizes

Auditors: alpert

Diffstat:
MbuildTree.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/buildTree.js b/buildTree.js @@ -713,6 +713,9 @@ var groupTypes = { height *= fontMetrics.metrics.xHeight; } + width /= options.style.sizeMultiplier; + height /= options.style.sizeMultiplier; + // Style the rule to the right size rule.style.borderRightWidth = width + "em"; rule.style.borderTopWidth = height + "em";