New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only send one drawing command per list marker #6842
Only send one drawing command per list marker #6842
Conversation
EWS run on previous version of this PR (hash 5583788) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be possible to make a ref test for this.
5583788
to
dc96715
Compare
EWS run on previous version of this PR (hash dc96715) |
dc96715
to
5b558cb
Compare
EWS run on previous version of this PR (hash 5b558cb) |
Added Test case and Tim reviewed it.
5b558cb
to
de1364b
Compare
EWS run on current version of this PR (hash de1364b) |
@nt1m - I had to add tolerance / fuzzy to testcase since it had 0.01% difference on macOS, do you want to have quick review or if it passes EWS, I can commit it? |
Only send one drawing command per list marker https://bugs.webkit.org/show_bug.cgi?id=248378 Reviewed by Tim Nguyen. Merge - https://src.chromium.org/viewvc/blink?view=revision&revision=151161 Previously, some list markers (notably list-style-type: disc, circle, square) would send two drawing commands per marker: one to fill the marker, and then a second one to fill it. This constructs unnecessary paints and causes a weird visual effect if the color is translucent. This should have a minor visible effect on these list markers, but it's not identical: since the stroke area isn't drawn again, the antialiasing varies. * Source/WebCore/rendering/RenderListMarker.cpp: (RenderListMarker::paint): Update draw to fill or stroke for "disc", "circle" and "square" * LayoutTests/fast/lists/list-type-translucent-color.html: Added Test Case * LayoutTests/fast/lists/list-type-translucent-color-expected.html: Added Test Case Expectation Canonical link: https://commits.webkit.org/257175@main
de1364b
to
5e81d33
Compare
Committed 257175@main (5e81d33): https://commits.webkit.org/257175@main Reviewed commits have been landed. Closing PR #6842 and removing active labels. |
5e81d33
de1364b
π§ͺ api-gtk