Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 iframe { | |
| 4 float: left; | |
| 5 height: 100%; | |
| 6 width: 100%; | |
| 7 } | |
| 8 </style> | |
| 9 <iframe id="target" name="content" srcdoc="<div style='width: 300px; height:400 px; background: blue'></div>" style="height: 119px;"></iframe> | |
| 10 <script> | |
| 11 if (window.internals) | |
| 12 window.internals.settings.setPreferCompositingToLCDTextEnabled(true); | |
| 13 onload = function() { | |
|
Xianzhu
2016/05/26 18:29:54
I think we should use runAfterLayoutAndPaint() bec
chrishtr
2016/05/26 18:49:29
Done.
| |
| 14 target.style.height = "600px"; | |
| 15 } | |
| 16 </script> | |
| OLD | NEW |