Skip to content

Commit

Permalink
Merge pull request #396 from vivliostyle/fix_justification_with_text-…
Browse files Browse the repository at this point in the history
…indent

Fix justification when a positive text-indent is specified
  • Loading branch information
kwkbtr authored Dec 7, 2017
2 parents 3cb4398 + 2989bf8 commit f3375b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/adapt/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -1732,6 +1732,7 @@ adapt.layout.Column.prototype.createJustificationAdjustmentElement = function(in
// Measure inline-start and inline-end edge positions of the line box,
// taking (exclusion) floats into consideration
span.style.display = "block";
span.style.textIndent = "0";
span.style.textAlign = "left";
parentNode.insertBefore(span, insertionPoint);
var leftPos = this.clientLayout.getElementClientRect(inner);
Expand Down

0 comments on commit f3375b6

Please sign in to comment.