summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/backface-visibility-hidden-004-ref.html
blob: 94c1fc496afb447d6d592e36e85b3445266379d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<title>backface visibility: hidden does not apply to child 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;
  }
</style>
<div class=target style="backface-visibility: hidden">
  <div style="background: green; isolation: isolate"></div>
</div>