diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-003.tentative.html')
-rw-r--r-- | testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-003.tentative.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-003.tentative.html b/testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-003.tentative.html new file mode 100644 index 0000000000..d104662b26 --- /dev/null +++ b/testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-003.tentative.html @@ -0,0 +1,23 @@ +<!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"> +<link rel="match" href="backface-visibility-hidden-003-ref.html"> + +<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 style="background: red"></div> +</div> +<div class=target> + <div style="background: green"></div> +</div> |