Update CSS tests to revision 7d0ff6117ee51720c307ea24d413d13eb5abf3e6

This commit is contained in:
Ms2ger 2016-03-01 16:08:43 +01:00
parent 40c52d55e2
commit 349c75536d
7391 changed files with 304135 additions and 153491 deletions

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: Canvas with mix-blend-mode blends with the 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 a canvas element having mix-blend-mode applied blends with the content of the parent element." name="assert">
<meta content="dom" 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-canvas-parent-ref.htm" 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;">
<canvas width="100" style="mix-blend-mode: difference;" id="cvs" height="100"></canvas>
<script type="text/javascript">
var cvs = document.getElementById("cvs");
var ctx = cvs.getContext("2d");
ctx.fillStyle = "#F00";
ctx.fillRect(0, 0, 100, 100);
</script>
</div>
</body></html>