RubyLB: Fix PaintLayer for annotations
If the ruby container for a ruby-text establishes a PaintLayer, it was
the owner layer of the ruby-text. However, a physical fragment for the
layer didn't contain physical fragments or fragment items for the
ruby-text.
This CL updates LayoutObject::PaintLayer() so that it skips inline
parents for a ruby-text.
Bug: 347597917
Change-Id: I568fc9caae6c3c9255ce7b01c65f99bb0b17a877
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5633063
Reviewed-by: Koji Ishii kojii@chromium.org
Commit-Queue: Kent Tamura tkent@chromium.org
Auto-Submit: Kent Tamura tkent@chromium.org
Cr-Commit-Position: refs/heads/main@{#1316295}