W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2006

[whatwg] Canvas should be script-only, not an HTML element

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 16 May 2006 13:19:05 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0605161317440.21459@dhalsim.dreamhost.com>
On Sat, 28 May 2005, Lenny Domnitser wrote:
>
> Creating a non-semantic <canvas> element as the only element that can be 
> drawn on is backwards. Instead, a scripting interface to drawing should 
> take any element as a context node.

While I agree that this would be a more abstract design overall, it is 
unfortunately much more bug-prone. Implementations have historically had 
great problems with features that overload separate concepts on one 
element. The <object> element is one example of this; it has taken years 
to even approach interoperability, and even now it is not reliably usable 
across all browsers.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 16 May 2006 06:19:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:27 UTC