| Index: LayoutTests/compositing/repaint/scroll-fixed-squahed-layer.html
|
| diff --git a/LayoutTests/compositing/repaint/scroll-fixed-squahed-layer.html b/LayoutTests/compositing/repaint/scroll-fixed-squahed-layer.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..294a468cedff3b37195d7bbe8648d3a8a070fcca
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/repaint/scroll-fixed-squahed-layer.html
|
| @@ -0,0 +1,38 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| +<style>
|
| +.main {
|
| + position: fixed;
|
| + top: 100px;
|
| + left: 100px;
|
| + width: 200px;
|
| + height: 200px;
|
| + background-color: lightblue;
|
| + will-change: transform;
|
| +}
|
| +
|
| +.squahed {
|
| + position: fixed;
|
| + top: 150px;
|
| + left: 100px;
|
| + width: 200px;
|
| + height: 200px;
|
| + background-color: lightgreen;
|
| +}
|
| +</style>
|
| +<script>
|
| +if (window.internals)
|
| + internals.settings.setPreferCompositingToLCDTextEnabled(false);
|
| +
|
| +function repaintTest() {
|
| + window.scrollTo(0, 100);
|
| +}
|
| +</script>
|
| +</head>
|
| +<body style="height:2000px" onload="runRepaintTest()">
|
| +<div class="main"></div>
|
| +<div class="squahed"></div>
|
| +</body>
|
| +</html>
|
|
|