You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[text-decorations] Fix first-line when there's a paint layer
An inline box with a paint layer uses `ScopedInlineBoxAncestors`
to synchronize decoration boxes instead of `ScopedInlineItem`.
This code path doesn't need to save decorating boxes, and
thus `saved_decorating_boxes_` is `nullptr`.
Fixes for `::first-line` in crrev.com/c/4545917 and
crrev.com/c/4493872 assumed `saved_decorating_boxes_` exists.
To reduce the complexity, this patch changes
`saved_decorating_boxes_` to be required, and let
`ScopedInlineBoxAncestors` to provide it.
Fixed: 406109047
Change-Id: I0683a666250867f8c4c9fa9271c0d300e38cabf5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6546415
Reviewed-by: Philip Rogers <[email protected]>
Auto-Submit: Koji Ishii <[email protected]>
Commit-Queue: Philip Rogers <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1460175}
0 commit comments