RESOLVED FIXED287939
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
Radar WebKit Bug Importer
Comment 1 2025-02-18 20:32:07 PST
Simon Fraser (smfr)
Comment 2 2025-02-18 20:38:18 PST
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.