nweiz@google.com
6828d81999
Fix FrozenElementList#forEach.
...
TBR
Review URL: http://codereview.chromium.org//9146017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3123 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 00:17:41 +00:00
nweiz@google.com
b015c01998
Properly type the clone method for Element and a few of its subclasses.
...
TBR
Review URL: http://codereview.chromium.org//9127005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3051 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 19:44:42 +00:00
nweiz@google.com
694afe0a9f
Support SVGElement#elements, #innerHTML, and #outerHTML. Also add a .svg constructor.
...
Review URL: http://codereview.chromium.org//8965006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2975 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 01:17:01 +00:00
nweiz@google.com
a811209d78
Add a script to generate HTML and DOM docs with cross-links to one another.
...
This entails adding callbacks to dartdoc for injecting additional
comments, as well as adding somewhat deeper support for hashing and
equality testing of Frog objects.
The next step is to inject the annotations into the HTML and DOM library source itself.
Review URL: http://codereview.chromium.org//8771054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2199 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 22:15:12 +00:00
jacobr@google.com
770a6a6c0a
New version of the bindings.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8839010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2168 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 12:31:46 +00:00
nweiz@google.com
4b756816ea
Add a script for determining which DOM methods correspond to which HTML methods.
...
Ultimately, this will be used for generating documentation. Currently, though,
it just prints out information to the console.
This also includes some annotations to the HTML library, where the DOM
correspondence couldn't be auto-detected.
Review URL: http://codereview.chromium.org//8548019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1767 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-22 23:39:59 +00:00
jmesserly@google.com
c21417ef6e
Revert "Fix some type warnings in html library."
...
The factory change seems to have broken tests on Dartium.
Review URL: http://codereview.chromium.org//8561002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1642 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-17 23:58:43 +00:00
jmesserly@google.com
0c187847e4
Fix some type warnings in html library.
...
Two changes:
* factories for Element are typed to return Element. That way we know they're downcastable to things like CanvasElement.
* switch "final" to an explicit "dom.HTMLElement", so we know it has innerHTML on it. (from looking at the static tpes, it thought "temp" was just an dom.Element. You're probably familiar with this "feature" of the DOM... ;-) )
Review URL: http://codereview.chromium.org//8591031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1637 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-17 22:22:34 +00:00
jacobr@google.com
157b35983a
Implement measurement using promises
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8363040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1050 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-01 23:17:47 +00:00
ngeoffray@google.com
5496005d1d
Add optional arguments to our indexOf/lastIndexOf methods.
...
Review URL: http://codereview.chromium.org//8424012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@947 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 13:21:30 +00:00
nweiz@google.com
c1ca81a9e4
Make DocumentFragment implement Element.
...
Review URL: http://codereview.chromium.org//8355019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@587 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-20 19:55:58 +00:00
arv@google.com
a89740adaa
Dart DOM: Fix some TODOs in Element and Node.
...
BUG=None
TEST=None
Review URL: https://chromereviews.googleplex.com/3560012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@304 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-10 17:39:34 +00:00
jacobr@google.com
ddaacbe83b
checkpoint
...
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3556012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@265 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 23:29:39 +00:00
ngeoffray@google.com
cb3a9f6641
Add range methods to List. Throw not implemented for now.
...
Review URL: https://chromereviews.googleplex.com/3573012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@198 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 07:56:42 +00:00
arv@google.com
21cc2799ec
Dart DOM: Add Element attributes setter
...
BUG=None
TEST=None
Review URL: https://chromereviews.googleplex.com/3526016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@143 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 18:48:23 +00:00
arv@google.com
f5de883b77
Dart DOM: Implement dataAttributes Map.
...
BUG=None
TEST=None
Review URL: https://chromereviews.googleplex.com/3536014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@83 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 23:32:35 +00:00
arv@google.com
3501cc95ce
Dart DOM: Rename query to queryAll and queryOne to query.
...
BUG=None
TEST=None
Review URL: https://chromereviews.googleplex.com/3517023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@77 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 22:19:09 +00:00
arv@google.com
57051017bd
Revert "Add Element data property"
...
This reverts commit r71.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@74 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 21:43:54 +00:00
arv@google.com
515c527ecd
Dart DOM: Fix syntax error.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@73 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 21:43:42 +00:00
arv@google.com
1e650a0e64
Add Element data property
...
BUG=None
TEST=None
Review URL: https://chromereviews.googleplex.com/3512017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@71 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:40:39 +00:00
dgrove@google.com
4bc64b8c2b
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 04:52:33 +00:00