[Webkit-unassigned] [Bug 216031] EventRegion paint should respect layer's foreground and background painting phases
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 1 09:41:31 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=216031
--- Comment #5 from Antti Koivisto <koivisto at iki.fi> ---
> > Source/WebCore/rendering/RenderBlock.cpp:1140
> > + if (paintInfo.eventRegionContext)
> > + paintInfoForChild.paintBehavior.add(PaintBehavior::EventRegionIncludeBackground);
>
> This is pretty weird. I wish event region painting followed normal painting
> more closely.
It basically just does the same thing the code next to it does with paint phases:
newPhase = (newPhase == PaintPhase::ChildBlockBackgrounds) ? PaintPhase::ChildBlockBackground : newPhase;
(ChildBlockBackgrounds vs ChildBlockBackground is bit subtle)
> I know you moved this and I added it in r262337 but I don't understand it.
I suppose the other flags are not relevant for event regions?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200901/955c5318/attachment-0001.htm>
More information about the webkit-unassigned
mailing list