23 lines
761 B
HTML
23 lines
761 B
HTML
<!DOCTYPE html><!-- webkit-test-runner [ ColorFilterEnabled=true ] -->
|
|
<html>
|
|
<head>
|
|
<title>CSS Test: -apple-color-filter affects the color of text</title>
|
|
<link rel="author" title="Apple" href="http://www.apple.com/">
|
|
<link rel="match" href="-apple-color-filter-color-property-expected.html">
|
|
|
|
<meta name="assert" content="-apple-color-filter affects the color of text">
|
|
<style type="text/css">
|
|
div.test
|
|
{
|
|
font: 40px Ahem;
|
|
color: rgb(255, 128, 255);
|
|
-apple-color-filter: invert();
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if there is a green square.</p>
|
|
<div class="test">A</div>
|
|
</body>
|
|
</html>
|