Bug 246051

Summary: [Outline] Outline painting should be able to call BorderPainter with border-radius info
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, changseok, esprehn+autocc, ews-watchlist, glenn, koivisto, kondapallykalyan, pdr, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 20807    
Attachments:
Description Flags
Patch none

zalan
Reported 2022-10-04 17:14:28 PDT
ssia
Attachments
Patch (15.91 KB, patch)
2022-10-04 17:29 PDT, zalan
no flags
zalan
Comment 1 2022-10-04 17:29:11 PDT
Antti Koivisto
Comment 2 2022-10-05 07:52:52 PDT
Comment on attachment 462800 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=462800&action=review > Source/WebCore/rendering/BorderPainter.h:47 > + struct Sides { > + RoundedRect outerBorder; > + RoundedRect innerBorder; > + RoundedRect unadjustedInnerBorder; > + std::optional<BorderData::Radii> radii { }; > + const BorderEdges& edges; > + bool haveAllSolidEdges { true }; > + BackgroundBleedAvoidance bleedAvoidance { BackgroundBleedNone }; > + bool includeLogicalLeftEdge { true }; > + bool includeLogicalRightEdge { true }; > + bool appliedClipAlready { false }; > + }; "Sides" seems like a strange name for this. I'd expect it would have four sides as a member or something. I don't have a suggestion though.
zalan
Comment 3 2022-10-05 20:29:40 PDT
(In reply to Antti Koivisto from comment #2) > Comment on attachment 462800 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=462800&action=review > > > Source/WebCore/rendering/BorderPainter.h:47 > > + struct Sides { > > + RoundedRect outerBorder; > > + RoundedRect innerBorder; > > + RoundedRect unadjustedInnerBorder; > > + std::optional<BorderData::Radii> radii { }; > > + const BorderEdges& edges; > > + bool haveAllSolidEdges { true }; > > + BackgroundBleedAvoidance bleedAvoidance { BackgroundBleedNone }; > > + bool includeLogicalLeftEdge { true }; > > + bool includeLogicalRightEdge { true }; > > + bool appliedClipAlready { false }; > > + }; > > "Sides" seems like a strange name for this. I'd expect it would have four > sides as a member or something. I don't have a suggestion though. I'll try to think of a better name -will come back to it.
EWS
Comment 4 2022-10-05 21:19:36 PDT
Committed 255207@main (dfee462561b1): <https://commits.webkit.org/255207@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 462800 [details].
Radar WebKit Bug Importer
Comment 5 2022-10-05 21:20:21 PDT
Note You need to log in before you can comment on or make changes to this bug.