Only skip non-leading item-less container fragments.
crrev.com/c/6022897 added code to skip over item-less container
fragments when painting an inline, as an attempt to map FragmentData
indices in a LayoutInline to the correct container fragment FragmentData
indices. However, in order to get this correct, we cannot skip leading
item-less container fragments, as InlineCursor has already taken those
into account.
Bug: 379259810
Change-Id: I8986e648a676ccb59578a780fd9e85c418b9009a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6025271
Reviewed-by: Koji Ishii kojii@chromium.org
Reviewed-by: Xianzhu Wang wangxianzhu@chromium.org
Auto-Submit: Morten Stenshorne mstensho@chromium.org
Commit-Queue: Koji Ishii kojii@chromium.org
Cr-Commit-Position: refs/heads/main@{#1384156}