Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-transforms/backface-visibility-hidden-background-blend-mode.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>backface visibility: hidden does not hide an element with a 360 degree transform that uses background-blend-mode</title>
<link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com">
<link rel="match" href="/css/reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<style>
.outer {
width: 100px;
height: 100px;
transform-style: preserve-3d;
transform: rotateY(180deg);
}
.inner {
width: 100px;
height: 100px;
backface-visibility: hidden;
transform: rotateY(180deg);
background-image: linear-gradient(green, green), linear-gradient(white, white);
background-blend-mode: multiply;
}
</style>
<div class="outer">
<div class="inner"></div>
</div>