Fix depth of stack when underscript depth is negative.
This commit is contained in:
parent
f3fdb12f8c
commit
0ba42d10b0
|
@ -1165,6 +1165,14 @@
|
|||
]);
|
||||
node.firstChild.firstChild.firstChild.appendChild(stack);
|
||||
node.firstChild.lastChild.appendChild(under);
|
||||
if (ubox.d < 0) {
|
||||
//
|
||||
// For negative depths, set the height and align to top
|
||||
// in order to avoid extra baseline space
|
||||
//
|
||||
under.firstChild.style.verticalAlign = "top";
|
||||
under.style.height = ubox.h+ubox.d;
|
||||
}
|
||||
//
|
||||
// determine the spacing
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue
Block a user