Chromium Code Reviews| Index: third_party/WebKit/Source/core/paint/paint_property_tree_builder_tests/fixed-position.html |
| diff --git a/third_party/WebKit/Source/core/paint/paint_property_tree_builder_tests/fixed-position.html b/third_party/WebKit/Source/core/paint/paint_property_tree_builder_tests/fixed-position.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1fe42ddd93d17dc6992fa6bc46a62068bf2c907a |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/paint/paint_property_tree_builder_tests/fixed-position.html |
| @@ -0,0 +1,38 @@ |
| +<style> |
|
jbroman
2015/10/16 14:46:51
If you do this (I'll defer to pdr), please add the
trchen
2015/10/20 05:11:47
WontFix (obsolete)
|
| +.positioned-scroll { |
| + position: absolute; |
| + left: 100px; |
| + top: 50px; |
| + width: 400px; |
| + height: 300px; |
| + overflow: scroll; |
| +} |
| + |
| +.bloat { |
| + height: 10000px; |
| +} |
| + |
| +.fixed { |
| + position: fixed; |
| + left: 200px; |
| + top: 150px; |
| + width: 100px; |
| + height: 100px; |
| +} |
| + |
| +.transformed-scroll { |
| + transform: scaleX(2); |
| + width: 400px; |
| + height: 300px; |
| + overflow: scroll; |
| +} |
| +</style> |
| +<div class="positioned-scroll"> |
| + <div class="bloat"></div> |
| + <div class="fixed"></div> |
| +</div> |
| +<div class="transformed-scroll"> |
| + <div class="bloat"></div> |
| + <div class="fixed"></div> |
| +</div> |
| +This test verifies fixed-position elements correctly skip scrolling and adhere to transformed container. |