mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 09:01:16 +00:00
bf2baec06d
MozReview-Commit-ID: H7FMSmfgTfS --HG-- extra : rebase_source : 1dd3a47921a046f60b827d4212affa96c5ca5885
20 lines
388 B
HTML
20 lines
388 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
var canvas = document.createElementNS('http://www.w3.org/1999/xhtml', 'canvas');
|
|
var canvas2d = canvas.getContext('2d');
|
|
canvas2d.rect(0, 0, 1, 1);
|
|
canvas2d.transform(1, 0, 0, 1, 0, 0);
|
|
canvas.setAttributeNS(null, "height", "99");
|
|
canvas2d.rect(0, 0, 1, 1);
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="boom();"></body>
|
|
</html>
|