Summary: | Move RenderElement::rendererForRootBackground to RenderView. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> | ||||||||
Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | commit-queue, esprehn+autocc, glenn, kondapallykalyan, simon.fraser | ||||||||
Priority: | P2 | ||||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
zalan
2016-12-05 20:11:35 PST
Created attachment 296255 [details]
Patch
Created attachment 296261 [details]
Patch
Comment on attachment 296261 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=296261&action=review > Source/WebCore/rendering/RenderView.cpp:523 > + if (!is<HTMLHtmlElement>(documentRenderer.element())) > + return &documentRenderer; > + > + if (documentRenderer.hasBackground()) > + return &documentRenderer; Swap these around and maybe add a comment saying that this is an HTML-specific behavior. Created attachment 296334 [details]
Patch
Comment on attachment 296334 [details] Patch Clearing flags on attachment: 296334 Committed r209438: <http://trac.webkit.org/changeset/209438> All reviewed patches have been landed. Closing bug. |