| Index: LayoutTests/fast/repaint/shift-relative-positioned-container-with-image-removal.html
|
| diff --git a/LayoutTests/fast/repaint/shift-relative-positioned-container-with-image-removal.html b/LayoutTests/fast/repaint/shift-relative-positioned-container-with-image-removal.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cf520946ee4990f1b3aae74ab781e473de673cf9
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/repaint/shift-relative-positioned-container-with-image-removal.html
|
| @@ -0,0 +1,34 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<style>
|
| +img {
|
| + max-width: 100%;
|
| +}
|
| +.relative {
|
| + position: relative;
|
| +}
|
| +/* Not needed but helps to see the bug. */
|
| +.paddingTop {
|
| + padding: 50px;
|
| +}
|
| +</style>
|
| +<script src="resources/text-based-repaint.js" type="text/javascript"></script>
|
| +<script>
|
| +function repaintTest()
|
| +{
|
| + iframe.style.display = "none";
|
| +}
|
| +window.addEventListener("load", runRepaintTest, false);
|
| +</script>
|
| +<body>
|
| + <p><a href="https://code.google.com/p/chromium/issues/detail?id=353933">issue 353933</a>: Pages missing invalidations<br>
|
| + The test checks that removing a renderer correctly invalidate the existing shifted content.
|
| + The image should be correctly invalidated below.</p>
|
| + <iframe id="iframe" width="728" height="90"></iframe>
|
| + <div class="relative">
|
| + <div class="relative paddingTop">
|
| + <img src="resources/ducky.png"></img>
|
| + </div>
|
| + </div>
|
| +</body>
|
| +</html>
|
|
|