起動時のcanvasの初期化処理を少し変更

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2046 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-03-10 04:00:46 +00:00
parent 4a3606a8a0
commit 25d5d852e3

View File

@ -130,6 +130,8 @@ window.addEventListener('DOMContentLoaded', function() {
init : function() { init : function() {
var canvas = document.createElementNS('http://www.w3.org/1999/xhtml', 'canvas'); var canvas = document.createElementNS('http://www.w3.org/1999/xhtml', 'canvas');
canvas.setAttribute('id', 'fullScreenCanvas-canvas'); canvas.setAttribute('id', 'fullScreenCanvas-canvas');
canvas.setAttribute('width', '0');
canvas.setAttribute('height', '0');
canvas.setAttribute('style', 'width:0;height:0;'); canvas.setAttribute('style', 'width:0;height:0;');
if (!this.isGecko19) { if (!this.isGecko19) {
this.container.appendChild(canvas); this.container.appendChild(canvas);