mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-03 13:57:31 +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
17
dom/canvas/crashtests/0px-size-font-shadow.html
Normal file
17
dom/canvas/crashtests/0px-size-font-shadow.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE HTML>
|
||||
<body>
|
||||
<canvas id="canv" width="5" height="5"></canvas>
|
||||
<script>
|
||||
var canv = document.getElementById("canv");
|
||||
var ctx = canv.getContext("2d");
|
||||
|
||||
ctx.fillStyle = "red";
|
||||
// 0 size font shouldn't assert!
|
||||
ctx.font = "0px Arial";
|
||||
ctx.shadowColor = '#f00';
|
||||
ctx.shadowBlur = 4;
|
||||
ctx.fillText("A", 0, 0);
|
||||
document.documentElement.className = "";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue