[Webkit-unassigned] [Bug 208161] New: [Frame flattening] When the iframe content schedules layout, it should also mark the owner renderer dirty
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 24 15:47:38 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=208161
Bug ID: 208161
Summary: [Frame flattening] When the iframe content schedules
layout, it should also mark the owner renderer dirty
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: zalan at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
In the frame flattening context when optional layout is delayed, getComputedStyle() might return the un-flattened geometry unless the iframe element is forced to get laid out.
1. main frame content is loaded and laid out -> if the iframe content is not ready yet, we don't initiate iframe flattening.
2. iframe content is ready -> layout is scheduled.
3. getComputedStyle() is called which initiates a style update/layout on the main frame, but only dirty boxes trigger layout (the iframe renderer itself is not dirty <- this is where frame flattening fails)
4. getComputedStyle() returns with the "stale" geometry.
See fast/frames/flattening/iframe-tiny.html
--
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/20200224/99a79959/attachment.htm>
More information about the webkit-unassigned
mailing list