Closed Bug 291372 Opened 21 years ago Closed 15 years ago

HTMLCanvasElement should no longer be an HTMLImageElement

Categories

(Core :: Graphics: Canvas2D, defect, P4)

defect

Tracking

()

RESOLVED DUPLICATE of bug 557840

People

(Reporter: ian, Unassigned)

Details

HTMLCanvasElement should inherit from HTMLElement. The old attributes from HTMLImageElement that we used to implement should be nuked. This includes things like border="" and vspace="" no longer needing to be attribute mapped.
Component: Layout: Misc Code → Layout: Canvas
QA Contact: layout.misc-code → layout.canvas
It seems that the canvas interface already does that: <http://lxr.mozilla.org/seamonkey/source/dom/public/idl/html/nsIDOMHTMLCanvasElement.idl> However, there is some attribute handling defined for attributes that should not be supported: <http://lxr.mozilla.org/seamonkey/source/content/html/content/src/nsHTMLCanvasElement.cpp>
Priority: -- → P4
Assignee: vladimir → nobody
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
OS: Linux → All
Hardware: x86 → All
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.