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 13367 - The non-normative part says "throws an INVALID_STATE_ERR" but the normative part says "must return", not mentioning any exceptions.
Summary: The non-normative part says "throws an INVALID_STATE_ERR" but the normative p...
Status: RESOLVED NEEDSINFO
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML Canvas 2D Context (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
: 13368 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-26 14:16 UTC by contributor
Modified: 2011-08-04 05:03 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2011-07-26 14:16:11 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html
Multipage: http://www.whatwg.org/C#images
Complete: http://www.whatwg.org/c#images

Comment:
The non-normative part says "throws an INVALID_STATE_ERR" but the normative
part says "must return", not mentioning any exceptions.

Posted from: 2001:4c28:a030:30:448e:735e:6a30:16e5
User agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.11
Comment 1 James Graham 2011-07-26 14:18:15 UTC
*** Bug 13368 has been marked as a duplicate of this bug. ***
Comment 2 Aryeh Gregor 2011-07-26 22:17:02 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Additional Information Needed
Change Description: no spec change
Rationale:

The non-normative text says: "If the image has no image data, throws an INVALID_STATE_ERR exception."

The normative text says: "If the image argument is an HTMLCanvasElement object with either a horizontal dimension or a vertical dimension equal to zero, then the implementation must raise an INVALID_STATE_ERR exception."

So I don't see the problem.  Please clarify.
Comment 3 Michael[tm] Smith 2011-08-04 05:03:22 UTC
mass-move component to LC1