| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>Filter Effects: Test feColorMatrix with type matrix</title> |
| <link rel="author" title="Takaki Yasuma" href="mailto:takakiyasuma@gmail.com"> |
| <link rel="reviewer" title="Dirk Schulze" href="mailto:dschulze@adobe.com"> |
| <link rel="help" href="http://www.w3.org/TR/filter-effects-1/#feColorMatrixElement"> |
| <link rel="help" href="http://www.w3.org/TR/filter-effects-1/#element-attrdef-fecolormatrix-type"> |
| <link rel="match" href="fecolormatrix-type-ref.html"> |
| <meta name="flags" content=""> |
| <meta name="assert" content="If the test runs, you should see a auqamarine colored rectangle."> |
| <style type="text/css"> |
| |
| div{ |
| width: 200px; |
| height: 200px; |
| background-color: red; |
| filter: url(#sepia); |
| } |
| |
| </style> |
| </head> |
| |
| <body> |
| |
| <p>You should see a aquamarine colored rectangle.</p> |
| |
| <div></div> |
| |
| <svg> |
| <filter id="sepia" color-interpolation-filters="sRGB"> |
| <feColorMatrix type="matrix" values="0.393 0.189 0.349 0 0 |
| 0.686 0.168 0.272 0 0 |
| 0.534 0.131 0 0 0 |
| 0 0 0 1 0"/> |
| </filter> |
| </svg> |
| |
| </body> |
| |
| </html> |