Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <p>crbug.com/615056: There should be a green square below.</p> | |
| 3 <div style="position: relative;"> | |
| 4 <div style="position: absolute;"> | |
| 5 <span style="position: relative;"> | |
| 6 <div style="position: absolute;"> | |
| 7 <div style="display: none; height: 50px; width: 50px; background -color: green;" id="child"> | |
| 8 </div> | |
| 9 </div> | |
| 10 </span> | |
| 11 </div> | |
| 12 </div> | |
| 13 <script> | |
| 14 document.body.offsetTop; | |
| 15 document.getElementById("child").style.display = "block"; | |
| 16 </script> | |
| OLD | NEW |