mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
21 lines
657 B
HTML
21 lines
657 B
HTML
<!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>
|