summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/translucent-outline.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-ui/translucent-outline.html')
-rw-r--r--testing/web-platform/tests/css/css-ui/translucent-outline.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-ui/translucent-outline.html b/testing/web-platform/tests/css/css-ui/translucent-outline.html
new file mode 100644
index 0000000000..38109a56a5
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ui/translucent-outline.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<title>Outline with translucent color, will-change:transform and negative-z index child</title>
+<link rel="help" title="7.1. 'outline' property" href="http://www.w3.org/TR/css3-ui/#outline">
+<link rel="match" href="translucent-outline-ref.html">
+<style>div { will-change: transform; }</style>
+There should be a square in uniform pale green color.
+<div style="position: relative; top: 25px; left: 25px;
+ width: 50px; height: 50px;
+ outline: 25px solid rgba(0, 128, 0, 0.5);
+ background: rgba(0, 128, 0, 0.5)">
+ <div style="position: absolute; width: 10px; height: 10px; z-index: -1"></div>
+</div>