Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/iframe-display-none-to-display-block.html

Issue 2743053003: [Reland #1] Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: rebaseline. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/paint/invalidation/iframe-display-none-to-display-block.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/iframe-display-none-to-display-block.html b/third_party/WebKit/LayoutTests/paint/invalidation/iframe-display-none-to-display-block.html
new file mode 100644
index 0000000000000000000000000000000000000000..443a261466e14aaace191c824e867b8d7a12ccc7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/iframe-display-none-to-display-block.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+function repaintTest()
+{
+ document.getElementById("iframe").style.display = "block";
+}
+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 none to block
+ creates the right sequence of paint invalidations.
+</p>
+<iframe id="iframe" width="728" height="90" style="display: none"></iframe>

Powered by Google App Engine
This is Rietveld 408576698