[Webkit-unassigned] [Bug 140183] Failed to display background image when body is composited

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 7 17:52:47 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=140183

--- Comment #34 from zalan <zalan at apple.com> ---
Comment on attachment 246104
  --> https://bugs.webkit.org/attachment.cgi?id=246104
Render: properly update body's background image

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

> LayoutTests/compositing/backgrounds/background-image-with-negative-zindex.html:27
> +function onPageShow() {
> +    if (window.testRunner)
> +        testRunner.notifyDone();
> +}

Why is it in onPageShow() and not in onLoad()? Is it because you expect it to be executed sometime after onLoad() when the new div has already been laid out?

> LayoutTests/compositing/backgrounds/background-image-with-negative-zindex.html:46
> +<body onload="onLoad()" onpageshow="onPageShow()" style="z-index: -1;">

z-index: -1 should be moved to <style>

-- 
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/20150208/d34c03b1/attachment-0002.html>


More information about the webkit-unassigned mailing list