antonm@google.com
2a77601516
Rename WebKit's WheelEvent.wheelDelta{X,Y} to W3C WheelEvent.delta{X,Y}.
...
Also remove WheelEvent.wheelDelta.
We originally have done that for dart2js, but that broke Dartium support. Instead of
removal, just rename to generate binding code still.
R=blois@google.com ,podivilov@chromium.org
BUG=5756
Review URL: https://codereview.chromium.org//11099033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13476 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 14:53:29 +00:00
podivilov@google.com
f8762b2568
Introduce ListLikeIDLTypeInfo as a replacement for nativified_classes table.
...
IDLTypeInfo hierarchy is a convenient way to deal with idl type polymorfism.
R=antonm@google.com ,efortuna@google.com ,vsm@google.com
Review URL: https://codereview.chromium.org//11065042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13472 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 13:22:45 +00:00
blois@google.com
845c13e426
Replacing non-portable CanvasRenderingContext.setFillColor with more portable variants.
...
This is the same as the earlier CL for this, which failed because of dartium build issues which have since been fixed by Anton.
BUG=4592
Review URL: https://codereview.chromium.org//11028068
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13361 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 16:15:23 +00:00
blois@google.com
06f1665623
Adding synchronous measurement methods to Element. Refactoring unit tests some so element_test passes on all browsers.
...
Original CL was failing in checked mode because the refactored html/element_test fires multiple mouseWheel event typess to try to validate that the event functions. This causes an assertion elsewhere, which is probably a valid assertion.
I'm not sure how much we get out of this test for mouseWheel, so I don't think it's a big issue to remove it.
BUG=838
Review URL: https://codereview.chromium.org//11065017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13328 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 22:27:43 +00:00
vsm@google.com
c4c8c62e3b
Remove window.length and window.frames
...
BUG=2312
Review URL: https://codereview.chromium.org//11065039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13305 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 17:26:03 +00:00
vsm@google.com
a1d9180d98
New cross frame base types.
...
Local types (LocalWindow, LocalLocation, LocalHistory) now subtype the corresponding "safe" base type. The _CrossFrameImpl classes implement the safe types.
This also fills out Location and History for dart2js.
Note for dart2js, I still need to trap returned windows. That's a separate bug.
BUG=3836
Review URL: https://codereview.chromium.org//11047021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13252 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 18:16:03 +00:00
blois@google.com
14db66f26c
Revert "Adding synchronous measurement methods to Element."
...
This reverts commit 13246 as html/element_test is breaking on dartium.
BUG=
Review URL: https://codereview.chromium.org//11036037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13251 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 18:09:50 +00:00
blois@google.com
6ec1dff0db
Adding synchronous measurement methods to Element.
...
I also did some refactoring unit tests some so element_test passes on all browsers- it seems quite bad that element_test was expected to fail on so many configurations. Ideally this gets refactored further when our browser support gets flushed out further.
BUG=838
Review URL: https://codereview.chromium.org//11046025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13246 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 17:42:06 +00:00
podivilov@google.com
97255190cd
Get rid of webkit renames.
...
R=antonm@google.com
Review URL: https://codereview.chromium.org//11033024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13244 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 17:33:06 +00:00
efortuna@google.com
2e1220541b
Missed a change in the rename from initCustomEvent -> $dom_initCustomEvent.
...
Review URL: https://codereview.chromium.org//11028018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13134 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 20:17:49 +00:00
efortuna@google.com
d44e51fb59
Revert r13127.
...
TBR.
Review URL: https://codereview.chromium.org//11036024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13129 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 17:48:08 +00:00
efortuna@google.com
047bf6ac9a
Add constructor for CustomEvent.
...
Review URL: https://codereview.chromium.org//11030012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13127 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 17:16:13 +00:00
blois@google.com
9cfdc2dddc
Revert "Replacing non-portable CanvasRenderingContext.setFillColor with more portable variants."
...
This reverts commit 12972 because it was failing in dartium.
TBR=vsm
BUG=
Review URL: https://codereview.chromium.org//10996048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12973 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 17:13:35 +00:00
blois@google.com
ab684728a8
Replacing non-portable CanvasRenderingContext.setFillColor with more portable variants.
...
Original CL failed because:
Additional tests were marked as fail because they used the broken behavior. I've fixed these tests and removed their exclusions.
Argument types were mismatched, causing Dartium to fail.
BUG=4592
Review URL: https://codereview.chromium.org//10984055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12972 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 16:39:36 +00:00
efortuna@google.com
e73afc3647
Reapply FooList -> List<Foo> with Gamepad fix for dartium.
...
Review URL: https://codereview.chromium.org//10982053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12939 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 23:23:54 +00:00
blois@google.com
adcd66064b
Revert "Replacing non-portable CanvasRenderingContext.setFillColor with more portable variants."
...
This reverts commit 10979029.
This broke dartium (not sure why) and canvas_test, which actually relied on the broken behavior.
TBR=vsm
BUG=
Review URL: https://codereview.chromium.org//10983052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12936 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 22:59:49 +00:00
blois@google.com
539fb987b1
Replacing non-portable CanvasRenderingContext.setFillColor with more portable variants.
...
BUG=4594
Review URL: https://codereview.chromium.org//10979029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12935 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 22:37:35 +00:00
efortuna@google.com
192ca09005
webkitRequestAimationFrame->requestAnimationFrame with hand edits to
...
html_dartium.
Review URL: https://codereview.chromium.org//10990061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12926 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 18:39:53 +00:00
blois@google.com
eada8aa043
Fixing up WheelEvent to follow W3C standards and work on all platforms.
...
There were a couple of problems here:
- The name of the event is different between platforms, logic to handle this has been added.
- The event object was not getting wrapped on Firefox.
- The wheel event parameters were different across all platforms.
The event name ('mouseWheel' vs 'DOMMouseScroll' vs 'wheel') has been fixed on ElementEvents, but not BodyElementEvents or DocumentElementEvents. I've opened bug #5414 to track fixing those up.
BUG=5186
Review URL: https://codereview.chromium.org//10969073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12921 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 17:54:39 +00:00
jmesserly@google.com
b935f8f03e
"Reverting 12887"
...
R=efortuna@google.com
Review URL: https://codereview.chromium.org//10979030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12892 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 01:28:35 +00:00
efortuna@google.com
f54390cbb6
Reapply webkitRequestAimationFrame->requestAnimationFrame with fix for dartium
...
and IE.
Review URL: https://codereview.chromium.org//10990013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12887 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 00:52:57 +00:00
blois@google.com
ce6d3bd587
Hiding getElement* methods on ShadowRoot.
...
BUG=3831
Review URL: https://codereview.chromium.org//10974015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12858 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 17:39:59 +00:00
efortuna@google.com
55d7ab1fac
Revert r12819 to look at IE fix offline.
...
Review URL: https://codereview.chromium.org//10986013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12823 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 00:13:02 +00:00
efortuna@google.com
c9ea6ff843
Remove Webkit prefix for RequestAnimationFrame.
...
Review URL: https://codereview.chromium.org//10965044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12819 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 23:24:16 +00:00
efortuna@google.com
3f3417c68d
Revert r12808.
...
Review URL: https://codereview.chromium.org//10981005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12810 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 21:43:42 +00:00
efortuna@google.com
42a03cb5a3
Reapply 12799.
...
Review URL: https://codereview.chromium.org//10957066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12808 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 21:23:36 +00:00
jacobr@google.com
5f65b518bc
Enable document.implementation as it is useful when implementing a web components polyfill among other things.
...
BUG=
Review URL: https://chromiumcodereview.appspot.com//10964027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12668 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 00:21:08 +00:00
efortuna@google.com
880f4d814a
Remove lib/dom directory!
...
Review URL: https://chromiumcodereview.appspot.com//10913125
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12082 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 23:52:00 +00:00