diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-005.tentative.html')
-rw-r--r-- | testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-005.tentative.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-005.tentative.html b/testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-005.tentative.html new file mode 100644 index 0000000000..d53ee1c606 --- /dev/null +++ b/testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-005.tentative.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<title>backface visibility: hidden inside preserve-3d does not apply to pseudo-stacking context descendants</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-005-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 style="transform-style: preserve-3d"> + <div class=target style="backface-visibility: hidden; transform-style: preserve-3d"> + <div style="background: green; isolation: isolate; "></div> +</div> +</div> |