| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 .container { | 3 .container { |
| 4 position: fixed; | 4 position: fixed; |
| 5 top: 0; | 5 top: 0; |
| 6 left: 0; | 6 left: 0; |
| 7 right: 0; | 7 right: 0; |
| 8 bottom: 0; | 8 bottom: 0; |
| 9 background-color: lightgrey; | 9 background-color: lightgrey; |
| 10 } | 10 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 </style> | 27 </style> |
| 28 <!-- | 28 <!-- |
| 29 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, |
| 30 since its position is relative to the size of the frame. | 30 since its position is relative to the size of the frame. |
| 31 --> | 31 --> |
| 32 <div class="container"> | 32 <div class="container"> |
| 33 <div class="parent"> | 33 <div class="parent"> |
| 34 <div class="child"></div> | 34 <div class="child"></div> |
| 35 </div> | 35 </div> |
| 36 </div> | 36 </div> |
| OLD | NEW |