| OLD | NEW |
| 1 <head> | 1 <head> |
| 2 <script> | 2 <script> |
| 3 if (testRunner) | 3 if (window.testRunner) |
| 4 testRunner.dumpAsText(); | 4 testRunner.dumpAsText(); |
| 5 | 5 |
| 6 function test() | 6 function test() |
| 7 { | 7 { |
| 8 document.body.offsetTop; | 8 document.body.offsetTop; |
| 9 var s = document.getElementById("target").style; | 9 var s = document.getElementById("target").style; |
| 10 s.setProperty("position", "fixed"); | 10 s.setProperty("position", "fixed"); |
| 11 document.body.offsetTop; | 11 document.body.offsetTop; |
| 12 s.setProperty("overflow", "hidden"); | 12 s.setProperty("overflow", "hidden"); |
| 13 s.setProperty("height", "0"); | 13 s.setProperty("height", "0"); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 26 This crash occurred after an object’s position changed directly | 26 This crash occurred after an object’s position changed directly |
| 27 from absolute to fixed, and it was not added to the LayoutView’s | 27 from absolute to fixed, and it was not added to the LayoutView’s |
| 28 positioned objects list nor removed from its old container’s list.
| 28 positioned objects list nor removed from its old container’s list.
|
| 29 </p> | 29 </p> |
| 30 <div style="position: relative;"> | 30 <div style="position: relative;"> |
| 31 <div id="target" style="top: 50px; position: absolute;"> | 31 <div id="target" style="top: 50px; position: absolute;"> |
| 32 <div style="height: 50px; width: 50px; background-color: red;"></div
> | 32 <div style="height: 50px; width: 50px; background-color: red;"></div
> |
| 33 </div> | 33 </div> |
| 34 </div> | 34 </div> |
| 35 </body> | 35 </body> |
| OLD | NEW |