Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/compositing/fixed-position-container.html |
| diff --git a/third_party/WebKit/LayoutTests/compositing/fixed-position-container.html b/third_party/WebKit/LayoutTests/compositing/fixed-position-container.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..21f77bb7f69fa3a3ccc7cad8c9039ee6bec5abcd |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/compositing/fixed-position-container.html |
| @@ -0,0 +1,33 @@ |
| +<!DOCTYPE html> |
| + |
| +<style> |
| + #clip { |
| + position: absolute; |
| + overflow: hidden; |
| + width: 300px; |
| + height: 300px; |
| + } |
| + |
| + #transform { |
| + transform: scale3d(2, 2, 1); |
| + background-color: blue; |
| + width: 200px; |
| + height: 200px; |
| + } |
| + |
| + #fixed { |
| + will-change: transform; |
| + position: fixed; |
| + top: 50px; |
| + left: 50px; |
| + width: 100px; |
| + height: 100px; |
| + background-color: green; |
| + } |
| +</style> |
| + |
| +<div id='clip'> |
| + <div id='transform'> |
| + <div id='fixed'></div> |
| + </div> |
| +</div> |