[Webkit-unassigned] [Bug 135106] New: Inline box culling breaks node snapshotting
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 20 16:45:35 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=135106
Summary: Inline box culling breaks node snapshotting
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mitz at webkit.org
CC: hyatt at apple.com, simon.fraser at apple.com
Created an attachment (id=235193)
--> (https://bugs.webkit.org/attachment.cgi?id=235193&action=review)
Test case
In the test case, when you drag the first span, the drag snapshot is correct. When you drag the second span, the snapshot is empty.
The reason is that the snapshots are made by setting PaintInfo’s subtreePaintRoot to span’s RenderInline, but since the second span doesn’t have inline boxes, we never hit the (subtreePaintRoot == renderer) case in PaintInfo::updateSubtreePaintRootForChildren() when it’s called from InlineFlowBox::paint, so the subtree root is never cleared and nothing paints.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list