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

Side by Side 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, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest()
5 {
6 document.getElementById("iframe").style.display = "block";
7 }
8 window.addEventListener("load", runRepaintAndPixelTest);
9 </script>
10 <p><a href="https://code.google.com/p/chromium/issues/detail?id=650433">issue 65 0433</a>:
11 display:none iframes do not have layout objects<br>
12 The test checks that changing the style of an iframe from none to block
13 creates the right sequence of paint invalidations.
14 </p>
15 <iframe id="iframe" width="728" height="90" style="display: none"></iframe>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698