Index: LayoutTests/compositing/fixed-position-opaque-compositing.html |
diff --git a/LayoutTests/compositing/fixed-position-opaque-compositing.html b/LayoutTests/compositing/fixed-position-opaque-compositing.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a1d42217eba02656466e136cb5cd385393b5e513 |
--- /dev/null |
+++ b/LayoutTests/compositing/fixed-position-opaque-compositing.html |
@@ -0,0 +1,39 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <style> |
+ body { |
+ margin: 0; |
+ background-color: #fff; |
+ height: 2000px; |
+ } |
+ |
+ .Box { |
+ width: 250px; |
+ height: 250px; |
+ position: fixed; |
+ top: 0; |
+ } |
+ .Box-opaque { |
+ background-color: green; |
+ left: 0; |
+ } |
+ .Box-transparent { |
+ background-color: rgba(0, 128, 0, 0.99); |
+ left: 300px; |
+ } |
+ </style> |
+ |
+ <script> |
+ window.addEventListener('load', function() { |
+ if (window.testRunner && window.internals) { |
+ window.testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document)); |
+ } |
+ }) |
+ </script> |
+</head> |
+<body> |
+ <div class="Box Box-opaque"></div> |
+ <div class="Box Box-transparent"></div> |
+</body> |
+</html> |