Bug 214367 - Event regions need to respect clip-path
Summary: Event regions need to respect clip-path
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 126207
  Show dependency treegraph
 
Reported: 2020-07-15 11:35 PDT by Simon Fraser (smfr)
Modified: 2021-11-15 14:35 PST (History)
5 users (show)

See Also:


Attachments
test to drop into editing/editable-region (786 bytes, text/html)
2020-07-15 11:35 PDT, Simon Fraser (smfr)
no flags Details
Example with touch-action (1.27 KB, text/html)
2020-07-15 11:52 PDT, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2020-07-15 11:35:12 PDT
Created attachment 404366 [details]
test to drop into editing/editable-region

If an element is clipped with the clip-path property, event regions need to respect that; currently, editable regions (which do not rely on clip-path being composited) are wrong for descendants of elements with clip-path.

This is important because content uses clip-path to hide descendants from hit-testing (see bug 214362).
Comment 1 Radar WebKit Bug Importer 2020-07-15 11:35:40 PDT
<rdar://problem/65617631>
Comment 2 Simon Fraser (smfr) 2020-07-15 11:52:32 PDT
Created attachment 404369 [details]
Example with touch-action

This example shows that the bug can prevent page scrolling.
Comment 3 Bruno Stasse 2021-11-13 07:01:29 PST
The following bug might be related: https://bugs.webkit.org/show_bug.cgi?id=233084