| Index: LayoutTests/paint/invalidation/fixed-position-with-text.html
|
| diff --git a/LayoutTests/paint/invalidation/fixed-position-with-text.html b/LayoutTests/paint/invalidation/fixed-position-with-text.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..28c4546318640dbffae5b5f0ce028cc5362dda81
|
| --- /dev/null
|
| +++ b/LayoutTests/paint/invalidation/fixed-position-with-text.html
|
| @@ -0,0 +1,36 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <style>
|
| + #div {
|
| + position: fixed;
|
| + float: left;
|
| + z-index: 10;
|
| + }
|
| + span {
|
| + display: inline-block;
|
| + border: 1px solid black;
|
| + }
|
| + span:hover {
|
| + color: green;
|
| + }
|
| + </style>
|
| + <script src="../../resources/run-after-layout-and-paint.js"></script>
|
| + <script type="text/javascript">
|
| + if (window.testRunner)
|
| + testRunner.waitUntilDone();
|
| +
|
| + runAfterLayoutAndPaint(function() {
|
| + document.body.style.height = "300px";
|
| + document.getElementById("div").style.position = "relative";
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| + });
|
| + </script>
|
| +</head>
|
| +<body>
|
| +<div id="div">
|
| +<span>This text should be in a box</span>
|
| +</div>
|
| +</body>
|
| +</html>
|
|
|