OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
esprehn
2016/12/16 21:29:44
I'd leave out html and body, the test doesn't need
erikchen
2016/12/16 22:42:10
Done.
| |
3 <script src="resources/text-based-repaint.js" type="text/javascript"></script> | |
esprehn
2016/12/16 21:29:44
no type attr
erikchen
2016/12/16 22:42:10
Done.
| |
4 <script> | |
5 function repaintTest() | |
6 { | |
7 iframe.style.display = "none"; | |
esprehn
2016/12/16 21:29:44
document.getElementById("iframe") avoids the magic
erikchen
2016/12/16 22:42:10
Done.
| |
8 } | |
9 window.addEventListener("load", runRepaintAndPixelTest, false); | |
esprehn
2016/12/16 21:29:44
no false
erikchen
2016/12/16 22:42:10
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 block to none | |
15 creates the right sequence of paint invalidations. | |
16 </p> | |
17 <iframe id="iframe" width="728" height="90" style="display: block"></iframe> | |
18 </body> | |
19 </html> | |
OLD | NEW |