Bug 259424 - [IFC] Modern LineLayout should respect subtreePaintRoot
Summary: [IFC] Modern LineLayout should respect subtreePaintRoot
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 16
Hardware: All macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-23 00:02 PDT by Ethan Wong
Modified: 2023-07-30 00:03 PDT (History)
4 users (show)

See Also:


Attachments
text recognition results causing incorrect drag preview images (4.89 MB, video/quicktime)
2023-07-23 00:02 PDT, Ethan Wong
no flags Details
a more generic test case for this issue (420 bytes, text/html)
2023-07-23 00:03 PDT, Ethan Wong
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ethan Wong 2023-07-23 00:02:45 PDT
Created attachment 467090 [details]
text recognition results causing incorrect drag preview images

Possibly related bugs:
* https://bugs.webkit.org/show_bug.cgi?id=227630
* https://bugs.webkit.org/show_bug.cgi?id=237446

The modern path of RenderBlockFlow::paintInlineChildren should respect subtreePaintRoot.

As demonstrated by the attached screen recording, one of the specific behaviors caused by this issue is that text recognition results causing incorrect drag preview images for elements with draggable="true". It happens due to the results are rendered as large text and then shrinked down by transforms.
Comment 1 Ethan Wong 2023-07-23 00:03:42 PDT
Created attachment 467091 [details]
a more generic test case for this issue
Comment 2 Ethan Wong 2023-07-23 00:04:54 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16019
Comment 3 Radar WebKit Bug Importer 2023-07-30 00:03:16 PDT
<rdar://problem/113095239>