When fixing https://bugs.webkit.org/show_bug.cgi?id=246927, I ran into an issue do to StyleImages (specifically the StyleGradientImage) not know if they are painting a first-line so they can't figure out to use the firstLineStyle() instead of style(). We should pass that information to them along with the RenderElement. See https://github.com/WebKit/WebKit/pull/5692#discussion_r1005748227
<rdar://problem/101911951>
Pull request: https://github.com/WebKit/WebKit/pull/16739
Committed 266988@main (e993429b13d8): <https://commits.webkit.org/266988@main> Reviewed commits have been landed. Closing PR #16739 and removing active labels.