Bug 208614 - [First paint] Check for VNE state as the image content arrives
Summary: [First paint] Check for VNE state as the image content arrives
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-03-04 16:41 PST by zalan
Modified: 2020-03-05 14:29 PST (History)
13 users (show)

See Also:


Attachments
Patch (4.84 KB, patch)
2020-03-04 17:27 PST, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2020-03-04 16:41:59 PST
Image content does not necessarily trigger layout and definitely won't trigger tree building -> no VNE check.
Comment 1 Radar WebKit Bug Importer 2020-03-04 16:42:25 PST
<rdar://problem/60063261>
Comment 2 zalan 2020-03-04 17:27:57 PST
Created attachment 392517 [details]
Patch
Comment 3 Simon Fraser (smfr) 2020-03-04 18:11:15 PST
Comment on attachment 392517 [details]
Patch

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

> Source/WebCore/rendering/RenderVideo.cpp:106
> +        incrementVisuallyNonEmptyPixelCountIfNeeded(roundedIntSize(size), !needsLayout());

Ew. Do we really want to do this?