Fix scaling of indentshift in HTML-CSS; since is outside the font-size change, it doesn't need HTMLCSS.scale.
This commit is contained in:
parent
cb5df6ef2f
commit
08cb7160f5
|
@ -2890,7 +2890,7 @@
|
|||
node.style.textAlign = values.indentalign;
|
||||
// ### FIXME: make percentage widths respond to changes in container
|
||||
if (shift) {
|
||||
shift *= HTMLCSS.scale * HTMLCSS.em/HTMLCSS.outerEm;
|
||||
shift *= HTMLCSS.em/HTMLCSS.outerEm;
|
||||
HUB.Insert(span.style,({
|
||||
left: {marginLeft: HTMLCSS.Em(shift)},
|
||||
right: {marginLeft: HTMLCSS.Em(Math.max(0,span.bbox.w+shift)), marginRight: HTMLCSS.Em(-shift)},
|
||||
|
|
Loading…
Reference in New Issue
Block a user