Commit Graph

60 Commits

Author SHA1 Message Date
Rik Cabanier
543f9e966c Bug 985257 - Add implementation for Path2D constructor that takes an SVG path string. r=roc 2014-03-24 09:31:19 -04:00
Ryan VanderMeulen
fb1ef82fdf Backed out changeset e9c807b1e3d4 (bug 985257) for bustage. 2014-03-21 10:07:07 -04:00
Rik Cabanier
54ef4176c1 Bug 985257 - Add implementation for Path2D constructor that takes an SVG path string. r=roc 2014-03-21 09:18:58 -04:00
Rik Cabanier
cf5af807f6 Bug 985178 - Implementation + test cases for isPointInPath and isPointInStroke. r=roc 2014-03-19 13:42:38 -04:00
Rik Cabanier
b97e98037d Bug 830734 - Implement Path primitives. r=roc 2014-03-18 08:03:06 -04:00
Rik Cabanier
3bda053f2c Bug 982480 - Add support + test case for context alpha attribute. r=roc 2014-03-16 15:34:14 -04:00
Ryan VanderMeulen
c6029879a9 Backed out changeset 9a2aab98a8d0 (bug 982480) for reftest failures. 2014-03-15 19:18:13 -04:00
Rik Cabanier
0b692e14b7 Bug 982480 - Add support + test case for context alpha attribute. r=roc 2014-03-15 17:29:24 -04:00
Rik Cabanier
f8dbda43c9 Bug 966591 - Part 2: Validate input to AddHitRegion. Provide partial implementation. r=roc 2014-02-21 08:35:36 -05:00
Rik Cabanier
9aab043303 Bug 966591 - Part 1: Put very basic hit region interface in + add runtime flag. r=roc 2014-02-21 08:35:14 -05:00
Ryan VanderMeulen
ef5131cd0b Backed out 7 changesets (bug 966591) for mochitest leaks on a CLOSED TREE.
Backed out changeset b44289e756fc (bug 966591)
Backed out changeset c428b424ef95 (bug 966591)
Backed out changeset 9ac56da10646 (bug 966591)
Backed out changeset 81ba9bddd84e (bug 966591)
Backed out changeset 0c66968c2edd (bug 966591)
Backed out changeset 261a1ca9045c (bug 966591)
Backed out changeset 895728963f16 (bug 966591)
2014-02-21 10:39:15 -05:00
Rik Cabanier
9860f07743 Bug 966591 - Part 2: Validate input to AddHitRegion. Provide partial implementation. r=roc 2014-02-21 08:35:36 -05:00
Rik Cabanier
5cad2c4200 Bug 966591 - Part 1: Put very basic hit region interface in + add runtime flag. r=roc 2014-02-21 08:35:14 -05:00
Rik Cabanier
c57539e7dd Bug 960195 - Put drawSystemFocusRing behind a new runtime flag. r=roc 2014-01-16 08:27:03 -05:00
Rik Cabanier
fa28a3ae4f Bug 959820 - Rename drawSystemFocusRing to drawFocusIfNeeded. r=roc
--HG--
rename : content/canvas/test/reftest/drawSystemFocusRing-ref.html => content/canvas/test/reftest/drawFocusIfNeeded-ref.html
rename : content/canvas/test/reftest/drawSystemFocusRing.html => content/canvas/test/reftest/drawFocusIfNeeded.html
2014-01-15 09:50:31 -05:00
James Willcox
d1bcdbce0b Bug 884226 - Add 'willReadFrequently' getContext() option for 2D canvas r=ehsan,gwright 2013-12-20 15:50:48 -06:00
Rik Cabanier
fa242077eb Bug 540456 - Support HTML5 canvas draw{Custom,System}FocusRing(). r=smaug 2013-11-04 14:52:24 -05:00
Boris Zbarsky
20b04d6057 Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger 2013-10-11 12:28:24 -04:00
Peter Van der Beken
dfc2297bd8 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Ms2ger
7cd50d2f15 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
e01445a2df Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Peter Van der Beken
70d1256549 Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
--HG--
extra : rebase_source : 80791f28acbf8e2cc21946b0d62bb8555b53fc99
2013-09-30 18:32:22 +02:00
Ed Morley
ef2d7c5fe8 Backed out changeset 64a19bc0e198 (bug 922159) for compilation failures on a CLOSED TREE 2013-10-23 15:51:48 +01:00
Peter Van der Beken
538eed5d23 Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
--HG--
extra : rebase_source : 2c09c54f42a111d27b0d57346ca7d80f440eca09
2013-09-30 18:32:22 +02:00
Rik Cabanier
969c3412a7 Bug 768067 - Implement canvasRenderingContext2D.get/setLineDash. r=roc 2013-10-16 08:27:59 -04:00
Ed Morley
0f6d579260 Backed out changeset ccf11ae08ba2 (bug 882541) 2013-10-14 17:30:43 +01:00
Boris Zbarsky
ce891d2c00 Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger 2013-10-11 12:28:24 -04:00
Ryan VanderMeulen
9c1c885192 Backed out changeset 8517afe50156 (bug 540456) for reftest failures.
CLOSED TREE
2013-10-09 15:12:21 -04:00
Rik Cabanier
26a19e948c Bug 540456 - Support HTML5 canvas draw{Custom,System}FocusRing(). r=smaug 2013-10-09 12:59:50 -04:00
James Willcox
0837eb5096 Bug 902651 - Restore the DrawTarget transform and clip when demoting r=mattwoodrow,bz
--HG--
rename : browser/config/mozconfigs/win64/common-opt => browser/config/mozconfigs/win64/nightly
extra : rebase_source : 1f1438d54fb97935c9186b69afc37a5d17028dbb
2013-08-23 09:52:32 -04:00
David Zbarsky
d170a8f396 Bug 865998: Implement WebIDL union return values r=bz 2013-07-26 11:25:54 -07:00
Boris Zbarsky
0c908271f1 Bug 861938. Make the CanvasWindingRule arguments be treated as missing if undefined is passed in. r=smaug 2013-06-05 20:51:22 -04:00
David Zbarsky
7a28fe1f0b Bug 856472: Convert CanvasGradient to WebIDL r=bz 2013-04-26 10:55:54 -04:00
David Zbarsky
842496f8c2 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky
a37e4f4223 Backout 3e7970330a3e for being wrong 2013-04-22 02:01:36 -04:00
David Zbarsky
e53f8be330 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky
617294231c Bug 856472: Convert TextMetrics to WebIDL r=bz
* * *
Bug 857439 Part 4: Fix MediaStreamList wrapping r=bz
2013-04-19 04:49:22 -04:00
Ms2ger
1da020b54f Bug 826740 - Part f: Move HTMLCanvasElement to Paris bindings; r=khuey 2013-04-13 09:05:51 +02:00
Andrea Marchesini
e85da75cfc Bug 841493 - Convert HTMLVideoElement to WebIDL, r=Ms2ger 2013-03-19 13:28:34 +01:00
Boris Zbarsky
9b45ffdc77 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Boris Zbarsky
f17cd371b2 Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky
1d5a36a375 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Rik Cabanier
3a85a98855 Bug 827053 - Add support for winding in fill + clip + isPointInPath + tests the feature. r=bas 2013-01-16 21:55:43 -05:00
Ehsan Akhgari
8cc491fe91 Bug 825527 - Part 5: Turn on the WebIDL bindings for HTMLImageElement; r=bzbarsky 2013-01-02 12:28:14 -05:00
Tobias Schneider
c489bb4344 Bug 803124 - Rename mozIsPointInStroke to IsPointInStroke. r=jmuizelaar
--HG--
rename : content/canvas/test/test_mozIsPointInStroke.html => content/canvas/test/test_isPointInStroke.html
2012-11-22 14:37:42 +01:00
Boris Zbarsky
ce9b081c7d Bug 767933 part 3. Update our IDL as needed to use unrestricted float/double or [LenientFloat]. r=khuey,bjacob 2012-11-27 15:32:05 -05:00
Tobias Schneider
4e7558b2c4 Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar 2012-10-29 16:54:53 +01:00
Boris Zbarsky
b598ec354c Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv 2012-10-22 13:08:52 -04:00
Boris Zbarsky
b97e3a8dcd Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv 2012-09-11 20:08:24 +01:00
Boris Zbarsky
d91716f0ab Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc 2012-09-07 01:29:47 -04:00