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

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

Issue 2564633002: Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: Comments from esprehn. Created 4 years 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 <html>
esprehn 2016/12/16 21:29:44 ditto
erikchen 2016/12/16 22:42:11 Done.
3 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
esprehn 2016/12/16 21:29:44 remove type attr
erikchen 2016/12/16 22:42:11 Done.
4 <script>
5 function repaintTest()
6 {
7 iframe.style.display = "block";
8 }
9 window.addEventListener("load", runRepaintAndPixelTest, false);
esprehn 2016/12/16 21:29:44 default is false, you can leave it out
erikchen 2016/12/16 22:42:11 Done.
10 </script>
11 <body>
12 <p><a href="https://code.google.com/p/chromium/issues/detail?id=650433">issu e 650433</a>:
13 display:none iframes do not have layout objects<br>
14 The test checks that changing the style of an iframe from none to block
15 creates the right sequence of paint invalidations.
16 </p>
17 <iframe id="iframe" width="728" height="90" style="display: none"></iframe>
18 </body>
19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698