servo/tests/wpt/css-tests/compositing-1_dev/xhtml1/mix-blend-mode-paragraph-background-image.xht
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

31 lines
No EOL
1.4 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Test: Paragraph element with mix-blend-mode over parent with background image.</title>
<link href="mailto:mitica@adobe.com" rel="author" title="Mihai Tica" />
<link href="https://drafts.fxtf.org/compositing-1/#mix-blend-mode" rel="help" />
<meta content="Test checks that test a paragraph element blends with the parent element having background image." name="assert" />
<meta content="svg" name="flags" />
<link href="mailto:cabanier@adobe.com" rel="reviewer" title="Rik Cabanier" />
<link href="mailto:mbudaes@adobe.com" rel="reviewer" title="Mirela Budaes" />
<link href="reference/mix-blend-mode-paragraph-background-image-ref.xht" rel="match" />
<style type="text/css">
div {
width: 100px;
height: 100px;
background-image: url('support/yellow_square.svg');
}
#blender {
mix-blend-mode: difference;
color: #F00;
}
</style>
</head>
<body>
<p>Test passes if the paragraph text is drawn with green.</p>
<div>
<p id="blender">This should be drawn with green.</p>
</div>
</body></html>