Make \rules work in script and scriptscript sizes
Auditors: alpert
This commit is contained in:
parent
f17bbf1b05
commit
eb31c6880b
|
@ -713,6 +713,9 @@ var groupTypes = {
|
||||||
height *= fontMetrics.metrics.xHeight;
|
height *= fontMetrics.metrics.xHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
width /= options.style.sizeMultiplier;
|
||||||
|
height /= options.style.sizeMultiplier;
|
||||||
|
|
||||||
// Style the rule to the right size
|
// Style the rule to the right size
|
||||||
rule.style.borderRightWidth = width + "em";
|
rule.style.borderRightWidth = width + "em";
|
||||||
rule.style.borderTopWidth = height + "em";
|
rule.style.borderTopWidth = height + "em";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user