Commit Graph

1841 Commits

Author SHA1 Message Date
David Zbarsky
af06207909 Bug 837044 - Convert SVGFilterElement to WebIDL r=bz 2013-02-17 21:14:02 -05:00
David Zbarsky
5f09a1541e Bug 837044 Part 1: Move SVGFilterElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGFilterElement.cpp => content/svg/content/src/SVGFilterElement.cpp
rename : content/svg/content/src/nsSVGFilterElement.h => content/svg/content/src/SVGFilterElement.h
2013-02-17 18:28:47 -05:00
L. David Baron
c5b9eee040 Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
L. David Baron
50d4e367af Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Jonathan Watt
ecd9f2cdf1 Bug 835389 - Remove NS_NewSVGComponentTransferFunctionElement. r=Ms2ger. 2013-02-13 13:41:54 +00:00
Ms2ger
b3fccc7040 Bug 835065 - Part c: Move SVGComponentTransferFunctionElement and subclasses to Paris bindings; r=bz 2013-02-12 11:10:24 +01:00
Ms2ger
4ff98105bb Bug 835065 - Part b: Move the declarations for SVGComponentTransferFunctionElement and subclasses into a header; r=bz
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGComponentTransferFunctionElement.h
2013-02-12 11:01:17 +01:00
Ms2ger
79a9d7a83b Bug 835065 - Part a: Move SVGComponentTransferFunctionElement and subclasses into the mozilla::dom namespace; r=bz 2013-02-12 10:56:55 +01:00
Cameron McCormack
2c48138161 Bug 655877 - Part 43: Tests for new SVG text support. r=jwatt 2013-02-11 17:22:19 +11:00
Cameron McCormack
e7ff8972aa Bug 655877 - Part 42a: Handle SVG text frame pref changes gracefully. r=bz,longsonr 2013-02-11 17:22:18 +11:00
Cameron McCormack
b13d889602 Bug 655877 - Part 34: Implement SVG DOM text methods in terms of the new SVG text frame. r=longsonr 2013-02-11 17:22:17 +11:00
Cameron McCormack
25743624b2 Bug 655877 - Part 31b: New frame class nsSVGTextFrame2 for SVG text using CSS block/inline/text frames for layout. r=jwatt 2013-02-11 17:22:16 +11:00
Robert Longson
c6dd7e7999 Bug 838501 - Refactor SVGElementFactory so that it uses a hashtable rather than a set of if tests to match tags to creation functions. r=dholbert
--HG--
rename : content/svg/content/src/nsSVGElementFactory.cpp => content/svg/content/src/SVGElementFactory.cpp
2013-02-08 20:24:47 +00:00
David Zbarsky
5de506372b Bug 833446: Remove nsIDOMSVGClipPathElement r=peterv 2013-02-08 14:55:52 -05:00
David Zbarsky
0cf58650c2 Bug 833446: Remove nsIDOMSVGViewElement r=peterv 2013-02-08 14:55:51 -05:00
David Zbarsky
9c8bb30ad0 Bug 833446: Remove nsIDOMSVGUseElement r=peterv 2013-02-08 14:55:51 -05:00
David Zbarsky
a2b0303c3a Bug 833446: Remove nsIDOMSVGTextPositioningElement and related interfaces r=peterv 2013-02-08 14:55:49 -05:00
David Zbarsky
8b08a59c84 Bug 833446: Remove nsIDOMSVGSymbolElement r=peterv 2013-02-08 14:55:08 -05:00
David Zbarsky
0301006823 Bug 833446: Remove nsIDOMSVGSwitchElement r=peterv 2013-02-08 14:55:08 -05:00
David Zbarsky
63fa89c316 Bug 833446: Remove nsIDOMSVGSVGElement r=peterv 2013-02-08 14:55:07 -05:00
Ms2ger
9a2adfac92 Bug 827122 - Add an outparamless nsSVGString::ToDOMAnimatedString; r=longsonr 2013-02-07 09:08:56 +01:00
Robert Longson
0ce0423e6c Bug 837450 - Leak with getTransformToElement. r=jwatt 2013-02-03 14:06:55 +00:00
David Zbarsky
2196fb73c5 Bug 837039 - Fix SVGMatrix failure codes r=longsonr 2013-02-01 04:55:46 -05:00
David Zbarsky
0c1e8d7ef6 Bug 833446: Remove nsIDOMSVGStyleElement r=peterv 2013-02-02 15:23:19 -05:00
David Zbarsky
a9a7aac680 Bug 833446: Remove nsIDOMSVGStopElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky
e1ecd02323 Bug 833446: Remove nsIDOMSVGScriptElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky
866cb6df5e Bug 833446: Remove nsIDOMSVGRectElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky
4914157510 Bug 833446: Remove nsIDOMSVGPolylineElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky
23bc3145f3 Bug 833446: Remove nsIDOMSVGPolygonElement r=peterv 2013-02-02 15:23:17 -05:00
David Zbarsky
5788f2a0a5 Bug 833446: Remove nsIDOMSVGPatternElement r=bz 2013-02-02 15:23:17 -05:00
David Zbarsky
2b74734bac Bug 833446: Remove nsIDOMSVGPathElement r=peterv 2013-02-02 15:23:17 -05:00
David Zbarsky
536375ddf7 Bug 833446: Remove nsIDOMSVGMPathElement r=peterv 2013-02-02 15:23:17 -05:00
David Zbarsky
64099f7809 Bug 833446: Remove nsIDOMSVGMetadataElement r=peterv 2013-02-02 15:23:16 -05:00
David Zbarsky
b34c1415ef Bug 833446: Remove nsIDOMSVGLineElement r=peterv 2013-02-02 15:23:16 -05:00
David Zbarsky
e46ee1bca2 Bug 833446: Remove nsIDOMSVGGradientElement and subclasses r=peterv 2013-02-02 15:23:16 -05:00
David Zbarsky
789b05db43 Bug 833446: Remove nsIDOMSVGGElement r=peterv 2013-02-02 15:23:15 -05:00
David Zbarsky
ccd995fec8 Bug 833446: Remove nsIDOMSVGForeignObjectElement r=peterv 2013-02-02 15:23:15 -05:00
David Zbarsky
1e25a54c2f Bug 833446: Remove nsIDOMSVGEllipseElement r=peterv 2013-02-02 15:23:15 -05:00
David Zbarsky
08a5a13ddd Bug 833446: Remove nsIDOMSVGDescElement r=peterv 2013-02-02 15:23:15 -05:00
David Zbarsky
573a670bb8 Bug 833446: Remove nsIDOMSVGDefsElement r=peterv 2013-02-02 15:23:14 -05:00
David Zbarsky
1a76b6259b Bug 833446: Remove nsIDOMSVGCircleElement r=peterv 2013-02-02 15:23:14 -05:00
David Zbarsky
48e6da7ce8 Bug 833446: Remove nsIDOMSVGAnimationElement r=peterv 2013-02-02 15:23:11 -05:00
David Zbarsky
af6d742311 Bug 833446: Remove nsIDOMSVGSetElement r=peterv 2013-02-02 15:22:37 -05:00
David Zbarsky
1578ebcd03 Bug 833446: Remove nsIDOMSVGAnimateTransformElement r=peterv 2013-02-02 15:22:36 -05:00
David Zbarsky
c33518f27e Bug 833446: Remove nsIDOMSVGAnimateMotionElement r=peterv 2013-02-02 15:22:36 -05:00
David Zbarsky
37e485b47b Bug 833446: Remove nsIDOMSVGAnimateElement r=peterv 2013-02-02 15:22:36 -05:00
David Zbarsky
353c1d24c5 Bug 833446: Remove nsIDOMSVGAltGlyphElement r=peterv 2013-02-02 15:22:36 -05:00
David Zbarsky
d35ff07f00 Bug 833446: Include nsIDOMSVGElement.h in nsSVGElement.h 2013-02-02 15:22:35 -05:00
Ms2ger
c2d680378b Backout changeset 6a6ba49340e7 (bug 837039) for M1 orange on a CLOSED TREE. 2013-02-01 12:55:27 +01:00
Mounir Lamouri
a96b05d0c8 Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger 2013-01-31 23:11:49 +00:00
David Zbarsky
0951773a14 Bug 837039 - Fix SVGMatrix failure codes r=longsonr 2013-02-01 04:55:46 -05:00
David Zbarsky
a45c5111e9 Bug 837036 - Remove SVGLocatableElement and SVGTransformableElement IDL r=longsonr 2013-02-01 04:55:45 -05:00
Jeff Walden
be633156a5 Bug 835648 - Move typed enum support to a new header. r=Ms2ger 2013-01-28 16:33:17 -08:00
Robert Longson
213fcd9cfc Bug 835978 - crash in nsDisplayList::HitTest r=jwatt. 2013-01-30 13:59:13 +00:00
Jonathan Watt
7a6c953287 Bug 835219 - Add test coverage to check that the 'auto' value for the 'orient' attribute is preserved. r=longsonr. 2013-01-30 09:28:00 +00:00
Jonathan Watt
95f7b1aa10 Bug 835219 - Get rid of nsSVGMarkerElement's GetAttr() override. r=longsonr. 2013-01-29 11:26:19 +00:00
David Zbarsky
9e59a53555 Various cleanups for SVGAngle, no bug 2013-01-30 01:31:11 -05:00
Ryan VanderMeulen
11e2a8437f Backed out changeset 3eb633a97c1f (bug 835648) for suspected Windows orange on a CLOSED TREE. 2013-01-29 19:01:45 -05:00
Jeff Walden
88df194b4b Bug 835648 - Move typed enum support to a new header. r=Ms2ger
--HG--
extra : rebase_source : 8c912fba889c1c5435e3619714071502fbfb30a3
2013-01-28 16:33:17 -08:00
David Zbarsky
57fe33546c Bug 835195: Remove nsIDOMSVGFitToViewBox r=bz 2013-01-29 17:11:45 -05:00
David Zbarsky
9480d80714 Bug 835195: Remove nsIDOMSVGTests r=bz 2013-01-29 17:11:45 -05:00
David Zbarsky
3eba428f40 Bug 832154: Convert SVGMarkerElement to WebIDL r=bz 2013-01-29 17:11:44 -05:00
David Zbarsky
4811eac7ed Bug 832154: Move SVGMarkerElement to mozilla::dom r=bz,longsonr
--HG--
rename : content/svg/content/src/nsSVGMarkerElement.cpp => content/svg/content/src/SVGMarkerElement.cpp
rename : content/svg/content/src/nsSVGMarkerElement.h => content/svg/content/src/SVGMarkerElement.h
2013-01-29 17:11:44 -05:00
David Zbarsky
468d0b090d Bug 831561 - SVGClipPathElement should inherit from SVGElement r=longsonr 2013-01-29 17:11:44 -05:00
Robert O'Callahan
4b6c8d2400 Backing out 306003528e10, 335160d7855a, dfc9d5651175, 0559d630dd89, 03c3ae8323bd: bug 835195, bug 832154, bug 831561 ... in a CLOSED TREE
--HG--
rename : content/svg/content/src/SVGMarkerElement.cpp => content/svg/content/src/nsSVGMarkerElement.cpp
rename : content/svg/content/src/SVGMarkerElement.h => content/svg/content/src/nsSVGMarkerElement.h
2013-01-29 22:45:50 +13:00
David Zbarsky
85d1fd3baf Bug 835195: Remove nsIDOMSVGFitToViewBox r=bz 2013-01-29 03:50:57 -05:00
David Zbarsky
eb9afe3706 Bug 835195: Remove nsIDOMSVGTests r=bz 2013-01-29 03:50:56 -05:00
David Zbarsky
3a688314ce Bug 832154: Convert SVGMarkerElement to WebIDL r=bz 2013-01-29 03:50:56 -05:00
David Zbarsky
1085318980 Bug 832154: Move SVGMarkerElement to mozilla::dom r=bz,longsonr
--HG--
rename : content/svg/content/src/nsSVGMarkerElement.cpp => content/svg/content/src/SVGMarkerElement.cpp
rename : content/svg/content/src/nsSVGMarkerElement.h => content/svg/content/src/SVGMarkerElement.h
2013-01-29 03:50:56 -05:00
David Zbarsky
451d353bdc Bug 831561 - SVGClipPathElement should inherit from SVGElement r=longsonr 2013-01-29 03:50:56 -05:00
Robert Longson
70f71a4d54 Bug 738551 - transforms should only be animated with animateTransform. r=dholbert 2013-01-27 21:34:14 +00:00
Robert Longson
99cb944718 Bug 835030 - Remove svg.smil.enabled pref. r=dholbert 2013-01-27 19:30:21 +00:00
David Zbarsky
e2d4944491 Bug 832153 - Convert SVGMaskElement to WebIDL r=bz 2013-01-23 15:59:46 -05:00
David Zbarsky
8bad5d1a74 Bug 832153: Move SVGMaskElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGMaskElement.cpp => content/svg/content/src/SVGMaskElement.cpp
rename : content/svg/content/src/nsSVGMaskElement.h => content/svg/content/src/SVGMaskElement.h
2013-01-23 15:59:06 -05:00
Ehsan Akhgari
7ee12cf191 Bug 833190 - Disable PGO on svg; a=me 2013-01-21 23:00:29 -05:00
Robert Longson
af6db74f70 Bug 828286 - SVG stylesheet not enabled for SVG loaded as data and then imported with importNode. r=dholbert 2013-01-20 12:07:16 +00:00
David Zbarsky
ac62e16f60 Bug 831673, r=bz 2013-01-19 15:56:31 -05:00
David Zbarsky
3d0d2749fd Bug 832169 - Convert SVGAnimatedLength to WebIDL r=bz 2013-01-19 15:56:00 -05:00
David Zbarsky
91edcdf577 Bug 831669 - Convert SVGClipPathElement to WebIDL r=bz 2013-01-18 14:53:08 -05:00
David Zbarsky
2f19359c49 Bug 831669: Move SVGClipPathElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGClipPathElement.cpp => content/svg/content/src/SVGClipPathElement.cpp
rename : content/svg/content/src/nsSVGClipPathElement.h => content/svg/content/src/SVGClipPathElement.h
2013-01-18 14:52:40 -05:00
David Zbarsky
71e0a5342d Bug 821955 r=longsonr
--HG--
rename : content/svg/content/src/DOMSVGPoint.cpp => content/svg/content/nsISVGPoint.cpp
rename : content/svg/content/src/DOMSVGPoint.cpp => content/svg/content/src/nsISVGPoint.cpp
2013-01-16 20:35:24 -05:00
David Zbarsky
3dd3961208 Bug 830181: SVGSymbolElement should QI to SVGTests r=me 2013-01-16 20:02:59 -05:00
Trevor Saunders
83bcbe0d6b bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
David Zbarsky
57e9b33a4b Bug 830230 - Convert SVGPatternElement to WebIDL r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky
8826c06ce1 Bug 827174 - Remove nsIDOMSVGLocatable and nsIDOMSVGTransformable r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky
f10e03cdcf Bug 830230: Move SVGPatternElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGPatternElement.cpp => content/svg/content/src/SVGPatternElement.cpp
rename : content/svg/content/src/nsSVGPatternElement.h => content/svg/content/src/SVGPatternElement.h
2013-01-16 15:51:00 -05:00
David Zbarsky
8ff56e186f Bug 830181 - Convert SVGSymbolElement to WebIDL r=bz 2013-01-16 15:50:59 -05:00
David Zbarsky
df3ff4c9ff Bug 830181: Move SVGSymbolElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGSymbolElement.cpp => content/svg/content/src/SVGSymbolElement.cpp
rename : content/svg/content/src/nsSVGSymbolElement.cpp => content/svg/content/src/SVGSymbolElement.h
2013-01-16 15:50:59 -05:00
David Zbarsky
e10b65b185 Bug 827172 - Convert SVGPathElement to WebIDL r=bz 2013-01-16 15:50:59 -05:00
David Zbarsky
48f5bae1bb Bug 827182: Convert SVGUseElement to WebIDL 2013-01-16 15:50:59 -05:00
David Zbarsky
a69015e81b Bug 827182: Move SVGUseElement to mozilla::dom
--HG--
rename : content/svg/content/src/nsSVGUseElement.cpp => content/svg/content/src/SVGUseElement.cpp
rename : content/svg/content/src/nsSVGUseElement.h => content/svg/content/src/SVGUseElement.h
2013-01-16 15:50:58 -05:00
David Zbarsky
e4f93a1b24 Bug 828815: Restore functionality of | SVGElement[onxxx] = Function | r=bz 2013-01-15 16:03:02 -05:00
Mats Palmgren
b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Robert Longson
e9b39c6c94 Bug 828526 - Lighting filters should operate in the sRGB colour space. r=roc 2013-01-13 10:38:02 +00:00
Cameron McCormack
bc2d799592 Bug 828805 - Implement SVG paint-order property. r=bz,roc 2013-01-13 10:27:53 +11:00
David Zbarsky
27fefcce81 Bug 827172: Move SVGPathElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGPathElement.cpp => content/svg/content/src/SVGPathElement.cpp
rename : content/svg/content/src/nsSVGPathElement.h => content/svg/content/src/SVGPathElement.h
2013-01-12 17:22:31 -05:00
David Zbarsky
5d03b3664d Bug 827724 - Remove nsIDOMSVGAnimatedPoints r=bz 2013-01-12 17:21:53 -05:00
David Zbarsky
dacf5943b0 Bug 828715 - Move DOMSVGMatrix to mozilla::dom::SVGMatrix r=longsonr
--HG--
rename : content/svg/content/src/DOMSVGMatrix.cpp => content/svg/content/src/SVGMatrix.cpp
rename : content/svg/content/src/DOMSVGMatrix.h => content/svg/content/src/SVGMatrix.h
2013-01-11 15:30:21 -05:00
David Zbarsky
d7aeeeb65e Bug 817256 - DOMSVGTransform should hold strong ref to matrix r=longsonr 2013-01-11 02:15:06 -05:00
Chris Peterson
63e242521e Bug 829344 - Part 4: Fix gcc -Wlogical-op warnings from PRBool/bool conversion. r=ehsan 2013-01-10 17:56:51 -08:00
Ms2ger
3203dfee36 Merge latest PGO-green m-i changeset to m-c. 2013-01-11 14:48:33 +01:00
Ms2ger
005d4fea5c Bug 825749 - Convert SVG gradient elements to WebIDL; r=bz
--HG--
rename : content/svg/content/src/nsSVGGradientElement.cpp => content/svg/content/src/SVGGradientElement.cpp
rename : content/svg/content/src/nsSVGGradientElement.h => content/svg/content/src/SVGGradientElement.h
2013-01-11 09:43:01 +01:00
Ms2ger
edd75bedb8 Bug 828978 - Remove pointless const_cast in SVGLength::GetUserUnitsPerPercent; r=longsonr 2013-01-11 09:43:01 +01:00
Ms2ger
c762151efc Bug 824481 - Cleanup style attribute getters; r=bz 2013-01-11 09:42:59 +01:00
David Zbarsky
7227513a94 Bug 825147: Convert SVGAElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGAElement.cpp => content/svg/content/src/SVGAElement.cpp
rename : content/svg/content/src/nsSVGAElement.h => content/svg/content/src/SVGAElement.h
2013-01-10 00:30:13 -05:00
David Zbarsky
9e33835feb Bug 827200 - Remove nsIDOMSVGZoomAndPan r=bz, longsonr 2013-01-10 00:24:37 -05:00
David Zbarsky
1e1a3187d9 Fix a review comment for bug 827119, r=bz, DONTBUILD 2013-01-09 18:10:59 -05:00
David Zbarsky
2a13deff5a Bug 824218 - Remove unimplemented SVG features r=longsonr 2013-01-09 18:02:47 -05:00
David Zbarsky
c3bac23c38 Bug 827119: Convert SVGSVGElement to WebIDL r=bz 2013-01-09 18:02:47 -05:00
David Zbarsky
e7ce03e722 Bug 827119: Move SVGSVGElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGSVGElement.cpp => content/svg/content/src/SVGSVGElement.cpp
rename : content/svg/content/src/nsSVGSVGElement.h => content/svg/content/src/SVGSVGElement.h
2013-01-09 18:02:45 -05:00
Graeme McCutcheon
c3b6f61958 Bug 827521 - Work around spurious operator ambiguity errors in buggy versions of Clang. r=longsonr 2013-01-10 14:37:30 +00:00
Cameron McCormack
ad6a513fbc Bug 508725 - Part 10: Implement scoped style sheets for SVG. r=bz 2013-01-09 10:25:48 +11:00
Cameron McCormack
2f72089890 Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron 2013-01-09 10:25:47 +11:00
Jonathan Watt
bc8a83065f Bug 820506 - Problem selecting image node in SVG when used with clip-path in certain condition. r=roc.
--HG--
extra : rebase_source : 874ed2a13f51dc5381909502f030cb4ca6c2a41e
2013-01-04 11:48:12 +00:00
Robert Longson
fb1b950710 Bug 825411 - clipPaths, masks, etc. with failing conditional processing attributes cause referencing elements not to be rendered r=cam 2013-01-08 13:14:04 +00:00
Cameron McCormack
c067646b00 Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE. 2013-01-08 19:36:21 +11:00
Cameron McCormack
a3ff791590 Bug 508725 - Part 10: Implement scoped style sheets for SVG. r=bz 2013-01-08 19:09:24 +11:00
Cameron McCormack
cf1ba04fcb Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron 2013-01-08 19:09:22 +11:00
David Zbarsky
f568f12d29 Bug 827197 - Remove some uses of nsIDOMSVGElement subclasses r=longsonr 2013-01-07 22:22:41 -05:00
David Zbarsky
1d879bd0c9 Bug 825834 - Convert SVGViewElement to webidl r=bz 2013-01-07 22:22:41 -05:00
David Zbarsky
a3aaae810c Bug 825834 - Move SVGViewElement to mozilla:::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGViewElement.cpp => content/svg/content/src/SVGViewElement.cpp
rename : content/svg/content/src/nsSVGViewElement.h => content/svg/content/src/SVGViewElement.h
2013-01-07 22:22:41 -05:00
David Zbarsky
135d498c57 Bug 825732: Convert SVGAltGlyphElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGAltGlyphElement.cpp => content/svg/content/src/SVGAltGlyphElement.cpp
rename : content/svg/content/src/nsSVGAltGlyphElement.cpp => content/svg/content/src/SVGAltGlyphElement.h
2013-01-06 09:14:44 -05:00
David Zbarsky
cb9307ea4a Bug 825732: Convert SVGTSpanElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTSpanElement.cpp => content/svg/content/src/SVGTSpanElement.cpp
rename : content/svg/content/src/nsSVGTSpanElement.cpp => content/svg/content/src/SVGTSpanElement.h
2013-01-06 09:14:44 -05:00
David Zbarsky
8408a43708 Bug 825732: Convert SVGTextElement to WebIDL r=bz, longsonr
--HG--
rename : content/svg/content/src/nsSVGTextElement.cpp => content/svg/content/src/SVGTextElement.cpp
rename : content/svg/content/src/nsSVGTextElement.cpp => content/svg/content/src/SVGTextElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
2ff60e5bf0 Bug 825732: Convert SVGTextPositioningElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextPositioningElement.cpp => content/svg/content/src/SVGTextPositioningElement.cpp
rename : content/svg/content/src/nsSVGTextPositioningElement.h => content/svg/content/src/SVGTextPositioningElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
af6c0fe225 Bug 825732: Convert SVGTextPathElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextPathElement.cpp => content/svg/content/src/SVGTextPathElement.cpp
rename : content/svg/content/src/nsSVGTextPathElement.h => content/svg/content/src/SVGTextPathElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
ca38d12d8d Bug 825732: Convert SVGTextContentElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextContentElement.cpp => content/svg/content/src/SVGTextContentElement.cpp
rename : content/svg/content/src/nsSVGTextContentElement.h => content/svg/content/src/SVGTextContentElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
062f6deba3 Bug 824898: Convert SVG animation classes to WebIDL r=bz 2013-01-06 04:32:03 -05:00
David Zbarsky
5fdcfc99f1 Bug 824898: Move SVG animation classes to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGAnimateElement.cpp => content/svg/content/src/SVGAnimateElement.cpp
rename : content/svg/content/src/nsSVGAnimateElement.cpp => content/svg/content/src/SVGAnimateElement.h
rename : content/svg/content/src/nsSVGAnimateMotionElement.cpp => content/svg/content/src/SVGAnimateMotionElement.cpp
rename : content/svg/content/src/nsSVGAnimateMotionElement.h => content/svg/content/src/SVGAnimateMotionElement.h
rename : content/svg/content/src/nsSVGAnimateTransformElement.cpp => content/svg/content/src/SVGAnimateTransformElement.cpp
rename : content/svg/content/src/nsSVGAnimateTransformElement.cpp => content/svg/content/src/SVGAnimateTransformElement.h
rename : content/svg/content/src/nsSVGAnimationElement.cpp => content/svg/content/src/SVGAnimationElement.cpp
rename : content/svg/content/src/nsSVGAnimationElement.h => content/svg/content/src/SVGAnimationElement.h
rename : content/svg/content/src/nsSVGSetElement.cpp => content/svg/content/src/SVGSetElement.cpp
rename : content/svg/content/src/nsSVGSetElement.cpp => content/svg/content/src/SVGSetElement.h
2013-01-06 04:32:02 -05:00
David Zbarsky
64cec390c7 Bug 825147: Convert SVGLineElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGLineElement.cpp => content/svg/content/src/SVGLineElement.cpp
rename : content/svg/content/src/nsSVGLineElement.cpp => content/svg/content/src/SVGLineElement.h
2013-01-06 04:32:02 -05:00
David Zbarsky
b3f0ff27ea Bug 825730: Add a more convenient signature for ToDOMAnimatedLength r=longsonr 2013-01-06 04:32:02 -05:00
David Zbarsky
b7c65b65da Bug 825730: Alphabetize makefile r=longsonr 2013-01-06 04:32:02 -05:00
David Zbarsky
973103b746 Bug 825147: Convert SVGEllipseElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGEllipseElement.cpp => content/svg/content/src/SVGEllipseElement.cpp
rename : content/svg/content/src/nsSVGEllipseElement.cpp => content/svg/content/src/SVGEllipseElement.h
2013-01-06 04:32:02 -05:00
David Zbarsky
20828e38ac Bug 825147: Convert SVGCircleElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGCircleElement.cpp => content/svg/content/src/SVGCircleElement.cpp
rename : content/svg/content/src/nsSVGCircleElement.cpp => content/svg/content/src/SVGCircleElement.h
2013-01-06 04:32:02 -05:00
David Zbarsky
35bca1a8dc Bug 825147: Convert SVGRectElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGRectElement.cpp => content/svg/content/src/SVGRectElement.cpp
rename : content/svg/content/src/nsSVGRectElement.cpp => content/svg/content/src/SVGRectElement.h
2013-01-06 04:32:01 -05:00
David Zbarsky
a04da3576f Bug 825147: Convert SVGPolygonElement and SVGPolylineElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGPolygonElement.cpp => content/svg/content/src/SVGPolygonElement.cpp
rename : content/svg/content/src/nsSVGPolygonElement.cpp => content/svg/content/src/SVGPolygonElement.h
rename : content/svg/content/src/nsSVGPolylineElement.cpp => content/svg/content/src/SVGPolylineElement.cpp
rename : content/svg/content/src/nsSVGPolylineElement.cpp => content/svg/content/src/SVGPolylineElement.h
2013-01-06 04:32:01 -05:00
David Zbarsky
35604d01d3 Bug 825147: Convert SVGImageElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGImageElement.cpp => content/svg/content/src/SVGImageElement.cpp
rename : content/svg/content/src/nsSVGImageElement.h => content/svg/content/src/SVGImageElement.h
2013-01-06 04:32:01 -05:00
David Zbarsky
f391a152cf Bug 824899 - Don't use nsIDOMSVGElement where possible r=longsonr 2013-01-06 01:25:55 -05:00
David Zbarsky
ca9a5ba367 Bug 825147: Convert SVGGElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGGElement.cpp => content/svg/content/src/SVGGElement.cpp
rename : content/svg/content/src/nsSVGGElement.cpp => content/svg/content/src/SVGGElement.h
2013-01-06 01:25:55 -05:00
David Zbarsky
4494fc67d8 Bug 825147: Convert SVGForeignObjectElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGForeignObjectElement.cpp => content/svg/content/src/SVGForeignObjectElement.cpp
2013-01-06 01:25:55 -05:00
David Zbarsky
49bb7ff199 Bug 825147: Convert SVGSwitchElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGSwitchElement.cpp => content/svg/content/src/SVGSwitchElement.cpp
rename : content/svg/content/src/nsSVGSwitchElement.h => content/svg/content/src/SVGSwitchElement.h
2013-01-06 01:25:54 -05:00
David Zbarsky
866a8a4d20 Bug 825147: Convert SVGDefsElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGDefsElement.cpp => content/svg/content/src/SVGDefsElement.cpp
rename : content/svg/content/src/nsSVGDefsElement.cpp => content/svg/content/src/SVGDefsElement.h
2013-01-06 01:25:54 -05:00
David Zbarsky
a0f1e93cf3 Bug 824229 Part 7: Make nsSVGClipPathElement inherit from SVGTransformableElement to preserve existing behavior; move SVGGraphicsElement up to SVGTransformableElement r=longsonr 2013-01-06 01:25:54 -05:00
David Zbarsky
1cad2b6a5a Bug 824229 Part 6: Move SVGGraphicsElement to mozilla::dom r=bz,longsonr
--HG--
rename : content/svg/content/src/nsSVGGraphicElement.cpp => content/svg/content/src/SVGGraphicsElement.cpp
rename : content/svg/content/src/nsSVGGraphicElement.h => content/svg/content/src/SVGGraphicsElement.h
2013-01-03 01:17:03 -05:00
David Zbarsky
30bced519e Bug 824229 Part 5: Implement SVGGraphicsElement r=longsonr 2013-01-03 01:17:02 -05:00
David Zbarsky
1a4aac0f69 Bug 824229 Part 4: Implement SVGTransformableElement r=longsonr 2013-01-03 01:17:02 -05:00
David Zbarsky
5cce8ae3b8 Bug 824229 Part 3: Implement SVGLocatableElement r=longsonr 2013-01-03 01:17:02 -05:00
David Zbarsky
9e024fb017 Bug 824229 Part 2: SVGGraphicsElement should implement SVGTests r=longsonr 2013-01-06 01:25:52 -05:00
David Zbarsky
d83aa1a9aa Bug 824229 Part 1: SVGSVGElement should be a subclass of SVGGraphicsElement r=longsonr 2013-01-06 01:25:52 -05:00
Masatoshi Kimura
562567aa74 Bug 826961 - Revise SVGPreserveAspectRatio so that the silly cast is not needed. r=longsonr 2013-01-06 02:28:00 +09:00
David Zbarsky
cbdc494f2c Bug 824327: Convert SVGScriptElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGScriptElement.cpp => content/svg/content/src/SVGScriptElement.cpp
rename : content/svg/content/src/nsSVGScriptElement.cpp => content/svg/content/src/SVGScriptElement.h
2013-01-05 04:41:28 -05:00
Masatoshi Kimura
a8668b3606 Bug 826613 - Enable FAIL_ON_WARNINGS on MSVC in image/. r=joe 2013-01-05 12:55:23 +09:00
David Zbarsky
924ce82150 Bug 824327: Convert SVGMPathElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGMpathElement.cpp => content/svg/content/src/SVGMPathElement.cpp
rename : content/svg/content/src/nsSVGMpathElement.h => content/svg/content/src/SVGMPathElement.h
2013-01-04 20:50:22 -05:00
David Zbarsky
1098e5532f Bug 824327: Convert SVGMetadataElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGMetadataElement.cpp => content/svg/content/src/SVGMetadataElement.cpp
rename : content/svg/content/src/nsSVGMetadataElement.cpp => content/svg/content/src/SVGMetadataElement.h
2013-01-04 20:50:21 -05:00
David Zbarsky
fc0e876c37 Bug 824327: Convert SVGStyleElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGStyleElement.cpp => content/svg/content/src/SVGStyleElement.cpp
rename : content/svg/content/src/nsSVGStyleElement.cpp => content/svg/content/src/SVGStyleElement.h
2013-01-04 20:50:21 -05:00
David Zbarsky
fc40e9830d Bug 824327: Convert SVGStopElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGStopElement.cpp => content/svg/content/src/SVGStopElement.cpp
rename : content/svg/content/src/nsSVGStopElement.cpp => content/svg/content/src/SVGStopElement.h
2013-01-04 20:50:21 -05:00
David Zbarsky
aeefdf5e7c Bug 824327: Convert SVGTitleElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTitleElement.cpp => content/svg/content/src/SVGTitleElement.cpp
rename : content/svg/content/src/nsSVGTitleElement.cpp => content/svg/content/src/SVGTitleElement.h
2013-01-04 20:50:21 -05:00
David Zbarsky
518068fcfa Bug 824327: Convert SVGDescElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGDescElement.cpp => content/svg/content/src/SVGDescElement.cpp
rename : content/svg/content/src/nsSVGDescElement.cpp => content/svg/content/src/SVGDescElement.h
2013-01-04 20:50:21 -05:00
David Zbarsky
571c5d4a96 Bug 824327: Add a namespaced version of NS_NewSVGXXXElement r=bz 2013-01-04 20:50:20 -05:00
Phil Ringnalda
1e2c5f46c8 Back out 13acd3b74386:68ded29fc68e (bug 824327) for browser_bug329212.js failures 2013-01-04 16:30:31 -08:00
David Zbarsky
a9871f9038 Bug 824327: Convert SVGMPathElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGMpathElement.cpp => content/svg/content/src/SVGMPathElement.cpp
rename : content/svg/content/src/nsSVGMpathElement.h => content/svg/content/src/SVGMPathElement.h
2013-01-04 17:28:41 -05:00
David Zbarsky
cc611854d0 Bug 824327: Convert SVGMetadataElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGMetadataElement.cpp => content/svg/content/src/SVGMetadataElement.cpp
rename : content/svg/content/src/nsSVGMetadataElement.cpp => content/svg/content/src/SVGMetadataElement.h
2013-01-04 17:28:05 -05:00
David Zbarsky
c42bfb2a91 Bug 824327: Convert SVGStyleElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGStyleElement.cpp => content/svg/content/src/SVGStyleElement.cpp
rename : content/svg/content/src/nsSVGStyleElement.cpp => content/svg/content/src/SVGStyleElement.h
2013-01-04 17:28:05 -05:00
David Zbarsky
66927a4c04 Bug 824327: Convert SVGStopElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGStopElement.cpp => content/svg/content/src/SVGStopElement.cpp
rename : content/svg/content/src/nsSVGStopElement.cpp => content/svg/content/src/SVGStopElement.h
2013-01-04 17:28:05 -05:00
David Zbarsky
fd80af77b5 Bug 824327: Convert SVGTitleElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTitleElement.cpp => content/svg/content/src/SVGTitleElement.cpp
rename : content/svg/content/src/nsSVGTitleElement.cpp => content/svg/content/src/SVGTitleElement.h
2013-01-04 17:28:05 -05:00
David Zbarsky
b3c0addb84 Bug 824327: Convert SVGDescElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGDescElement.cpp => content/svg/content/src/SVGDescElement.cpp
rename : content/svg/content/src/nsSVGDescElement.cpp => content/svg/content/src/SVGDescElement.h
2013-01-04 17:28:05 -05:00
David Zbarsky
fad4a3787c Bug 824327: Add a namespaced version of NS_NewSVGXXXElement r=bz 2013-01-04 17:28:04 -05:00
Julien Levesy
9e58bd1f8f Bug 811753 - Add nsIContent::IsEventAttributeName and use it instead of having callers guess the right flags for the content node in question. r=bzbarsky. 2013-01-02 21:24:07 +01:00
Masatoshi Kimura
9a4812e054 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
David Zbarsky
a4730bced7 Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz 2012-12-23 03:22:58 -05:00
David Zbarsky
7d32181339 Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz
--HG--
rename : layout/reftests/svg/style-property-not-on-script-element-01.svg => layout/reftests/svg/style-property-on-script-element-01.svg
2012-12-23 03:22:22 -05:00
Ms2ger
87280862b0 Backout bug 823394 for reftest oranges. 2012-12-23 13:44:04 +01:00
David Zbarsky
52ea426e71 Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz 2012-12-23 03:22:58 -05:00
David Zbarsky
8aefa3fddd Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz 2012-12-23 03:22:22 -05:00
David Zbarsky
560c469c19 Bug 817442 Part 11: Remove nsIDOMSVG(Animated)LengthList r=bz 2012-12-22 23:54:26 -05:00
David Zbarsky
aae8c4eef4 Bug 816778 Part 13: Convert SVGAnimatedLengthList to WebIDL r=bz 2012-12-22 23:54:25 -05:00
David Zbarsky
8cbc728d2f Bug 817442 Part 6: Remove nsIDOMSVG(Animated)NumberList r=bz 2012-12-22 23:54:25 -05:00
David Zbarsky
f88a3e128d Bug 817442 Part 10: Remove nsIDOMSVGPoint r=bz 2012-12-22 23:54:25 -05:00
David Zbarsky
9b30e90f8c Bug 817442 Part 9: Remove nsIDOMSVGMatrix r=bz 2012-12-22 23:54:24 -05:00
David Zbarsky
ecea0f9145 Bug 817442 Part 8: Remove nsIDOMSVGTransform r=bz 2012-12-22 23:54:24 -05:00
David Zbarsky
ea24b37661 Bug 817442 Part 7: Remove nsIDOMSVG(Animated)TransformList r=bz 2012-12-22 23:54:24 -05:00
David Zbarsky
3879a4e943 Bug 817442 Part 5: Remove nsIDOMSVG(Animated)Angle r=bz 2012-12-22 23:54:23 -05:00
David Zbarsky
8cf6725873 Bug 816778 Part 12: Convert SVGAnimatedAngle to WebIDL r=bz 2012-12-22 23:54:23 -05:00
David Zbarsky
6e5f6082e9 Bug 816778 Part 11: Convert SVGAngle to WebIDL r=bz 2012-12-22 23:54:23 -05:00
David Zbarsky
071334be2f Bug 817442 Part 4: Remove nsIDOMSVGPathSegList r=bz, jwatt 2012-12-22 23:54:23 -05:00
David Zbarsky
9829ee3081 Bug 816778 Part 10: Convert SVGPathSeg and subclasses to WebIDL and remove XPIDL r=bz 2012-12-22 23:54:22 -05:00
David Zbarsky
4fb32bea8d Bug 816778 Part 9: Add a macro for NS_SVG_VAL_IMPL_CYCLE_COLLECTION_WRAPPERCACHED r=bz 2012-12-22 23:54:22 -05:00
David Zbarsky
72dac6b632 Bug 817442 Part 3: Remove nsIDOMSVGAnimatedBoolean r=bz, jwatt 2012-12-22 23:54:22 -05:00
David Zbarsky
6b2e5c3ed4 Bug 816778 Part 8: Convert SVGAnimatedBoolean to WebIDL r=bz 2012-12-22 23:54:22 -05:00
David Zbarsky
4d100c70db Bug 817442 Part 2: Remove nsIDOMSVG(Animated)PreserveAspectRatio r=bz, jwatt 2012-12-22 23:54:21 -05:00
David Zbarsky
27aca98d8e Bug 817442 Part 1: Remove nsIDOMSVGPointList r=bz, jwatt 2012-12-22 23:54:21 -05:00
David Zbarsky
6e8d4191c7 Bug 816778 Part 7: Convert SVGAnimatedNumberList to WebIDL r=bz 2012-12-22 23:54:21 -05:00
David Zbarsky
a7787e2a78 Bug 816778 Part 6: Convert SVGAnimatedPreserveAspectRatio to WebIDL r=bz 2012-12-22 23:54:20 -05:00
David Zbarsky
2e312948f9 Bug 816778 Part 5: Convert SVGPreserveAspectRatio to WebIDL r=bz 2012-12-22 23:54:20 -05:00
David Zbarsky
1a885f01bc Bug 816778 Part 4: Convert SVGAnimatedTransformList to WebIDL r=bz 2012-12-22 23:54:20 -05:00
David Zbarsky
9ca36b2dd4 Bug 816778 Part 3: Convert SVGTransform to WebIDL r=bz 2012-12-22 23:54:20 -05:00
David Zbarsky
314745e8b8 Bug 816778 Part 2: Convert SVGMatrix to WebIDL r=bz 2012-12-22 23:54:20 -05:00
David Zbarsky
1baa03ba12 Bug 816778 Part 1.5: Create nsISVGPoint and make nsSVGTranslatePoint::DOMVal a subclass r=bz 2012-12-22 23:54:20 -05:00
David Zbarsky
91171c07f6 Bug 816778 Part 1: Convert SVGPoint to WebIDL r=bz 2012-12-22 23:54:19 -05:00
Jonathan Kew
a76332437f Bug 823964 - Wrong bounds for scaled images. r=longsonr 2012-12-22 10:07:00 +00:00
Boris Zbarsky
53a5112fb0 Bug 804631. Add the WebIDL API for Document. r=peterv
I'm not entirely happy with the XPath bits.  If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Masatoshi Kimura
4b5034efa3 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Robert Longson
5b4ea62d49 Bug 821960 - Implement tearoffs for remaining SVG types. r=jwatt 2012-12-21 09:18:58 +00:00
Cameron McCormack
154f38b92a Bug 793617 - Implement mask-type property. r=dbaron,longsonr 2012-12-21 11:15:22 +11:00
Jonathan Watt
12fdf8dc38 Bug 813531 - Part 2: Stop reconstructing the entire SVG frame tree after the initial reflow of nsSVGOuterSVGFrame frames that have a viewBox. r=roc. 2012-12-18 02:25:16 +00:00
Jonathan Watt
57e52e7f84 Bug 802628 - Part 1, Kill nsSVGUtils::InvalidateAndScheduleReflowSVG. r=mattwoodrow. 2012-11-28 09:42:13 +00:00
Masayuki Nakano
4581677d83 Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug 2012-12-16 10:26:03 +09:00
Jeff Walden
120886ca73 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Robert Longson
926311ef79 Bug 820629 - animateTransform should not animate non-transform-type attributes (follow-up to correct type) r=dholbert 2012-12-14 17:16:43 +00:00
Robert Longson
d0c8136a6d Bug 820629 - animateTransform should not animate non-transform-type attributes r=dholbert 2012-12-12 19:07:58 +00:00
Robert Longson
8135aadc67 Bug 812890 - spot light filters do not process limiting cone angle properly. r=cam 2012-12-10 12:14:25 +00:00
Cameron McCormack
7c7b6bb3e0 Bug 819731 - Remove contentStyleType and contentScriptType from SVGSVGElement. r=longsonr 2012-12-10 12:33:10 +11:00
Saurabh Anand
6de7befa37 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Benedict Singer
8b16d029d1 Bug 787134 - Make links not in a document or with an invalid href respond to :link selector. r=bzbarsky 2012-12-07 09:35:14 -05:00
Robert Longson
aba24e2cf7 Bug 817439 r=dholbert 2012-12-05 10:59:26 +00:00
Tom Schuster
9271842e43 Bug 676619 - Implementation of the download attribute for links. r=smaug 2012-12-02 21:55:52 +01:00
Daniel Holbert
3d97e1a8f1 Bug 793308: Remove unneeded/unused "#include string.h" from some SVG c++ files. r=longsonr 2012-11-28 23:13:02 -08:00
Seth Fowler
cd421a0e5e Bug 812241 - Remove disabled test warnings. r=khuey 2012-11-20 16:13:04 -08:00
Zack Weinberg
662e668d9f Bug 516091: Split CSS error reporting to its own file and class. Allows CSS scanner to become a stack object. r=dbaron 2012-11-15 11:36:15 -05:00
Benoit Jacob
986ee1a065 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Boris Zbarsky
05ba9f02c1 Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Peter Van der Beken
0a5f44ada8 Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 842b9397d2b050f880c44d3366bcc838e6615fd5
2012-11-11 00:30:15 +01:00
Ed Morley
35b84cb08f Backout 54c4f2ff78e3 (bug 807075) for Windows compilation errors 2012-11-14 16:45:28 +00:00
Peter Van der Beken
f19ca9b71f Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 9afce481cd0a5c8a1014c8c9b0aad7d6665aaa82
2012-11-11 00:30:15 +01:00
Peter Van der Beken
b2ba5959ec Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Ed Morley
33efb139e8 Bug 701060 - Disable test_bug401046.html & test_lang.xhtml for too many intermittent failures 2012-11-06 22:26:56 +00:00
Jacek Szpot
761b11160f Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Aryeh Gregor
70c46f800c Bug 801425 - Make hasFeature() and isSupported() always return true for non-SVG features; r=bz 2012-10-15 13:59:38 +02:00
Robert Longson
27341fb426 Bug 644534 - Make SMIL animation work when content is transformed through XSLT. r=bzbarsky 2012-10-23 09:21:49 +01:00
Robert Longson
8dc4bfd15f Bug 801317 - Support transforms in SVG fragment identifiers. r=dholbert 2012-10-22 10:13:24 +01:00
Peter Van der Beken
9af14c557f Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
Peter Van der Beken
e4c543b77c Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Aryeh Gregor
c24a828b17 Bug 799905 - .URL and .compatMode should be defined on Document, not HTMLDocument; r=bz 2012-10-11 14:48:31 +02:00
Josh Matthews
c8eb573b6f Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-12 12:11:23 -04:00
Josh Matthews
f905bcf9ea Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews
b84562cef3 Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews
138935b14a Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews
fcd1ce5c84 Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
1d3700a537 Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews
abbb0715c2 Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-11 21:34:23 -04:00
Boris Zbarsky
b9ca5298cb Bug 795221 part 5. Hook up <svg:style> elements to cycle collect their stylesheet. r=smaug
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-4.html
2012-10-07 22:39:09 -04:00
Jeff Muizelaar
62bb43ba59 Bug 792199. Only decode visible images immediately when switching to a tab. r=joe
This creates a new method 'StartDecoding' which does a RequestDecode and some
decoding of the image.

