sra@google.com
d31e5df37d
Fix for Issue 3039.
...
Review URL: https://chromiumcodereview.appspot.com//10825393
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10853 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 18:38:06 +00:00
vsm@google.com
c9c8d17cfd
Move noSuchMethod hook from UnknownElement to Element
...
Review URL: https://chromiumcodereview.appspot.com//10826146
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10245 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 20:09:55 +00:00
vsm@google.com
8c40dc703d
Partially rollback noSuchMethod for UnknownElement until we figure out code size issue
...
jacob: This won't effect Dartium. Just rolling back for dart2js, which wasn't working anyway.
Review URL: https://chromiumcodereview.appspot.com//10843022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10118 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-01 14:19:08 +00:00
dgrove@google.com
89dd99fdd0
Convert DOM and HTML frog to dart2js.
...
Review URL: https://chromiumcodereview.appspot.com//10800104
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9871 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-24 22:45:59 +00:00
vsm@google.com
ff7ee386e2
Provide noSuchMethod hook for UnknownElement
...
The test passes on dartium, fails on dart2js. The latter appears to be a dart2js bug related to noSuchMethod. Still need to update the html.status file.
TEST=unknownelement_test.dart
Review URL: https://chromiumcodereview.appspot.com//10817019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9839 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-24 06:06:43 +00:00
vsm@google.com
3fedf84a1f
Cleanup queryAll to return List<Element>.
...
BUG=3867
TEST=html/queryall-test.dart
Review URL: https://chromiumcodereview.appspot.com//10806016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9784 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-20 17:08:53 +00:00
sra@google.com
7b24c8ac90
Add MutationObserver constructor
...
Add custom MutationObserver.observe method
The observe method supports configuration by dictionary and optional arguments:
observer.observe(node, {'subtree': true});
observer.observe(node, subtree: true);
If both are given, they are merged.
Review URL: https://chromiumcodereview.appspot.com//10696209
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9752 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 02:16:09 +00:00
podivilov@google.com
441eb00329
Extract common FactoryProviders generation logic.
...
R=antonm@google.com ,sra@google.com
Review URL: https://chromiumcodereview.appspot.com//10704096
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9402 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-04 12:08:57 +00:00
podivilov@google.com
1b590a6185
Unfork html events generation in dart2js and dartium.
...
R=antonm@google.com ,sra@google.com
Review URL: https://chromiumcodereview.appspot.com//10698049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9342 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-03 11:39:16 +00:00
antonm@google.com
6352f60350
Fix another string concatenation.
...
R=podivilov@chromium.org
Review URL: https://chromiumcodereview.appspot.com//10532200
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8798 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 15:06:41 +00:00
vsm@google.com
f7011b8730
Some HTML API cleanup
...
This CL adds:
- A context2d getter to CanvasElement.
- A top-level query method.
- A top-level queryAll method.
TEST=query_test, canvas_test
Review URL: https://chromiumcodereview.appspot.com//10544111
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8591 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-13 03:01:04 +00:00
podivilov@google.com
de9c46909b
Cleanup NodeSelectors.
...
Currently, query and queryAll methods generation in dart:html is somehow affected by a combination of the following factors:
1) Document, DocumentFragment, and Element are declared to inherit from NodeSelector interface in dart.idl
2) NodeSelector methods for some of these interfaces are present in_private_html_members, but not all, resulting in generation of $dom_* variants
3) querySelector is renamed to query via _html_library_renames for all interfaces except for Document
4) Some of these methods and their private variants have custom implementations in impl_*.darttemplate's
This patch aims to simplify that logic.
R=jacobr@google.com ,sra@google.com
Review URL: https://chromiumcodereview.appspot.com//10447091
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8240 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-04 09:34:20 +00:00
podivilov@google.com
aa58f2ceee
Wrapperless dart:html for Dartium.
...
R=antonm@google.com ,sra@google.com ,vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//10456006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8113 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 16:19:05 +00:00
podivilov@google.com
473bedc1ff
Apply html renames to native wrappers.
...
R=antonm@google.com
Review URL: https://chromiumcodereview.appspot.com//10448009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7992 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-25 12:38:23 +00:00
podivilov@google.com
09bffead91
Migrate dom tests to dart:html.
...
R=antonm@chromium.org ,jacobr@google.com ,vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//10222026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7076 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 12:27:53 +00:00
floitsch@google.com
9d3ea53f2b
Fix some warnings.
...
Partially fixes Issue 2142
Review URL: https://chromiumcodereview.appspot.com//9963029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6119 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 09:42:27 +00:00
nweiz@google.com
6cabc53f79
Make Storage implement Map.
...
Review URL: https://chromiumcodereview.appspot.com//9956076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6117 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-02 22:51:57 +00:00
jacobr@google.com
8d54f883d1
Fix typo in dartium query selector code.
...
TBR
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9956010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6021 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 03:29:24 +00:00
jacobr@google.com
f68c5edb14
Fix issue http://code.google.com/p/dart/issues/detail?id=1877 without degrading performance. Improved performance by removing harmful caching logic.
...
BUG=1877
TEST=
Review URL: https://chromiumcodereview.appspot.com//9930008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6015 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 01:00:08 +00:00
jacobr@google.com
dd9bdb5ece
dart:html perf optimization based on runing Dromaeo benchmarks
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9732019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5955 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 22:23:39 +00:00
dgrove@google.com
7d558789d6
Rename client/{dom,html} to lib/{dom,html} .
...
Review URL: http://codereview.chromium.org//9845043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5840 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-26 16:29:54 +00:00