servo/tests/wpt/css-tests/compositing-1_dev/html/blend-isolation.htm

31 lines
No EOL
707 B
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Compositing and Blending: isolation applied to a group containing blending</title>
<link href="mailto:cabanier@adobe.com" rel="author" title="cabanier">
<link href="http://www.w3.org/TR/compositing-1/#isolation" rel="help">
<meta content="Isolation on a group with blending" name="assert">
<style>
.a {
background-color: rgb(0,255,0);
}
#b {
width: 200px;
height: 210px;
}
.c {
width: 100px;
height: 100px;
mix-blend-mode: difference;
}
#d {
isolation: isolate;
}
</style>
</head><body><p>Test passes if you see a solid green rectangle</p>
<div class="a" id="b">
<div id="d">
<div class="a c"></div>
</div>
</div>
</body></html>