--HG--
extra : rebase_source : 89c1c2f40e3dfb6e025939ebf3257f81ce429501
2012-10-04 16:02:15 -04:00
Peter Van der Beken
6cf9f896da Fix for bug 791774 (Hook DOM lists up to the new DOM bindings). r=bz.
--HG--
extra : rebase_source : 873020edd9cd3defc932d77bd26b5d65ebf263cb
2012-06-13 17:18:30 +02:00
Kyle Huey
43e58e33c8 Bug 760331: Coalesce data for inline style across nodes. r=bz
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules.  MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit).  This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley.  A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet.  MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache.  This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.

The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value.  This can happen easily with large pages that are automatically generated.  An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change.  Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node.  Eliminating duplicate style rules enables further savings in layout through style context sharing.  The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.

Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules.  We also do not attempt to share MiscContainers when the node's base URI differs from the document URI.  The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Robert Longson
fc986af9d2 Bug 729139 - Accept negative radius arcs in markup. r=jwatt 2012-09-29 11:19:13 +01:00
Isaac Aggrey
481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow
82af1f91f2 Bug 539356 - Disable test_text.html on android since it crashes on armv6. r=roc 2012-09-29 01:12:39 +12:00
Alexandre Dumont
9bb8822425 Bug 596753: Flatten layout/svg/base/src into layout/svg. r=dholbert
--HG--
rename : layout/svg/base/src/Makefile.in => layout/svg/Makefile.in
rename : layout/svg/base/src/SVGFEContainerFrame.cpp => layout/svg/SVGFEContainerFrame.cpp
rename : layout/svg/base/src/SVGFEImageFrame.cpp => layout/svg/SVGFEImageFrame.cpp
rename : layout/svg/base/src/SVGFELeafFrame.cpp => layout/svg/SVGFELeafFrame.cpp
rename : layout/svg/base/src/SVGFEUnstyledLeafFrame.cpp => layout/svg/SVGFEUnstyledLeafFrame.cpp
rename : layout/svg/base/src/SVGViewFrame.cpp => layout/svg/SVGViewFrame.cpp
rename : layout/svg/base/src/nsISVGChildFrame.h => layout/svg/nsISVGChildFrame.h
rename : layout/svg/base/src/nsISVGGlyphFragmentNode.h => layout/svg/nsISVGGlyphFragmentNode.h
rename : layout/svg/base/src/nsISVGSVGFrame.h => layout/svg/nsISVGSVGFrame.h
rename : layout/svg/base/src/nsSVGAFrame.cpp => layout/svg/nsSVGAFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.cpp => layout/svg/nsSVGClipPathFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.h => layout/svg/nsSVGClipPathFrame.h
rename : layout/svg/base/src/nsSVGContainerFrame.cpp => layout/svg/nsSVGContainerFrame.cpp
rename : layout/svg/base/src/nsSVGContainerFrame.h => layout/svg/nsSVGContainerFrame.h
rename : layout/svg/base/src/nsSVGEffects.cpp => layout/svg/nsSVGEffects.cpp
rename : layout/svg/base/src/nsSVGEffects.h => layout/svg/nsSVGEffects.h
rename : layout/svg/base/src/nsSVGFilterFrame.cpp => layout/svg/nsSVGFilterFrame.cpp
rename : layout/svg/base/src/nsSVGFilterFrame.h => layout/svg/nsSVGFilterFrame.h
rename : layout/svg/base/src/nsSVGFilterInstance.cpp => layout/svg/nsSVGFilterInstance.cpp
rename : layout/svg/base/src/nsSVGFilterInstance.h => layout/svg/nsSVGFilterInstance.h
rename : layout/svg/base/src/nsSVGFilterPaintCallback.h => layout/svg/nsSVGFilterPaintCallback.h
rename : layout/svg/base/src/nsSVGForeignObjectFrame.cpp => layout/svg/nsSVGForeignObjectFrame.cpp
rename : layout/svg/base/src/nsSVGForeignObjectFrame.h => layout/svg/nsSVGForeignObjectFrame.h
rename : layout/svg/base/src/nsSVGGFrame.cpp => layout/svg/nsSVGGFrame.cpp
rename : layout/svg/base/src/nsSVGGFrame.h => layout/svg/nsSVGGFrame.h
rename : layout/svg/base/src/nsSVGGenericContainerFrame.cpp => layout/svg/nsSVGGenericContainerFrame.cpp
rename : layout/svg/base/src/nsSVGGenericContainerFrame.h => layout/svg/nsSVGGenericContainerFrame.h
rename : layout/svg/base/src/nsSVGGeometryFrame.cpp => layout/svg/nsSVGGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGGeometryFrame.h => layout/svg/nsSVGGeometryFrame.h
rename : layout/svg/base/src/nsSVGGlyphFrame.cpp => layout/svg/nsSVGGlyphFrame.cpp
rename : layout/svg/base/src/nsSVGGlyphFrame.h => layout/svg/nsSVGGlyphFrame.h
rename : layout/svg/base/src/nsSVGGradientFrame.cpp => layout/svg/nsSVGGradientFrame.cpp
rename : layout/svg/base/src/nsSVGGradientFrame.h => layout/svg/nsSVGGradientFrame.h
rename : layout/svg/base/src/nsSVGImageFrame.cpp => layout/svg/nsSVGImageFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.cpp => layout/svg/nsSVGInnerSVGFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.h => layout/svg/nsSVGInnerSVGFrame.h
rename : layout/svg/base/src/nsSVGIntegrationUtils.cpp => layout/svg/nsSVGIntegrationUtils.cpp
rename : layout/svg/base/src/nsSVGIntegrationUtils.h => layout/svg/nsSVGIntegrationUtils.h
rename : layout/svg/base/src/nsSVGMarkerFrame.cpp => layout/svg/nsSVGMarkerFrame.cpp
rename : layout/svg/base/src/nsSVGMarkerFrame.h => layout/svg/nsSVGMarkerFrame.h
rename : layout/svg/base/src/nsSVGMaskFrame.cpp => layout/svg/nsSVGMaskFrame.cpp
rename : layout/svg/base/src/nsSVGMaskFrame.h => layout/svg/nsSVGMaskFrame.h
rename : layout/svg/base/src/nsSVGOuterSVGFrame.cpp => layout/svg/nsSVGOuterSVGFrame.cpp
rename : layout/svg/base/src/nsSVGOuterSVGFrame.h => layout/svg/nsSVGOuterSVGFrame.h
rename : layout/svg/base/src/nsSVGPaintServerFrame.cpp => layout/svg/nsSVGPaintServerFrame.cpp
rename : layout/svg/base/src/nsSVGPaintServerFrame.h => layout/svg/nsSVGPaintServerFrame.h
rename : layout/svg/base/src/nsSVGPathGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGPathGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
rename : layout/svg/base/src/nsSVGPatternFrame.cpp => layout/svg/nsSVGPatternFrame.cpp
rename : layout/svg/base/src/nsSVGPatternFrame.h => layout/svg/nsSVGPatternFrame.h
rename : layout/svg/base/src/nsSVGStopFrame.cpp => layout/svg/nsSVGStopFrame.cpp
rename : layout/svg/base/src/nsSVGSwitchFrame.cpp => layout/svg/nsSVGSwitchFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.cpp => layout/svg/nsSVGTSpanFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.h => layout/svg/nsSVGTSpanFrame.h
rename : layout/svg/base/src/nsSVGTextContainerFrame.cpp => layout/svg/nsSVGTextContainerFrame.cpp
rename : layout/svg/base/src/nsSVGTextContainerFrame.h => layout/svg/nsSVGTextContainerFrame.h
rename : layout/svg/base/src/nsSVGTextFrame.cpp => layout/svg/nsSVGTextFrame.cpp
rename : layout/svg/base/src/nsSVGTextFrame.h => layout/svg/nsSVGTextFrame.h
rename : layout/svg/base/src/nsSVGTextPathFrame.cpp => layout/svg/nsSVGTextPathFrame.cpp
rename : layout/svg/base/src/nsSVGTextPathFrame.h => layout/svg/nsSVGTextPathFrame.h
rename : layout/svg/base/src/nsSVGUseFrame.cpp => layout/svg/nsSVGUseFrame.cpp
rename : layout/svg/base/src/nsSVGUtils.cpp => layout/svg/nsSVGUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => layout/svg/nsSVGUtils.h
rename : layout/svg/base/src/resources/content/svgBindings.xml => layout/svg/resources/content/svgBindings.xml
rename : layout/svg/base/src/svg.css => layout/svg/svg.css
2012-09-24 23:01:21 +02:00
Cameron McCormack
a159762d42 Bug 793612 - Make nsSVGArcConverter robust against zero-sized arc segments. r=longsonr 2012-09-24 22:07:41 +10:00
Reuben Morais
5f9bd65741 Bug 793440 - Fix tautological constant out of range check on DOMSVGTransform.cpp. r=longsonr 2012-09-22 20:48:27 -04:00