Implement rendering support for the color-filter CSS property
[WebKit-https.git] / LayoutTests / css3 / color-filters / color-filter-color-property.html
1 <!DOCTYPE html>
2 <html>
3     <head>
4         <title>CSS Test: color-filter affects the color of text</title>
5         <link rel="author" title="Apple" href="http://www.apple.com/">
6         <link rel="match" href="color-filter-color-property-expected.html">
7
8         <meta name="assert" content="color-filter affects the color of text">
9         <style type="text/css">
10             div.test
11             {
12                                 font: 40px Ahem;
13                                 color: rgb(255, 128, 255);
14                                 color-filter: invert();
15             }
16         </style>
17                 <script>
18                         if (window.internals)
19                             internals.settings.setColorFilterEnabled(true);
20                 </script>
21     </head>
22     <body>
23         <p>Test passes if there is a green square.</p>
24         <div class="test">A</div>
25     </body>
26 </html>