servo/tests/wpt/css-tests/compositing-1_dev/xhtml1print/mix-blend-mode-iframe-parent.xht

20 lines
No EOL
1.2 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: an iframe element with mix-blend-mode should blend with its parent element.</title>
<link href="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 an iframe element blends with its parent element." name="assert" />
<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-iframe-parent-ref.xht" rel="match" />
</head>
<body>
<p>Test passes if you can see a green rectangle. <br />
If blending is not performed, the canvas is displayed with red. </p>
<div style="width: 100px; height: 100px; background: #FF0;">
<iframe src="support/red_square.html" style="margin-top: -8px; margin-left: -8px; mix-blend-mode: difference;" frameborder="0"></iframe>
</div>
</body></html>