Commit Graph

61 Commits

Author SHA1 Message Date
Milan Sreckovic
039ebd8dbe Bug 1019257: Canvas pattern setTransform exposed through WebIDL. r=gw280,bz.
--HG--
extra : rebase_source : a12b913bf1cfeb11313aa1525d1ebcae075e1456
2014-06-12 10:54:43 -04:00
Rik Cabanier
5ef249b3be 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
99c262d103 Backed out changeset e9c807b1e3d4 (bug 985257) for bustage. 2014-03-21 10:07:07 -04:00
Rik Cabanier
82602e6861 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
2878b85708 Bug 985178 - Implementation + test cases for isPointInPath and isPointInStroke. r=roc 2014-03-19 13:42:38 -04:00
Rik Cabanier
f0b9b7d32e Bug 830734 - Implement Path primitives. r=roc 2014-03-18 08:03:06 -04:00
Rik Cabanier
fc29621ea7 Bug 982480 - Add support + test case for context alpha attribute. r=roc 2014-03-16 15:34:14 -04:00
Ryan VanderMeulen
04a55e8668 Backed out changeset 9a2aab98a8d0 (bug 982480) for reftest failures. 2014-03-15 19:18:13 -04:00
Rik Cabanier
72854581eb Bug 982480 - Add support + test case for context alpha attribute. r=roc 2014-03-15 17:29:24 -04:00
Rik Cabanier
2f2740d614 Bug 966591 - Part 2: Validate input to AddHitRegion. Provide partial implementation. r=roc 2014-02-21 08:35:36 -05:00
Rik Cabanier
5d5915579c 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
3a780f2063 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
c458fa4627 Bug 966591 - Part 2: Validate input to AddHitRegion. Provide partial implementation. r=roc 2014-02-21 08:35:36 -05:00
Rik Cabanier
fb4ab7ddcd 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
8ffd0cd785 Bug 960195 - Put drawSystemFocusRing behind a new runtime flag. r=roc 2014-01-16 08:27:03 -05:00
Rik Cabanier
8b115818bd 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
6fe61225f5 Bug 884226 - Add 'willReadFrequently' getContext() option for 2D canvas r=ehsan,gwright 2013-12-20 15:50:48 -06:00
Rik Cabanier
63eb811541 Bug 540456 - Support HTML5 canvas draw{Custom,System}FocusRing(). r=smaug 2013-11-04 14:52:24 -05:00
Boris Zbarsky
4eb56cc9c3 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
cbf7a0c800 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
34f7a76bb1 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
a521d7eace 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
b50d1036df 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
bf1cce39c0 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
2833cfc42b 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
e71fc9d4bd Bug 768067 - Implement canvasRenderingContext2D.get/setLineDash. r=roc 2013-10-16 08:27:59 -04:00
Ed Morley
566ebb2848 Backed out changeset ccf11ae08ba2 (bug 882541) 2013-10-14 17:30:43 +01:00
Boris Zbarsky
cf941f0cb7 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
7f25797a79 Backed out changeset 8517afe50156 (bug 540456) for reftest failures.
CLOSED TREE
2013-10-09 15:12:21 -04:00
Rik Cabanier
8b42617ed2 Bug 540456 - Support HTML5 canvas draw{Custom,System}FocusRing(). r=smaug 2013-10-09 12:59:50 -04:00
James Willcox
c9f4c10cfa 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
7837d54bf0 Bug 865998: Implement WebIDL union return values r=bz 2013-07-26 11:25:54 -07:00
Boris Zbarsky
1f413ade51 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
e7c17f133d Bug 856472: Convert CanvasGradient to WebIDL r=bz 2013-04-26 10:55:54 -04:00
David Zbarsky
e3ec2de9af Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky
730feee6f8 Backout 3e7970330a3e for being wrong 2013-04-22 02:01:36 -04:00
David Zbarsky
65a41e7101 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky
7235cdcd53 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
56287333d1 Bug 826740 - Part f: Move HTMLCanvasElement to Paris bindings; r=khuey 2013-04-13 09:05:51 +02:00
Andrea Marchesini
bb166b0fab Bug 841493 - Convert HTMLVideoElement to WebIDL, r=Ms2ger 2013-03-19 13:28:34 +01:00
Boris Zbarsky
27b20c21af 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
66e49b02aa Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky
8231be64a0 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
6365d8055c 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
11410dead2 Bug 825527 - Part 5: Turn on the WebIDL bindings for HTMLImageElement; r=bzbarsky 2013-01-02 12:28:14 -05:00
Tobias Schneider
94e05bd28d 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
0024e41b46 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
d0adae1591 Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar 2012-10-29 16:54:53 +01:00
Boris Zbarsky
2c0d8809e7 Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv 2012-10-22 13:08:52 -04:00
Boris Zbarsky
df94b5400b 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