mirror of
https://github.com/servo/servo.git
synced 2025-06-26 01:54:33 +01:00
27 lines
No EOL
1.1 KiB
HTML
27 lines
No EOL
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Test: Set mix-blend-mode from script.</title>
|
|
<link href="mitica@adobe.com" rel="author" title="Mihai Tica">
|
|
<link href="http://dev.w3.org/fxtf/compositing-1/#mix-blend-mode" rel="help">
|
|
<meta content="Test checks that mix-blend-mode is applied when set from script." 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-script-ref.htm" rel="match">
|
|
<style type="text/css">
|
|
div {
|
|
width: 100px;
|
|
height: 100px;
|
|
background: #FF0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if you can see a green box.</p>
|
|
<div><div style="background: #F00;" id="blender"></div></div>
|
|
<script type="text/javascript">
|
|
document.getElementById("blender").style.mixBlendMode = "difference";
|
|
</script>
|
|
|
|
|
|
</body></html> |