blob: a5bfa27d3ad3219920892161530b5d73e19d5696 [file] [log] [blame]
<!DOCTYPE html>
<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>