| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>mix-blend-mode with isolated groups API Test: Blending in a group with filter</title> |
| <link rel="author" title="windtale" href="mailto:windtale@163.com"> |
| <link rel="help" href="http://www.w3.org/TR/compositing-1/#mix-blend-mode"> |
| <meta name="flags" content="svg"> |
| <meta name="assert" content="Blending in a group with filter"> |
| <style type="text/css"> |
| #redSquare { |
| mix-blend-mode: lighten; |
| } |
| #svgMain { |
| top: 100px; |
| left: 100px; |
| width: 200px; |
| height: 200px; |
| background: blue; |
| } |
| #group{ |
| filter: alpha(opacity=50,finishopacity=50,style=2); |
| } |
| </style> |
| |
| </head> |
| <body> |
| |
| <svg id="svgMain"> |
| <g id="group"> |
| <rect id="redSquare" width="100" height="100" fill="red"></rect> |
| </g> |
| </svg> |
| |
| </body> |
| </html> |