Commit Graph

6 Commits

Author SHA1 Message Date
Pale Moon bc3263045c Drain overflow lines before ResolveBidi.
Rationale (410857):
We should move the "DrainOverflowLines" block before "ResolveBidi" block
if we can - this way we would have a simpler frame tree to deal with
during bidi resolution and possibly create fewer frames in some cases.
2018-07-25 06:56:46 +08:00
Xidorn Quan c6c394ea31 Revert to pass container size instead of only isize for bidi reordering. 2018-07-24 23:12:20 +08:00
wolfbeast bb170eb387 Reorder ruby frames based on their direction. 2018-07-24 23:12:18 +08:00
Xidorn Quan a94fc98c16 Make bidi reordering always in frame order. 2018-07-24 23:12:16 +08:00
Xidorn Quan 422c2035ae Adjust some parameters of functions in nsBidiPresUtils.
Includes two changes:
* aContainerSize of ReorderFrames, RepositionInlineFrames, RepositionFrame are changed to aContainerISize;
* the type of aContainuationStates in the functions above is changed to const pointer.
2018-07-24 23:12:15 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00