summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-transformed-descendant.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-transformed-descendant.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-transformed-descendant.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-transformed-descendant.html b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-transformed-descendant.html
new file mode 100644
index 0000000..d11d1821
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-transformed-descendant.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<style>
+div {
+ width: 100px;
+ height: 50px;
+}
+.container {
+ contain: paint;
+ background-color: green;
+}
+.transform {
+ background-color: red;
+ top: 100px;
+ transform: translateZ(0) scaleY(2) translateX(100px);
+}
+.inline {
+ display: inline-block;
+}
+</style>
+<body>
+<div class="container"><div class="transform"></div></div>
+<div class="container inline"><div class="transform"></div></div> \ No newline at end of file