mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
03a5bc2fc3
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
9 lines
154 B
HTML
9 lines
154 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<body>
|
|
<div style="width:400px; height:200px;
|
|
border:2px solid black; background: lime;">
|
|
</div>
|
|
</body>
|
|
</html>
|