jacobr@google.com
4dd740e2de
Fix bug 15417
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//103933005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31032 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 18:25:41 +00:00
blois@google.com
0a3b261b7c
Fixing DataTransferItemList List<> behavior
...
BUG=15056
R=efortuna@google.com
Review URL: https://codereview.chromium.org//104503007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31006 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 00:47:23 +00:00
amouravski@google.com
ea80298177
Added docs to canvaselement. Giving it docs for all members.
...
Review URL: https://codereview.chromium.org//74013003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30309 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-15 18:55:30 +00:00
amouravski@google.com
71e4e96699
Finished off HTML Window blurb + link for every member.
...
Review URL: https://codereview.chromium.org//64553010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30307 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-15 18:40:56 +00:00
amouravski@google.com
8b22b0eba0
Even more docs changes.
...
Review URL: https://codereview.chromium.org//66843009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30298 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-15 02:20:22 +00:00
amouravski@google.com
fce5971f4f
o/~ Y muchos maaaaaaas... o/~
...
Review URL: https://codereview.chromium.org//68513006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30175 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 22:10:12 +00:00
amouravski@google.com
239d152949
Way more documentation blanks filled in.
...
Review URL: https://codereview.chromium.org//66193010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30134 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-09 01:19:44 +00:00
efortuna@google.com
581ff321fa
Properly resolve qualified names in documenation (possibly from other libraries).
...
BUG=
R=alanknight@google.com
Review URL: https://codereview.chromium.org//65403002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30073 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 21:44:54 +00:00
amouravski@google.com
82fb93d181
Update selector docs.
...
Review URL: https://codereview.chromium.org//65333002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30069 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 20:49:32 +00:00
amouravski@google.com
11c6fce3d9
Even more docs, filling in many of the gaps.
...
Review URL: https://codereview.chromium.org//62703002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29993 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 20:39:27 +00:00
amouravski@google.com
3e9937eae4
More Element method docs.
...
Review URL: https://codereview.chromium.org//56533006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29844 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 21:08:05 +00:00
floitsch@google.com
5375bc79ad
Remove SendPortSync and ReceivePortSync.
...
R=vsm@google.com
Review URL: https://codereview.chromium.org//56153005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29778 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 23:13:21 +00:00
blois@google.com
768e147559
Fixing comment constructor not functioning on IE
...
BUG=13943
R=efortuna@google.com
Review URL: https://codereview.chromium.org//56603002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29777 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 22:45:11 +00:00
amouravski@google.com
e4c863e338
Added even more documentation to Element.
...
Review URL: https://codereview.chromium.org//56533002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29774 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 22:10:34 +00:00
blois@google.com
cb0fa66a9b
Fixing BeforeUnloadEvent.returnValue
...
This is an update of https://codereview.chromium.org/54913005/ which was failing on the Dartium bots.
Original is patch #1 , fix is #2 (re-ordering the parts in html_dartium).
Issue with the original appears to be that parts have some order-dependency in the VM when executing with --error_on_bad_type, which is used in snapshotting.
Opened bug https://code.google.com/p/dart/issues/detail?id=14721
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//55903004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29766 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 19:53:45 +00:00
amouravski@google.com
37947804ca
Added helpful information on all event getters and static members.
...
R=blois@google.com
Review URL: https://codereview.chromium.org//46143004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29755 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 16:59:07 +00:00
blois@google.com
7046fc201e
Revert "Fixing the BeforeUnloadEvent"
...
Causing problems with build on Dartium:
class _CustomEventStreamImpl<T extends Event> extends Stream<T>
^
'file:///mnt/data/b/build/slave/dartium-lucid32-full-be/build/src/dart/tools/dom/src/EventStreamProvider.dart': Error: line 334 pos 41: type '_CustomEventStreamImpl<KeyEvent>' has an out of bound type argument
class _CustomKeyEventStreamImpl extends _CustomEventStreamImpl<KeyEvent>
TBR
BUG=
Review URL: https://codereview.chromium.org//54923006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29754 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 16:37:33 +00:00
blois@google.com
a948d4384a
Fixing the BeforeUnloadEvent
...
Basically the last Blink upgrade introduced the BeforeUnloadEvent which conflicted with our previous polyfill. Our definition was removed, but the suppression remained for Event.returnValue.
The suppression is still needed since that's the incorrect type and on the wrong class, so I modified our metadata lookup to allow it to only target exact class matches (and not super classes).
BUG=
R=efortuna@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//54913005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29752 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 16:17:38 +00:00
amouravski@google.com
fb475209a8
Reproducing changes from https://chromiumcodereview.appspot.com/23556009/
...
Review URL: https://codereview.chromium.org//54183007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29709 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 22:13:43 +00:00
efortuna@google.com
502c7c29c8
Allow matchingTarget to also include the currentTarget.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//52443007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29609 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 23:32:39 +00:00
efortuna@google.com
57a80ee316
Specify default values for data (text) and value in OptionElement.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//51043006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29592 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 21:46:11 +00:00
kasperl@google.com
1bbe4d5452
Make sure that classes in dart:html do not implement both List and List<E>.
...
R=johnniwinther@google.com , blois@google.com
BUG=
Review URL: https://codereview.chromium.org//50263004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29417 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 08:37:10 +00:00
blois@google.com
8c9c2d5c29
Exposing raw DOM lists from wrappers
...
This is to make them transferrable via dart:js
So basically all of our wrappers implement NodeListWrapper (which is defined in html_common).
One can check if the Dart list is a NodeListWrapper, then call rawList if so.
The result of rawList is typed as List<Node>, which should be either NodeList or HtmlCollection.
BUG=14485
R=justinfagnani@google.com
Review URL: https://codereview.chromium.org//46433003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29322 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-27 02:26:20 +00:00
efortuna@google.com
45701cfb4b
Second round of deprecation removal.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//41843003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29275 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 19:39:09 +00:00
efortuna@google.com
c49f1ce868
Allow matches selector to work on current Opera.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//41623003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29216 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:55:08 +00:00
efortuna@google.com
26bf1e0da4
Renamed contains in the rectangle class to containsRectangle.
...
BUG=https://code.google.com/p/dart/issues/detail?id=13876
R=floitsch@google.com
Review URL: https://codereview.chromium.org//40983002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29203 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:27:22 +00:00
blois@google.com
f41e99e1ed
Updating MutationObserver.observe documentation.
...
TBR
BUG=14375
Review URL: https://codereview.chromium.org//40703002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29181 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 17:01:08 +00:00
efortuna@google.com
7e685302b9
Add back unseparated out version of method overloads in dart:html.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//34733007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29135 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 00:07:45 +00:00
efortuna@google.com
7645b3b4c6
Temporarily disable TouchList constructor to implement varargs.
...
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//38233004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29133 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 22:46:35 +00:00
vsm@google.com
db97191375
Dartium fixes for latest Blink rolls.
...
TBR=blois@google.com
Review URL: https://codereview.chromium.org//37203003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29085 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 15:00:32 +00:00
jmesserly@google.com
360ea42322
Rename mdv -> template_binding, remove experiemntal apis from dart:html
...
essentially, we trade off reduce dart:html API surface area for more annoying usage of these APIs. Since Polymer hides most of this, I suspect it won't be too annoying in practice.
Sample usage:
nodeBind(node).bind(...)
templateBind(node).model = ...;
R=sigmund@google.com
Review URL: https://codereview.chromium.org//34453003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29057 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 02:11:49 +00:00
blois@google.com
15e086338d
Revert "Revert "Removing some deprecated members""
...
Take-two of https://code.google.com/p/dart/source/detail?r=29022
The issue with the original was that addEventListener was changed to private, but this caused the IDB classes which override it to not override it any longer. This was breaking C++ multiple inheritance type casts. Fix is to make addEventListener public.
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//35013003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29051 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 00:44:10 +00:00
efortuna@google.com
a4a2e26bde
Reapply lineDash with polyfill.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//35623004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29050 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 00:15:36 +00:00
blois@google.com
3d20b78608
Fixing experimental annotation on HtmlDocument.register
...
Not sure why this just started failing on the bots, but it's an issue.
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//35543004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29039 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 21:27:33 +00:00
blois@google.com
3aef09e008
Revert "Removing some deprecated members"
...
For some reason this broke indexed_db on Dartium, I debugged in some but need more time to understand. The completed event is not firing.
TBR
BUG=
Review URL: https://codereview.chromium.org//32523007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29033 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 20:20:32 +00:00
blois@google.com
811147da98
Removing redirections of deprecated members
...
The members were deprecated and removed, but these redirections were missing
TBR
BUG=
Review URL: https://codereview.chromium.org//34683003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29024 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 19:00:31 +00:00
blois@google.com
63f250a430
Removing a number of deprecated members
...
Mostly left over from previous refactoring
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//33423004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29023 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:53:36 +00:00
blois@google.com
e2c4716609
Removing some deprecated members
...
These are all DOM APIs that we had annotated as deprecated but not actually removed. They've all been deprecated for quite a while.
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//30353003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29022 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:42:01 +00:00
blois@google.com
690a1454e5
Revert "Converting Polymer and TemplateElement to use deprecated Node.document"
...
Now that DRT is updated and we're running dart2js tests properly, all should be good.
BUG=14197
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//34613005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29018 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:28:18 +00:00
efortuna@google.com
8b4e5e92ba
"Reverting 29013"
...
TBR
BUG=
Review URL: https://codereview.chromium.org//35723002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29017 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:25:40 +00:00
efortuna@google.com
f4e40d6d9a
Make getLineDash return [] instead of null if it has not yet been set.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//27983005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29013 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 17:40:58 +00:00
efortuna@google.com
250b113caf
Mark jQuery methods as experimental.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//33433005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28967 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 23:09:17 +00:00
efortuna@google.com
7da21ce566
Allow all events to be accessed via on[foo] instead of just onFoo
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//29843004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28966 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 23:07:18 +00:00
amouravski@google.com
0177ed7ae4
CanvasRenderingContext2D.fillText now works correctly with null maxWidth.
...
BUG=13369
R=efortuna@google.com
Review URL: https://codereview.chromium.org//29273005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28963 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 22:09:07 +00:00
efortuna@google.com
9c2f329e56
Remove defaultSelected property.
...
BUG=https://code.google.com/p/dart/issues/detail?id=4958
R=blois@google.com
Review URL: https://codereview.chromium.org//27516011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28832 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 22:38:47 +00:00
blois@google.com
ee30fc06fb
Converting Polymer and TemplateElement to use deprecated Node.document
...
Because Polymer dart2js tests actually execute dart, the bots are red because the corresponding changes haven't made it into Dartium.
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//27773002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28830 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 22:04:11 +00:00
blois@google.com
358392883c
Adding ElementEventStream.capture
...
Also making Element.on[] return an ElementStream.
BUG=13214
R=efortuna@google.com
Review URL: https://codereview.chromium.org//26135004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28819 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 20:19:46 +00:00
blois@google.com
a86bee09de
Fix for events not firing on sanitized elements
...
Issue was that the events weren't being raised when the elements were in documents without views.
BUG=14184
R=efortuna@google.com
Review URL: https://codereview.chromium.org//26557004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28817 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 19:58:14 +00:00
blois@google.com
cb304c5ea7
Adding HttpRequest.responseHeaders
...
The code is mostly from Closure's getResponseHeaders function, with modifications to make the keys case-insensitive (following jQuery's model).
BUG=13584
R=efortuna@google.com
Review URL: https://codereview.chromium.org//26893008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28812 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 18:11:00 +00:00
blois@google.com
e3b35dabb6
Renaming Node.document back to Node.ownerDocument
...
With custom elements, the document instance variable creates an odd conflict with the document global.
BUG=14099
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//27602002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28810 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 17:55:38 +00:00