| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 iframe { | 5 iframe { |
| 6 width: 300px; | 6 width: 300px; |
| 7 height: 300px; | 7 height: 300px; |
| 8 position: absolute; | 8 position: absolute; |
| 9 border: none; | 9 border: none; |
| 10 background-color: red; | 10 background-color: red; |
| 11 } | 11 } |
| 12 </style> | 12 </style> |
| 13 </head> | 13 </head> |
| 14 <body> | 14 <body> |
| 15 <!-- This test reproduces https://bugs.webkit.org/show_bug.cgi?id=84979. | 15 <!-- This test reproduces https://bugs.webkit.org/show_bug.cgi?id=84979. |
| 16 In this bug, clipRects that were supposed to be "infinite" were being scr
olled, | 16 In this bug, clipRects that were supposed to be "infinite" were being scr
olled, |
| 17 causing them to no longer be considered infinite. As a result, fixed-posi
tion | 17 causing them to no longer be considered infinite. As a result, fixed-posi
tion |
| 18 layers with transformed elements would have problems. | 18 layers with transformed elements would have problems. |
| 19 | 19 |
| 20 In this layout test, the fixed-position green box should fill the iframe,
thus | 20 In this layout test, the fixed-position green box should fill the iframe,
thus |
| 21 hiding the red background. | 21 hiding the red background. |
| 22 --> | 22 --> |
| 23 <iframe id="frame" src="resources/fixed-position-transformed-subframe.html"></
iframe> | 23 <iframe id="frame" src="resources/fixed-position-transformed-subframe.html"></
iframe> |
| 24 </body> | 24 </body> |
| 25 </html> | 25 </html> |
| OLD | NEW |