| <!DOCTYPE html> |
| <html> |
| <head> |
| <style> |
| .composited { |
| position: fixed; |
| background-color: #223344; |
| width: 50px; |
| height: 50px; |
| } |
| #layer-solid-color { |
| top: 100px; |
| } |
| </style> |
| <head> |
| |
| <!-- Fixed position elements may skip compositing without a scrollable |
| ancestor. To make sure this test covers the intended scenario, we force the |
| body element to be tall, so that the FrameView is scrolling. --> |
| <body style="height: 4000px;"> |
| <div id="layer" class="composited"> |
| inner layer |
| </div> |
| <div id="layer-solid-color" class="composited"> |
| </div> |
| </body> |
| </html> |