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: | CSS | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/101911951>
Antti Koivisto
Pull request: https://github.com/WebKit/WebKit/pull/16739
EWS
Committed 266988@main (e993429b13d8): <https://commits.webkit.org/266988@main>
Reviewed commits have been landed. Closing PR #16739 and removing active labels.