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