mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 17:37:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
26
layout/reftests/layers/opacity-blending-ref.html
Normal file
26
layout/reftests/layers/opacity-blending-ref.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<meta charset="utf-8">
|
||||
<title>Compositor opacity blending should work correctly (and the same as canvas)</title>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script>
|
||||
function load() {
|
||||
var one = document.getElementById("one").getContext("2d");
|
||||
|
||||
one.fillStyle = "rgba(255,0,0,0.5)";
|
||||
one.fillRect(0, 0, 200, 200);
|
||||
one.fillStyle = "rgba(0,255,0,0.5)";
|
||||
one.fillRect(0, 0, 200, 200);
|
||||
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="load()">
|
||||
|
||||
<div style="opacity:0.8">
|
||||
<canvas id="one" style="position:absolute; left:0px;"></canvas>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue