Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into nyc-mr2-dev