mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
60f93a1095
* 5.3.1: Blending between the background layers and the background color for an element with background-blend-mode. Most of section 5.3.1 is covered by other tests. Add the missing tests of the 5.3.1 section of the test plan. - Test 9: SVG image and background color (SVG as data:uri) - Test 10: Animated gif image and background color - Test 12: background-blend-mode on element with 3D transform * 5.3.2: Background layers do not blend with content outside the background (or behind the element). - Implementation of tests 2 and 3. Test 1 is already covered by background-blending-isolation.html. * 5.3.6: background-blend-mode for an element with background-position * 5.3.7: background-blend-mode for an element with background-size * 5.3.8: background-blend-mode for an element with background-repeat * 5.3.9: background-blend-mode for an element with background-clip * 5.3.10: background-blend-mode for an element with background-origin * 5.3.11: background-blend-mode for an element with background-attachement * Add extra tests for the background-blend-mode CSS property: Add some invalid values to the background-blend-mode property definition so that it can benefit from existing invalid property tests.
27 lines
691 B
HTML
27 lines
691 B
HTML
<!--
|
|
Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/
|
|
-->
|
|
<!DOCTYPE HTML>
|
|
<html>
|
|
<style>
|
|
.reftest {
|
|
width: 200px;
|
|
height: 200px;
|
|
background-size: 100px 100px, 200px 200px;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.blend {
|
|
background-color: rgb(0,255,0);
|
|
background-blend-mode: difference;
|
|
}
|
|
|
|
.svg {
|
|
background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20version%3D%271.1%27%20viewBox%3D%270%200%20100%20100%27%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20fill%3D%27%2300FF00%27%2F%3E%3C%2Fsvg%3E");
|
|
}
|
|
|
|
</style>
|
|
<div class="reftest blend svg"></div>
|
|
</html>
|