Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position.html b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f028d8c3bf68211bd1dbe4616256a3680c9aca3d |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position.html |
| @@ -0,0 +1,23 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +div { |
| + width: 100px; |
| + height: 50px; |
| +} |
| +.container { |
| + contain: paint; |
| + background-color: green; |
| +} |
| +.fixed { |
| + position: fixed; |
| + top: 0px; |
| + left: 100px; |
| + background-color: red; |
| +} |
| +.inline { |
| + display: inline-block; |
| +} |
| +</style> |
| +<body> |
| +<div class="container"><div class="fixed"></div></div> |
| +<div class="container inline"><div class="fixed"></div></div> |