Bug 636913 - fix buffer-preserve-test.html so it works in the mochitest - r=joedrew

This was filed upstream at:
http://www.khronos.org/bugzilla/show_bug.cgi?id=472

This just moves around the canvas in the html so it's visible, so it actually gets composited. Otherwise the test fails.
This commit is contained in:
Benoit Jacob 2011-05-20 15:53:53 -04:00
Родитель 3c367d2fa9
Коммит 95403ab554
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -78,8 +78,10 @@ successfullyParsed = true;
</script> </script>
</head> </head>
<body> <body>
<div id="description"></div> <!-- Important to put the canvas at the top so that it's always visible even in the test suite runner.
Otherwise it just doesn't get composited in Firefox. -->
<canvas width="20" height="20" style="border: 1px solid blue;" id="c"></canvas> <canvas width="20" height="20" style="border: 1px solid blue;" id="c"></canvas>
<div id="description"></div>
<div id="console"></div> <div id="console"></div>
</body> </body>
</html> </html>