This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25379 - "Set bitmap dimensions" undefined in canvas element section
Summary: "Set bitmap dimensions" undefined in canvas element section
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords: CR
Depends on:
Blocks:
 
Reported: 2014-04-17 21:38 UTC by Jatinder Mann [MSFT]
Modified: 2014-06-11 13:40 UTC (History)
5 users (show)

See Also:


Attachments

Description Jatinder Mann [MSFT] 2014-04-17 21:38:43 UTC
“Set bitmap dimensions” in the canvas element section of the HTML5 CR spec or latest editor’s draft doesn’t point to a definition[1]. If we look at the WHATWG spec, it has a definition[2]. Without this definition the canvas behavior is not fully specified in the HTML5 spec. E.g., the behavior for what are you supposed to do if the width attribute of the canvas element is not defined. 

[1] http://www.w3.org/html/wg/drafts/html/CR/scripting-1.html#the-canvas-
[2] http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#concept-canvas-set-bitmap-dimensions.
Comment 1 Travis Leithead [MSFT] 2014-05-01 21:59:15 UTC
In order to hook this up properly, the HTML5.0 CR doc would need to link to the Canvas Level 2 spec, where "set bitmap dimensions", among other pieces needed, is defined.

Right now, HTML5.0 only has a reference to Canvas Level 1. I'm concerned about adding the reference to Canvas Level 2 as well.
Comment 2 Travis Leithead [MSFT] 2014-05-01 22:02:04 UTC
(For editor's reference:)

Also missing:
#reset-the-rendering-context-to-its-default-state
#scratch-bitmap
#hit-region-list (ALSO MISSING links)
#list-of-pending-interface-actions (not defined)
#output-bitmap
Comment 3 Robin Berjon 2014-06-05 12:07:36 UTC
I have changed the way that the canvas specification is referenced and included a defining link for this (as well as for a number of others).

Travis: the links you list seem to be in the Canvas spec, not the HTML spec. They are indeed undefined there and should be made to point to HTML (using a "dependencies" section for indirection).
Comment 4 Travis Leithead [MSFT] 2014-06-06 19:33:20 UTC
..can't find the changelist?
Comment 5 Robin Berjon 2014-06-10 08:37:54 UTC
(In reply to Travis Leithead [MSFT] from comment #4)
> ..can't find the changelist?

You mean https://github.com/w3c/html/commits/CR ? Or something else?
Comment 6 Travis Leithead [MSFT] 2014-06-11 00:55:18 UTC
(In reply to Robin Berjon from comment #5)
> (In reply to Travis Leithead [MSFT] from comment #4)
> > ..can't find the changelist?
> 
> You mean https://github.com/w3c/html/commits/CR ? Or something else?

Yeah, that list; but which one specifically? (I bailed on opening each one to find the commit with this change in it--and none of the titles stood out as obviously related... this is just me being lazy of course...)
Comment 7 Robin Berjon 2014-06-11 13:40:57 UTC
(In reply to Travis Leithead [MSFT] from comment #6)
> Yeah, that list; but which one specifically? (I bailed on opening each one
> to find the commit with this change in it--and none of the titles stood out
> as obviously related... this is just me being lazy of course...)

It's in https://github.com/w3c/html/commit/0013fa847c916bbeca63d29e9ef56f835c50dd9a. Maybe the laziness is more on whoever made the commit message for that change.