Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
Merge pull request #333 from windtale/master
Browse files Browse the repository at this point in the history
Test case: Blending in a group with opacity.
  • Loading branch information
Rik Cabanier authored and Rik Cabanier committed Nov 9, 2013
2 parents de60092 + b644fa0 commit 9054f31
Showing 1 changed file with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<title>mix-blend-mode with isolated groups API Test: Blending in a group with opacity</title>
<link rel="author" title="windtale" href="mailto:windtale@163.com">
<link rel="help" href="http://www.w3.org/TR/compositing-1/">
<link rel="help" href="">
<meta name="flags" content="dom">
<meta name="assert" content="The transform should rotate 180 degrees">
<style type="text/css">
#greenSquare {
mix-blend-mode: darken;
}
#redSquare {
mix-blend-mode: lighten;
}
#svgMain {
top: 100px;
left: 100px;
width: 200px;
height: 200px;
background: blue;
}
</style>

</head>
<body>

<svg id="svgMain">
<g opacity="0.59">
<rect id="redSquare" width="100" height="100" fill="red"></rect>
</g>
</svg>

</body>
</html>

0 comments on commit 9054f31

Please sign in to comment.