DescriptionConsider text alignment and direction when computing the left offset for horizontal writing modes.
To properly layout a positioned box, we need to consider special cases where the direction of
the text for that object flows towards the opposite direction the text inside that box would be
aligned to (e.g. right aligned text for LTR boxes and left aligned text for RTL boxes).
Not doing this this ways yields to undesired effects, such as having the absolutely positioned
text inside a table cell with relative positioned being wrongly rendered outside of the cell.
BUG=157539
TEST=Try rendering absolutely positioned text inside table cells with relative positioning.
R=eae@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167732
Patch Set 1 #
Total comments: 6
Patch Set 2 : Now including the layout test (html) I forgot to add in the previous patch set #Patch Set 3 : Addressing comments from the initial review #Patch Set 4 : Adding the new test to TestExpectations as NeedsRebaseline #Patch Set 5 : Rebased patch against master #Messages
Total messages: 32 (0 generated)
|