mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
31 lines
No EOL
844 B
HTML
31 lines
No EOL
844 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><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> |