Merge remote-tracking branch 'dpvc/develop' into develop
This commit is contained in:
commit
b86a77bee3
|
@ -2890,7 +2890,7 @@
|
||||||
node.style.textAlign = values.indentalign;
|
node.style.textAlign = values.indentalign;
|
||||||
// ### FIXME: make percentage widths respond to changes in container
|
// ### FIXME: make percentage widths respond to changes in container
|
||||||
if (shift) {
|
if (shift) {
|
||||||
shift *= HTMLCSS.scale * HTMLCSS.em/HTMLCSS.outerEm;
|
shift *= HTMLCSS.em/HTMLCSS.outerEm;
|
||||||
HUB.Insert(span.style,({
|
HUB.Insert(span.style,({
|
||||||
left: {marginLeft: HTMLCSS.Em(shift)},
|
left: {marginLeft: HTMLCSS.Em(shift)},
|
||||||
right: {marginLeft: HTMLCSS.Em(Math.max(0,span.bbox.w+shift)), marginRight: 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