| Index: third_party/WebKit/LayoutTests/paint/invalidation/iframe-display-block-to-display-none.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/iframe-display-block-to-display-none.html b/third_party/WebKit/LayoutTests/paint/invalidation/iframe-display-block-to-display-none.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e85793470928773277326dc2fc12fce72610cc64
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/iframe-display-block-to-display-none.html
|
| @@ -0,0 +1,15 @@
|
| +<!DOCTYPE html>
|
| +<script src="resources/text-based-repaint.js"></script>
|
| +<script>
|
| +function repaintTest()
|
| +{
|
| + document.getElementById("iframe").style.display = "none";
|
| +}
|
| +window.addEventListener("load", runRepaintAndPixelTest);
|
| +</script>
|
| +<p><a href="https://code.google.com/p/chromium/issues/detail?id=650433">issue 650433</a>:
|
| + display:none iframes do not have layout objects<br>
|
| + The test checks that changing the style of an iframe from block to none
|
| + creates the right sequence of paint invalidations.
|
| +</p>
|
| +<iframe id="iframe" width="728" height="90" style="display: block"></iframe>
|
|
|