And remove the limitation that this function can only be called on isDocumentElementRenderer() objects.
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.