[LayoutNG] Implement inline fragmentation for BiDi

This patch impements inline fragmentation for BiDi.

When BiDi reorder fragments an inline box; e.g.,
  <span>T1 T2</span>T3
becomes after BiDi reorder:
  <span>T1</span> T3 <span>T2</span>
this change creates two box fragments, one for T1 and another
for T2.

Unfortunately, one test starts failing:
fast/css/css-properties-position-relative-as-parent-fixed.html

In this test, when absolute/fixed positioned container is
fragmented, the position becomes incorrect. As far as I
checked, the fragment tree looks correct, so I suppose
computing positioned objects get confused by multiple
fragments for a LayoutObject within a line.

Bug: 636993
Change-Id: Id1055e411e7cb59a8c8e731e5ad7c74b0c7fd246
Reviewed-on: https://chromium-review.googlesource.com/c/1323989
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607412}
3 files changed