| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <script src="../../resources/run-after-layout-and-paint.js"></script> | |
| 3 <!-- This is similar to floating-self-painting-frame.html, but contains multiple | |
| 4 containing blocks and sibling blocks in which the floating objects overhangs | |
| 5 and intrudes. Tests shouldPaint flag is set on at most one ancestor containing | |
| 6 block. Passes if no crash (on display items with duplicated ids because the | |
| 7 iframe would be painted multiple times). --> | |
| 8 <style>div {height: 100px; background-color: white;}</style> | |
| 9 <div> | |
| 10 <div> | |
| 11 <div> | |
| 12 <iframe id="target" style="float: left; width: 400px; height: 100px" | |
| 13 srcdoc="<div style='width: 300px; height:400px; background: blue'></div
>"></iframe> | |
| 14 <div></div> | |
| 15 <div></div> | |
| 16 </div> | |
| 17 </div> | |
| 18 </div> | |
| 19 <script> | |
| 20 if (window.internals) | |
| 21 window.internals.settings.setPreferCompositingToLCDTextEnabled(true); | |
| 22 runAfterLayoutAndPaint(function() { | |
| 23 target.style.height = "500px"; | |
| 24 }, true); | |
| 25 </script> | |
| OLD | NEW |