Closed
Bug 291372
Opened 19 years ago
Closed 13 years ago
HTMLCanvasElement should no longer be an HTMLImageElement
Categories
(Core :: Graphics: Canvas2D, defect, P4)
Core
Graphics: Canvas2D
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.
Reporter | ||
Updated•19 years ago
|
Component: Layout: Misc Code → Layout: Canvas
QA Contact: layout.misc-code → layout.canvas
Comment 1•19 years ago
|
||
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>
Updated•16 years ago
|
Priority: -- → P4
Updated•13 years ago
|
Assignee: vladimir → nobody
Status: NEW → RESOLVED
Closed: 13 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.
Description
•