gecko-dev/layout/reftests/async-scrolling/bg-fixed-child-no-culling-3-ref.html
Markus Stange 1a55ddcdf0 Bug 1336519 - Don't try to detect scrolled clips using AGRs in non-APZ mode. r=mattwoodrow
Before bug 1298218, in this if branch with APZ enabled, itemClip was always
the display port clip for fixed backgrounds, even for fixed backgrounds on the
canvas frame. But after bug 1298218 we no longer clip canvas fixed backgrounds
to the display port, so itemClip is now the viewport clip. And that clip is
definitely not a scrolled clip, so we must not merge layers around it.

The better solution for this would be to remove this if branch completely and
fix up the scrolled clip layerization detection for the non-APZ case to also
use ASRs. That's tracked by bug 1336516.

MozReview-Commit-ID: 2F7hPrldUlq

--HG--
extra : rebase_source : db1e801fc3179fda1a9d3bc8d8f6c6b0789a1e76
2017-02-03 13:41:37 -05:00

8 lines
159 B
HTML

<!DOCTYPE HTML>
<html>
<body style="overflow:hidden; margin:0;">
<div style="width: 200px; height: 100px; background: lime;"></div>
</div>
</body>
</html>