WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
287939
Clean up border drawing code in BorderPainter::paintSides()
https://bugs.webkit.org/show_bug.cgi?id=287939
Summary
Clean up border drawing code in BorderPainter::paintSides()
Simon Fraser (smfr)
Reported
2025-02-18 20:28:56 PST
This logic is hard to follow: if ((sides.haveAllSolidEdges || haveAllDoubleEdges) && allEdgesShareColor) { // Fast path for drawing all solid edges and all unrounded double edges if (numEdgesVisible == 4 && (sides.outerBorder.isRounded() || haveAlphaColor) && (sides.haveAllSolidEdges || (!sides.outerBorder.isRounded() && !sides.innerBorder.isRounded()))) { Path path;
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-02-18 20:32:07 PST
<
rdar://problem/145111400
>
Simon Fraser (smfr)
Comment 2
2025-02-18 20:38:18 PST
Pull request:
https://github.com/WebKit/WebKit/pull/40830
EWS
Comment 3
2025-02-19 07:28:35 PST
Committed
290608@main
(081888240ee0): <
https://commits.webkit.org/290608@main
> Reviewed commits have been landed. Closing PR #40830 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug