sra@google.com
|
31ab9dec79
|
Element constructors
Elements with distinct types can now be constructed directly.
Example:
var div = new DivElement();
There are many elements that cannot be created this way. For example, the <b>bold</b> element is simply a HTMLElement with styling, not a separate subclass of HTMLElement.
Review URL: https://chromiumcodereview.appspot.com//10384024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7921 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-05-23 19:25:17 +00:00 |
|