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