gecko-dev/layout/reftests/async-scrolling/contain-paint-scrollable-frame-1-ref.html
Daniel Holbert 03a5bc2fc3 Bug 1494801: Don't add additional "contain:paint" clipping on scroll frames. r=mattwoodrow
The contain:paint clipping would be redundant and hence unnecessary in this
scenario, because:
- Scroll frames already clip their descendant frames.
- contain:paint has other (non-clipping-related) effects that prevent
descendant frames from escaping the scrollframe ancestor.

So, no further clipping is required.

This is a behavior change - it works around an issue that makes us fail to
repaint mousewheel-scrolled content inside of any scrollframe that returns true
from ShouldApplyOverflowClipping().

Differential Revision: https://phabricator.services.mozilla.com/D12056

--HG--
extra : moz-landing-system : lando
2018-11-19 23:45:19 +00:00

9 lines
154 B
HTML

<!DOCTYPE HTML>
<html>
<body>
<div style="width:400px; height:200px;
border:2px solid black; background: lime;">
</div>
</body>
</html>