blob: f03b29c7d23c5d38fda2b29aaf0a9eee778ca1a5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
iframe {
width: 300px;
height: 300px;
position: absolute;
border: none;
background-color: red;
}
</style>
</head>
<body>
<!-- This test reproduces https://bugs.webkit.org/show_bug.cgi?id=84979.
In this bug, clipRects that were supposed to be "infinite" were being scrolled,
causing them to no longer be considered infinite. As a result, fixed-position
layers with transformed elements would have problems.
In this layout test, the fixed-position green box should fill the iframe, thus
hiding the red background.
-->
<iframe id="frame" src="resources/fixed-position-transformed-subframe.html"></iframe>
</body>
</html>