Closed Bug 293225 Opened 15 years ago Closed 15 years ago
Default height of CANVAS should be 150
I believe this recently changed from 200, but I guess Hixie had his reasons. <http://whatwg.org/specs/web-apps/current-work/#canvas> See also bug 291216 comment 39. Patch coming up.
The reasoning was that these numbers should match the <iframe> default size. Please check that they are the right numbers to do this when checking in.
<iframe src="data:text/plain,PASS">FAIL</iframe> <script>alert(window.getComputedStyle(document.getElementsByTagName('iframe'),null).height);</script> ... returns 150px for me. And when replacing 'height' with 'width' I get 300px so that seems to be ok.
Comment on attachment 182848 [details] [diff] [review] change 200 to 150 please don't request approval until you've got sufficient reviews. thanks.
"What Does Apple Do?"
They require height/width and have no error handling behaviour if they are missing.
I rolled this patch into the patch in bug 293407.
Checked in as part of bug 293407.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.