mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
1a55ddcdf0
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
8 lines
159 B
HTML
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>
|