blob: 897cb47890ecf48e1fd00588d4b88c9172b26103 [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ experimental:WebAnimationsCSSIntegrationEnabled=true ] -->
<html>
<head>
<style>
.box {
height: 100px;
width: 100px;
margin: 50px;
border: 1px solid black;
text-align: center;
padding: 20px;
-webkit-transition-duration: 10s;
-webkit-transition-timing-function: linear;
-webkit-transition-property: opacity;
opacity:1;
mix-blend-mode: difference;
}
.final {
opacity: 0;
}
</style>
<script src="resources/transition-test-helpers.js"></script>
<script type="text/javascript">
const expectedValues = [
// [time, element-id, property, expected-value, tolerance]
[0.5, 'box', 'mix-blend-mode', 'difference', 0],
];
function setupTest()
{
document.getElementById('box').className = 'box final';
}
runTransitionTest(expectedValues, setupTest, false);
</script>
</head>
<body>
Test to make sure that the blendmode property is properly propagated to shared styles
<div id="box" class="box">BOX</div>
<div id="result">
</div>
</body>
</html>