Closed
Bug 293225
Opened 20 years ago
Closed 20 years ago
Default height of CANVAS should be 150
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: annevk, Assigned: annevk)
References
Details
Attachments
(1 obsolete file)
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.
Assignee | ||
Comment 1•20 years ago
|
||
Assignee: nobody → bug
Status: NEW → ASSIGNED
Attachment #182848 -
Flags: superreview?(bzbarsky)
Attachment #182848 -
Flags: review?(vladimir)
Attachment #182848 -
Flags: approval1.8b2?
Comment 2•20 years ago
|
||
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.
Assignee | ||
Comment 3•20 years ago
|
||
<iframe src="data:text/plain,PASS">FAIL</iframe>
<script>alert(window.getComputedStyle(document.getElementsByTagName('iframe')[0],null).height);</script>
... returns 150px for me. And when replacing 'height' with 'width' I get 300px
so that seems to be ok.
Comment 4•20 years ago
|
||
Comment on attachment 182848 [details] [diff] [review]
change 200 to 150
please don't request approval until you've got sufficient reviews. thanks.
Attachment #182848 -
Flags: approval1.8b2?
![]() |
||
Comment 5•20 years ago
|
||
"What Does Apple Do?"
Comment 6•20 years ago
|
||
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: 20 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•20 years ago
|
Attachment #182848 -
Attachment is obsolete: true
Attachment #182848 -
Flags: superreview?(bzbarsky)
Attachment #182848 -
Flags: review?(vladimir)
Comment 9•16 years ago
|
||
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•