| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="resources/window-resize-repaint.js"></script> | |
| 3 <style> | 2 <style> |
| 4 .container { | 3 .container { |
| 5 position: fixed; | 4 position: fixed; |
| 6 top: 0; | 5 top: 0; |
| 7 left: 0; | 6 left: 0; |
| 8 right: 0; | 7 right: 0; |
| 9 bottom: 0; | 8 bottom: 0; |
| 10 background-color: lightgrey; | 9 background-color: lightgrey; |
| 11 } | 10 } |
| 12 | 11 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 28 </style> | 27 </style> |
| 29 <!-- | 28 <!-- |
| 30 Tests that the element with class "child" is invalidated when the browser is res
ized, | 29 Tests that the element with class "child" is invalidated when the browser is res
ized, |
| 31 since its position is relative to the size of the frame. | 30 since its position is relative to the size of the frame. |
| 32 --> | 31 --> |
| 33 <div class="container"> | 32 <div class="container"> |
| 34 <div class="parent"> | 33 <div class="parent"> |
| 35 <div class="child"></div> | 34 <div class="child"></div> |
| 36 </div> | 35 </div> |
| 37 </div> | 36 </div> |
| OLD | NEW |