Bug 247127

Summary: StyleImages need to know if they are painting a first-line so they can use the firstLineStyle() instead of style()
Product: WebKit Reporter: Sam Weinig <sam>
Component: CSSAssignee: Antti Koivisto <koivisto>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Sam Weinig
Reported 2022-10-27 07:59:21 PDT
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
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-03 08:00:19 PDT
Antti Koivisto
Comment 2 2023-08-16 01:11:14 PDT
EWS
Comment 3 2023-08-16 22:10:38 PDT
Committed 266988@main (e993429b13d8): <https://commits.webkit.org/266988@main> Reviewed commits have been landed. Closing PR #16739 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.