[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:35:14 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216031

Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #407668|review?                     |review+
              Flags|                            |

--- Comment #3 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 407668
  --> https://bugs.webkit.org/attachment.cgi?id=407668
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=407668&action=review

> 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.

> Source/WebCore/rendering/RenderLayer.cpp:4654
> +            paintBehavior = paintBehavior & PaintBehavior::CompositedOverflowScrollContent;

I know you moved this and I added it in r262337 but I don't understand it.

-- 
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/8b4898fb/attachment-0001.htm>


More information about the webkit-unassigned mailing list