Index: third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite.html |
diff --git a/third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite.html b/third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5e6a04fe6b89d6d6f99740500114b51e61f840da |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite.html |
@@ -0,0 +1,15 @@ |
+<!doctype HTML> |
+<!-- Having a composited child should always be a position:fixed compositing trigger --> |
+<div style="position: fixed; width: 100px; height: 100px; background: lightgray"> |
+ <div style="will-change: transform; margin: 50px; width: 50px; height: 50px; background: lightblue"> |
+ </div> |
+</div> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+if (window.internals) { |
+ var layerTree = document.createElement('pre'); |
+ layerTree.innerHTML = internals.layerTreeAsText(document); |
Ian Vollick
2015/10/23 00:05:19
suggestion: perhaps you could check the JSON for t
chrishtr
2015/10/23 16:43:58
Done.
|
+ document.body.appendChild(layerTree); |
+} |
+</script> |