summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-003-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-003-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-003-ref.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-003-ref.html b/testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-003-ref.html
new file mode 100644
index 0000000000..7dab6b947f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-003-ref.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<title>backface visibility: hidden applies to pseudo-stacking contexts</title>
+<link rel="author" title="Chris Harrelson" href="mailto:chrishtr@chromium.org">
+<link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-property">
+<link rel="help" href="http://www.w3.org/TR/css-transforms-2/#propdef-backface-visibility">
+
+<p>The test passes if there is a green rectangle and no red</p>
+<style>
+ div {
+ width: 100px;
+ height: 100px;
+ }
+ .target {
+ transform: rotateY(180deg);
+ }
+</style>
+<div class=target style="backface-visibility: hidden">
+</div>
+<div class=target>
+ <div style="background: green"></div>
+</div>