Commit Graph

1841 Commits

Author SHA1 Message Date
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
Robert Longson
9f1158e270 Bug 567848 - Split content methods from nsSVGUtils into SVGContentUtils. r=dholbert
--HG--
rename : layout/svg/base/src/nsSVGUtils.cpp => content/svg/content/src/SVGContentUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => content/svg/content/src/SVGContentUtils.h
2012-09-22 20:26:05 +01:00
Peter Van der Beken
6f38d2708d Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Peter Van der Beken
47679c3042 Fix for bug 788532 (Add the new DOM bindings API to DOM lists) - Rename Length to LengthNoFlush in SVG DOM lists. r=bz.
--HG--
extra : rebase_source : 6db1028fe04d03286561ac13fe7ea818f54245bf
2012-09-05 16:52:57 +02:00
Jonathan Watt
81a90a8fd3 Bug 787722 - Prevent out-of-bounds read/writes under nsSVGFELightingElement::Filter. r=roc.
--HG--
extra : rebase_source : 8354ba5e16ca00a09a7b794b2408db63e76ca9df
2012-09-13 12:23:28 +01:00
Robert Longson
d6bf23f66c Bug 783995 - enable animation of view element attributes. r=dholbert 2012-09-09 12:44:03 +01:00
Daniel Holbert
ca0e68c088 Bug 788862: Initialize 'segType' in SVGPathData::ConstructPath. r=jwatt 2012-09-06 11:33:01 -07:00
Ehsan Akhgari
4a8bc9fd25 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Cameron McCormack
947c869021 Bug 655877 - Part 45: Note a crashtest that involves XBL as triggering assertions. r=longsonr 2012-09-06 16:07:53 +10:00
Robert Longson
f2ca028f8d Back out 92f2cf2f42b2 (bug 754592) for causing regression 2012-09-04 14:53:04 -07:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Jonathan Watt
6b6b241b56 Bug 767056 - Stop calling nsLayoutUtils::PostRestyleEvent during reflow to avoid infinite loop. r=roc.
--HG--
extra : rebase_source : c397431c824e2d1f624765636320129201209b60
2012-08-31 15:30:18 +01:00
Ryan VanderMeulen
500be4ff7e Merge the last PGO-green inbound changeset to m-c. 2012-08-30 21:54:09 -04:00
Kyle Huey
20210893cb Bug 786048: Rename 'JSEventListener' to 'EventHandler' to better match the spec's terminology. r=smaug 2012-08-30 09:25:10 -07:00
David Zbarsky
e43775a378 Bug 779084 - Move querySelector stuff out of nsGenericElement and into nsINode r=bz 2012-08-30 13:10:13 -04:00
Boris Zbarsky
23f0b64faa Bug 732209 part 2. Communicate the CORS state of style link loads to the CSS loader. r=sicking 2012-08-28 13:10:07 -04:00
Daniel Holbert
5d7711fd34 (no bug) fix an instance of end-of-line whitespace, so I can label this push as DONTBUILD since it just backs out & relands a cset (no code changes, other than this whitespace fix) 2012-08-25 10:06:10 -07:00
Robert Longson
8003d8f33b Bug 783915 - Make SVG Fragment identifier processing more robust. r=dholbert 2012-08-25 10:02:34 -07:00
Daniel Holbert
4286cddb20 back out 8247f7b038ce because it landed with the wrong bug # in commit message (said bug 785017, should've said bug 783915) 2012-08-25 10:01:48 -07:00
Robert Longson
992236a3e5 Bug 785017 - Make SVG Fragment identifier processing more robust. r=dholbert 2012-08-25 11:07:54 +01:00
Robert Longson
2de3c5a082 Bug 785017 - Use NS_GetStaticAtom in svg content where appropriate. r=dholbert 2012-08-24 08:29:09 +01:00
Daniel Holbert
39ba0cd0c4 Bug 784828 patch 2: Make nsSVGAttrTearoffTable lookups use nsRefPtr instead of manual NS_ADDREF refcounting, in nsSVGLength2.cpp. r=longsonr 2012-08-22 23:24:43 -07:00
Daniel Holbert
4efee24c50 Bug 784828 patch 1: Make nsSVGAttrTearoffTable lookups use nsRefPtr instead of manual NS_ADDREF refcounting, in DOMSVG*List.cpp. r=longsonr 2012-08-22 23:24:41 -07:00
Peter Van der Beken
ee9eae3141 Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
--HG--
extra : rebase_source : 651a0fac4c9a87ef1c0a9cd91588c6421fd050c4
2012-05-22 15:46:20 +02:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ed Morley
31a0f2b067 Merge mozilla-central to mozilla-inbound 2012-08-15 19:00:48 +01:00
Kyle Huey
0cc1845191 Merge m-c to b-s. 2012-08-15 06:25:20 -07:00
Kyle Huey
ef988eb931 Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz 2012-08-13 15:58:53 -07:00
Kyle Huey
f9dc19e0af Bug 683290: Discard images that are not in the DOM. r=bz 2012-08-13 15:11:50 -07:00
David Zbarsky
05903e83e6 Bug 773842 - Fix build warnings under content/ r=mounir 2012-08-10 14:01:16 -04:00
Robert Longson
e6dbebb0f5 Bug 782387 - Blank SVG rendering, after clicking a link to a view fragment and then navigating back. r=dholbert 2012-08-15 12:50:48 +01:00
Aryeh Gregor
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Jonathan Watt
038a11cc95 Bug 782141 - Don't mix signed and unsigned variables in nsSVGFEMorphologyElement::Filter(), and clamp radii to 100000. r=roc. 2012-08-14 10:12:52 +01:00
Aryeh Gregor
2fbc523d8e Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
David Zbarsky
03039446fa [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -04:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
ec805a875a Bug 563659 part 3 - Make Element inherit from FragmentOrElement; r=bz 2012-06-27 16:01:55 +03:00
Ehsan Akhgari
3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
587e4453db Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Robert Longson
386204e06e Tests for Bug 710974 - extraneous commas should be rejected by number list parser. r=dholbert 2012-07-30 10:02:50 +01:00
Tim Taubert
007684ca97 Bug 710974 - extraneous commas should be rejected by number list parser. r=dholbert 2012-07-30 10:02:46 +01:00
Jonathan Watt
b82eee1846 Bug 776747 - Talos Regression :( SVG, Opacity Row Major increase 4.54%. r=roc. 2012-07-30 01:35:26 +01:00
Robert Longson
938bb2b0cf Bug 777476 - text bounding boxes should ignore whitespace-only nodes when whitespace compression suppresses them. r=jwatt 2012-07-27 09:07:32 +01:00
Joshua Cranmer
d539846cab Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Jonathan Watt
4b2601630f Bug 776250 - Rename nsISVGChildFrame::UpdateBounds to nsISVGChildFrame::ReflowSVG to make it easier for non-SVG devs to understand the SVG code. r=roc.
--HG--
extra : rebase_source : 9c2d8f3d76dab1a842d6cc5607a13a49703061d6
2012-07-21 20:01:44 -04:00
Ryan VanderMeulen
be774885eb Merge m-c to inbound. 2012-07-20 17:37:53 -04:00
Olli Pettay
aa64d464e5 Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Jonathan Watt
c8b3589558 Bug 614732 - Implement display list based painting and hit-testing for SVG. r=roc.
--HG--
extra : rebase_source : 77e55885fbbf428008f5be787ddeb7e561c0d9bd
2012-07-20 14:12:29 -04:00
Andrew McCreight
86ad8a2340 Bug 770218 - null check mAList during unlink of DOMSVG{Length,Number,Transform}List. r=jwatt 2012-07-18 15:44:22 -07:00
Jonathan Watt
60ec6a4ffb Bug 774077 - Fix Clang warning in nsSVGGraphicElement.cpp. r=dholbert.
--HG--
extra : rebase_source : 20a6001c421008c19d6000541077c78819520393
2012-07-18 13:47:40 -04:00
Ms2ger
fdc403d471 Bug 763323 - Use .forget(I**) in a few places; r=longsonr 2012-07-18 12:36:08 +02:00
Rafael Ávila de Espíndola
b5b71bc527 Bug 774030 - Remove extra ;. r=jwatt. 2012-07-15 10:07:04 -04:00
Boris Zbarsky
496f1a1325 Bug 771594. Allow preference control over what CSS properties we parse. r=dbaron,dholbert 2012-07-13 19:59:05 -04:00
Cameron McCormack
004750fdbf Bug 772356 - Add an IsEmpty method to SVGUserUnitList. r=jwatt 2012-07-10 18:16:35 +10:00
Jonathan Watt
05947e196b Bug 771042, part 1 - Fix invalidation of animateMotion. r=birtles. 2012-07-09 18:41:12 +01:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Mark Capella
9e697010b7 Bug 704311 - Element CopyInnerTo shouldn't be const, r=jst, f=ms2ger 2012-07-09 08:36:05 -04:00
Cameron McCormack
49f20ab572 Bug 771900 - Don't have presentation attributes for properties we don't support. r=jwatt 2012-07-09 11:09:49 +10:00
Cameron McCormack
0b69821bc1 Bug 769115 - Calculate marker orientation correctly for arc endpoints. r=jwatt 2012-07-08 21:36:07 +10:00
Daniel Holbert
901758d5ca Bug 770598: Simplify NS_NewSVGDocument. r=jwatt 2012-07-06 10:47:37 -07:00
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Jonathan Watt
53807bd4e9 Bug 767647 - Stop invalidating once for every SVG descendant of a changed SVG container, and stop invalidating the descendants' rendering observers. r=longsonr. 2012-06-23 17:36:46 +01:00
Robert Longson
0150868481 Backout most of Bug 467498 - crashtest failure on windows 2012-06-19 17:49:47 +01:00
Jonathan Watt
9472b0acf9 Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr. 2012-06-19 16:28:04 +01:00
Robert Longson
6498ee3556 Bug 467498 - Second level of use is not live to changes. r=dholbert
--HG--
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01a.svg
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01b.svg
2012-06-19 15:58:39 +01:00
Ehsan Akhgari
2050b687cc Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Jonathan Watt
faa9392008 Bug 765505 - Clean up filter code. r=longsonr. 2012-06-16 21:23:48 +01:00
Robert Longson
5ccc8c4019 Bug 764851 - Fix animations of the width/height of an outer SVG element. r=jwatt 2012-06-16 16:47:40 +01:00
Jonathan Watt
c06a0c60b8 Bug 764824 - Make it easier to spot when were using a temporary context. r=longsonr. 2012-06-15 04:02:29 +01:00
Jonathan Watt
35a8bfc76c Bug 762679 - Stop rounding coordinates prematurely while doing SVG hit testing. r=longsonr 2012-06-13 21:12:38 -04:00
Masatoshi Kimura
77b81c0275 Bug 743888 - Part 2: Update SVG exception types. r=jwatt 2012-06-13 21:12:37 -04:00
Robert Longson
89657d93ac Bug 762411 - getScreenCTM scaling broken on inline outer svg elements. r=jwatt 2012-06-13 14:32:23 +01:00
Robert Longson
6d57bbf31d Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert 2012-06-08 08:54:39 +01:00
Aryeh Gregor
29b2ea5b20 Bug 757771 part 1 - Make NS_NewContentIterator and friends infallible; r=bz 2012-06-04 20:42:00 +03:00
Ed Morley
3bd32a640c Backout 14bea2e7f431 (bug 762119) for compilation failures 2012-06-07 09:40:02 +01:00
Robert Longson
9b3aba30d7 Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert 2012-06-07 09:30:45 +01:00
Robert Longson
8c6547e87a Bug 761507 - Fix issues with adoptNode and conditional processing. r=dholbert 2012-06-06 09:15:53 +01:00
Robert Longson
fefd1ff8c2 Bug 758505, Part 3: Avoid unnecessary invalidations on repeated calls to set the same animated value (for SMIL animations of CSS, mapped attrs, and motion). r=dholbert 2012-06-01 16:53:57 -07:00
Robert Longson
d5b5f12a6e Bug 758505, Part 2: Avoid unnecessary invalidations on repeated calls to set the same animated value (most other non-list types). r=dholbert 2012-06-01 16:53:06 -07:00
Matt Woodrow
714c391777 Bug 758505, Part 1: Avoid unnecessary invalidations on repeated calls to set the same animated value (nsSVGLength2 part). r=dholbert 2012-06-01 16:52:15 -07:00
Robert Longson
51ba38af37 Bug 759124 - Implement useCurrentView. r=dholbert 2012-05-31 11:39:12 +01:00
Robert Longson
552f1b1d87 Bug 756988 - Mark some animation feature strings as supported. r=jwatt 2012-05-25 14:45:53 +01:00
Neil Deakin
403c3ccc83 Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz 2012-05-23 14:46:04 -04:00
Robert Longson
f42e89af46 Bug 757718 - Crash with SVG requiredFeatures, adoptNode. r=jwatt 2012-05-23 10:54:19 +01:00
Robert Longson
ee7ff5f484 Bug 757704 - getScreenCTM() crash. r=jwatt 2012-05-23 10:49:15 +01:00
Daniel Holbert
77f79e7a88 Bug 757177: Remove unused variables from SVGFragmentIdentifier.cpp. r=longsonr 2012-05-21 13:38:50 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Robert Longson
bb1ba049a4 Bug 754592 - Lazily allocate conditional processing data. r=jwatt 2012-05-19 14:37:16 +01:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Robert Longson
4fd52b5cbf Bug 756404 - Address post-landing review comments from bug 512525. r=jwatt 2012-05-18 11:41:30 +01:00
Robert Longson
68d77a3a59 Bug 528332 - Implement non-scaling-stroke vector-effect. Part 2 - SVG changes r=dholbert 2012-05-18 09:34:25 +01:00
Robert Longson
da7b0caeee Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Brian Birtles
86afa969bf Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 1 infrastructure to support hyperlinking. r=dholbert 2012-05-17 10:56:57 +01:00
Jonathan Watt
f418b57d69 Bug 734082 - Compute and store bounds and visual overflow bounds for both SVG leaf and container frames. r=roc. 2012-05-17 05:05:09 +01:00
Jonathan Watt
14342d950c Bug 413960, part 2 - Stop sending out unnecessary COORD_CONTEXT_CHANGED/TRANSFORM_CHANGED notifications from nsSVGOuterSVGFrame. r=longsonr.
--HG--
extra : rebase_source : fa0e8a232559e19b9a151a34a8f235154327409b
2012-05-03 17:05:53 +01:00
Jonathan Watt
8056ad42af Bug 413960, part 1 - Clean up and document various parts of misleading viewBox code. r=longsonr.
--HG--
extra : rebase_source : f9dc173b36d4afbce3a8e256f7aa90d9d231615a
2012-05-03 17:05:40 +01:00
Robert Longson
d9928f2c53 Bug 751515 - Fix Crash with convertToSpecifiedUnits. r=dholbert 2012-05-04 08:41:42 +01:00
Shriram Kunchanapalli
86b1d55b6f Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Phil Ringnalda
1d52ee7a7b Merge m-c to m-i 2012-04-26 21:40:59 -07:00
Olli Pettay
fab0bd775f Bug 740063 - Add nsINode::AsDOMNode(), r=jst
--HG--
extra : rebase_source : a838243c11e212ec419df1dd1a219e955c4edc2d
2012-04-25 16:47:30 +03:00
Masatoshi Kimura
473d12ee2a Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Robert Longson
c8cc0fe2ef Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-04-16 09:23:48 +01:00
Jonathan Watt
bbd2635d4e Bug 745352 - Remove broken include paths from content Makefile.in files. r=dholbert. 2012-01-19 15:36:53 +00:00
Robert Longson
1187a6d7fd Bug 743444 - Lighting Filter clipped when kernelUnitLength specified. r=roc 2012-04-13 08:01:55 +01:00
Kyle Huey
5e3fddb58d Back out Bug 679230 due to Android reftest failures. 2012-04-07 10:36:49 -07:00
Kyle Huey
b579ded900 Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz 2012-04-07 09:00:04 -07:00
Boris Zbarsky
ee79d7d84b Bug 742549. Add a .crossOrigin IDL property. r=sicking
Note that the content attribute is crossorigin (lowercase) in SVG, hence the need to have different
content and IDL property names in the test.
2012-04-05 22:24:42 -04:00
Ryan VanderMeulen
503ea93a8c Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
dcbb9c3017 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Ms2ger
6c9f342a36 No bug - Remove an always-true check. 2012-03-29 23:12:55 +02:00
Ms2ger
2754f9e3ff Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking 2012-03-29 23:09:07 +02:00
Peter Van der Beken
cba2d2e2ac Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap 2012-03-16 16:44:09 +01:00
Jonathan Watt
c4e6b7547e Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert. 2012-03-20 12:15:55 +00:00
Jonathan Watt
607557fa95 Bug 734079, part 2 - Use a mark and asynchronously sweep scheme (similar to HTML reflow) to invalidate and update SVG frame bounds. r=longsonr. 2012-03-20 12:15:53 +00:00
Jonathan Watt
858e883080 Bug 734079, part 1 - Remove the SuspendRedraw code and make SVGSVGElement.suspendRedraw a no-op. r=longsonr. 2012-03-20 12:15:53 +00:00
Cameron McCormack
19b598c34c Bug 711043 - Make filters code more consistent in performance. r=roc 2012-03-20 22:20:21 +11:00
Ryan VanderMeulen
d3f0c9d0b1 Backout 47e84e1cc50f (bug 711043) due to crashtest & reftest crashes. 2012-03-19 22:28:30 -04:00
Cameron McCormack
9db2e29ba4 Bug 711043 - Make filters code more consistent in performance. r=roc 2012-03-20 12:49:13 +11:00
Robert Longson
8934f3b783 Bug 736791 - translate transforms are not serialised correctly. r=jwatt 2012-03-18 18:24:35 +00:00
Robert Longson
2b2c55dff9 Bug 736791 - translate transforms are not serialised correctly. r=jwatt 2012-03-18 12:25:28 +00:00
Jonathan Watt
796c3ddca9 Bug 736753 - Fix the includes in layout/svg/base/src so that we can stop including nsSVGSVGElement.h in nsSVGContainerFrame.h. r=longsonr. 2012-03-18 10:32:02 +00:00
Nathan Froyd
70907fb5f2 Bug 732167 - Eliminate duplicate headers in content. r=mounir 2012-03-06 13:55:37 -05:00
Robert Longson
9b626bf890 Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-03-15 11:42:54 +00:00
Blake Kaplan
662d0db31b Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv 2012-03-14 16:25:40 +01:00
Peter Van der Beken
ec969bf862 Add new DOM binding for SVG list classes. r=jst.
--HG--
extra : rebase_source : ce84f9457d7b9a14a0a65db5c643938d0e0e05bc
2011-08-22 11:14:13 +02:00
Ed Morley
b9546dd6c4 Backout fe139851fb34 (bug 734079) for M1 orange 2012-03-12 00:23:35 +00:00
Jonathan Watt
840e4a84a2 Bug 734079 - Give nsSVGSwitchElement::MaybeInvalidate a better name and comment. r=longsonr. 2012-03-11 23:04:37 +00:00
Boris Zbarsky
333a19ad97 Bug 696301 part 3. Propagate the CORS mode to the script loader correctly; make sure the CORS mode of script preloads matches the actual load. r=sicking 2012-03-10 10:13:52 -06:00
Marco Bonardo
483472ec0a Merge central to inbound 2012-03-10 11:25:12 +01:00
Emanuel Hoogeveen
bdce617c30 Bug 492931 - Fix case conversion in a bunch of DOM functions to only convert ASCII characters. r=sicking,khuey 2012-03-09 21:50:34 -08:00
Daniel Holbert
303ac7cf78 Bug 734288: Use double math instead of float math for computing surface sizes in nsSVGFE::SetupScalingFilter. r=longsonr 2012-03-09 14:32:11 -08:00
Cameron McCormack
8a8040dc03 Bug 731813 - Do not attempt to serialize SVG attributes for mutation events if they do not exist. r=jwatt,bzbarsky
--HG--
extra : rebase_source : 6af188d032bdcd28a19b2da0f46e185cfd52b20d
2012-03-05 10:38:03 +11:00
Robert Longson
a2019bab87 Bug 732836 - stop asserts when width or height attributes are removed from a use element. r=dholbert 2012-03-07 10:50:36 +00:00
Robert Longson
f4b78cd17b Bug 730658 - use element does not display properly when animated with set. r=dholbert 2012-03-03 09:21:09 +00:00
Nicholas Nethercote
d73f98344b Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey.
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
extra : rebase_source : f3aca3b1829e03e6f8a5a0607eb437322eb62f7d
2012-02-23 18:43:33 -08:00
Brian Birtles
4a28491849 Bug 705236 part 1 - Allow trailing separator in SMIL values list; r=dholbert 2012-02-24 09:45:40 +09:00
Cameron McCormack
ca295e718c Bug 728661 - Remove CalcVectorAngle and use AngleOfVector instead. r=jwatt 2012-02-20 11:37:22 +11:00
Jonathan Watt
3864018bdb Bug 721920 - Honor the 'lang' and 'xml:lang' attributes in SVG as we do in HTML. r=bz. 2012-02-19 20:49:34 +00:00
Cameron McCormack
420df5aca2 Bug 620468 - Bail out earlier when computing CTM of an <svg> element with negative width/height attributes. r=longsonr 2012-02-19 22:17:12 +11:00
Robert Longson
dcb4be0401 Bug 696210 - Make DidAnimate methods non-virtual now that all overrides have been eliminated. r=jwatt 2012-02-19 09:04:06 +00:00
Jonathan Watt
6598b18ef8 Bug 660216, part 3 - getBBox and getCTM on foreignObject should/should not include 'x'/'y' offsets respectively. r=heycam. 2012-02-17 08:12:47 +00:00
Jonathan Watt
53393f795c Bug 660216, part 2 - Allow PrependLocalTransformsTo callers to specify which transforms they want. r=heycam. 2012-02-17 08:12:47 +00:00
Jonathan Watt
643ca48cdf Bug 660216, part 1 - Rename PrependLocalTransformTo to PrependLocalTransformsTo. r=heycam. 2012-02-17 08:12:47 +00:00
Brian Birtles
4e768630d0 Bug 629200 part 25 - Remove unnecessary serialisation from setting SVGStringList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
e53266bf13 Bug 629200 part 24 - Add wrapper for SVG types used in nsAttrValue so we don't need to export them; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
5c6349f59c Bug 629200 part 22 - Remove unnecessary serialisation from setting SVGTransformList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
3066580868 Bug 629200 part 21 - Remove unnecessary serialisation from setting SVGPathSegList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
e378090f95 Bug 629200 part 20 - Remove unnecessary serialisation from setting SVGPointList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
968769bbbe Bug 629200 part 19 - Remove unnecessary serialisation from setting nsSVGNumberList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
52f4a9ce3c Bug 629200 part 18 - Remove unnecessary serialisation from setting nsSVGViewBox; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
e740b47772 Bug 629200 part 17 - Remove unnecessary serialisation from setting nsSVGPreserveAspectRatio; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
05b3affab8 Bug 629200 part 16 - Add mutation event tests for strings and classes and tidy up use of DidChangeString; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
1fc48bd472 Bug 629200 part 15 - Remove unnecessary serialisation from setting nsSVGBoolean; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
80e405f0f9 Bug 629200 part 14 - Remove unnecessary serialisation from setting nsSVGAngle; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
9cd844974f Bug 629200 part 13 - Remove unnecessary serialisation from setting nsSVGIntegerPair; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
1f3dd3edf9 Bug 629200 part 12 - Remove unnecessary serialisation from setting nsSVGInteger; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
d81431bbb1 Bug 629200 part 11 - Remove unnecessary serialisation from setting nsSVGNumberPair; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
ab3beaefd2 Bug 629200 part 10 - Remove unnecessary serialisation from setting nsSVGNumber2; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
814275663b Bug 629200 part 9 - Update attribute setting for SVGAnimatedLengthList; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
e80d82ace3 Bug 629200 part 8 - Remove unnecessary serialisation from setting nsSVGLength2; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
a5bab9e970 Bug 629200 part 7 - Remove unnecessary serialisation from setting SVGEnum; r=jwatt 2012-02-16 08:40:44 +09:00
Brian Birtles
3f73aeb971 Bug 629200 part 6 - Add test framework for modification events; r=jwatt 2012-02-16 08:40:44 +09:00
Brian Birtles
aa6bce14d2 Bug 629200 part 3 - Make AfterSetAttr take an nsAttrValue; r=bz 2012-02-14 11:00:56 +09:00
Robert Longson
75bfd8d921 Bug 711653: In SVG lighting calculations, when input surface is 1px wide, use a normal vector that points straight out of the page. r=dholbert 2012-02-13 14:04:19 -08:00
Jonathan Watt
989bcc0208 Bug 725897 - Remove the inaccurate nsSVGUtils::ToAppPixelRect, and use nsLayoutUtils::RoundGfxRectToAppRect instead. r=longsonr. 2012-02-10 12:33:18 +00:00
Mounir Lamouri
be36ebc4ba Merge mozilla-central into mozilla-inbound. 2012-02-09 11:31:59 +01:00
Serge Gautherie
eb17a765d8 Bug 725349. (Av1) Add a missing space to log messages. r=gavin.sharp.
DONTBUILD (log-string only).
2012-02-08 19:45:48 +01:00
Cameron McCormack
3597d04455 Bug 693790 - Don't abort on discrete by-animation of SVG length lists when there is no underlying value. r=dholbert 2012-02-09 09:12:50 +11:00
Jonathan Watt
3cf3246000 Bug 724993 - "ASSERTION: Item should only return null for out-of-bounds access" after explicitly adding null. r=dholbert. 2012-02-08 20:09:01 +00:00
Cameron McCormack
a41a53c13c Bug 724703 - Mark a couple more functions on SVGLengthList as const. r=dholbert 2012-02-07 10:49:08 +11:00
Cameron McCormack
6158bb68dd Bug 542424 - Don't treat <svg:image> as a viewport establishing element. r=jwatt 2012-02-07 07:30:48 +11:00
Robert Longson
14d6cab89d Bug 619469 - animation should be disabled for failing conditional-processing conditions. r=dholbert 2012-02-05 23:17:23 +00:00
Panagiotis Koutsourakis
9c7dfb9706 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Robert Longson
cb47632788 Bug 616892 - Make more updates honour suspendRedraw. r=roc 2012-02-04 13:58:46 +00:00
Boris Zbarsky
af195dcd09 Bug 723441. Add a way to store base URI object on nodes out-of-band, and use the for <use>-cloned content. r=dholbert 2012-02-02 15:50:50 -05:00
Daniel Holbert
4ed39163d3 (no bug, comment-only) Fix broken link to feDiffuseLighting chunk of SVG spec. DONTBUILD 2012-02-01 17:55:05 -08:00
Jonathan Watt
df19099733 Bug 722071 - Implement array style indexing for SVGStringList. r=mrbkap. 2012-01-31 13:18:08 +00:00
Jonathan Watt
3be59db146 No bug. Fix orange for real.
--HG--
extra : rebase_source : 7dfa3d81e6c2103828627ab1c3def7a86eac7e18
2012-01-28 13:20:44 +00:00
Jonathan Watt
35795de943 No bug. Fix orange. 2012-01-28 12:08:27 +00:00
Jonathan Watt
fa0364daf6 Bug 711958 - Add a 'length' property to DOMSVGStringList. r=dholbert. 2012-01-28 10:43:34 +00:00
Jonathan Watt
1bf71f3dbb Bug 721131 - Speed up build in content/svg/content/src - clean up #include directives in its header files. r=dholbert. 2012-01-26 09:57:21 +00:00
Robert Longson
05d3f21653 Bug 647914 - Horizontal and vertical SVG paths are omitted from bbox calculations if they have siblings. r=jwatt 2012-01-23 17:42:32 +00:00
Jonathan Watt
a9f6927413 Bug 718968 - Remove old include paths from Makefile.in. r=dholbert. 2012-01-18 11:49:00 +00:00
Daniel Holbert
bedaa1ea65 Bug 716699: Mark some SMIL and SVG-related directories as gcc-warning-free. r=jwatt 2012-01-11 00:32:38 -08:00
Kyle Huey
d382eb7335 Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Robert Longson
6dd534bbe4 Bug 607854 - implement SVGTests interface. r=jwatt 2011-12-31 09:44:03 +00:00
Bobby Holley
8a890a3676 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Jonathan Watt
b2807a33da Bug 668163 - Map 'width' and 'height' on <svg> into style to stop <svg>'s computed width/height falling back to 150px x 300px when they're set to explicit percentage values that can be resolved (regression from bug 611099). r=dbaron. 2011-12-27 10:27:42 +00:00
Daniel Holbert
ea572ad911 Bug 710990: Replace duplicate aStartVal check with aEndVal check, in SVGOrientSMILType::Interpolate. r=jwatt
--HG--
rename : layout/reftests/svg/smil/anim-marker-orient-01.svg => layout/reftests/svg/smil/anim-marker-orient-02.svg
2011-12-19 10:03:45 -08:00
Ms2ger
dcfa1754b2 Bug 707498 - Use a template to get the array length for nsGenericElement::FindAttributeDependence; r=Waldo 2011-12-18 11:09:27 +01:00
Brian O'Keefe
2d75e4a6ac Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr 2011-12-15 14:47:03 +00:00
Boris Zbarsky
4844761460 Bug 589640 second followup: make sure the new element class actually QIs to nsIClassInfo. 2011-12-08 03:05:41 -05:00
Brian O'Keefe
869372f78c Bug 589640 (part 2) - Make nsIContent::IsSVG more like IsHTML, and remove the eSVG node type. r=bzbarsky 2011-12-08 01:32:11 -05:00
Brian O'Keefe
77aa894da7 Bug 589640 part 1. Add an SVGUnknownElement, like HTMLUnknownElement, so random elements in the SVG namespace create SVGElements (instead of XML Elements). r=bzbarsky 2011-12-08 01:32:11 -05:00
Daniel Holbert
beed8018d0 Bug 702696 followup: Remove unnecessary temporary gfxMatrix() argument. r=jwatt 2011-11-29 14:06:30 -08:00
Ms2ger
7440f2e640 Bug 703333 - Remove pointless const_casts from SVG DOM list classes; r=roc 2011-11-26 11:22:15 +01:00
Robert Longson
dd31b4edbf Bug 696078 - Move filter attribute processing to frame classes. r=jwatt
--HG--
rename : layout/svg/base/src/nsSVGLeafFrame.cpp => layout/svg/base/src/SVGFELeafFrame.cpp
extra : rebase_source : 74ac4d84da2f0a99272e83590a9adc1dc8511fce
2011-11-19 17:53:52 +00:00
Jonathan Watt
a0715110cb Bug 702696 - Path length scale factor should not be affected by the 'transform' attribute. r=dholbert. 2011-11-21 21:22:19 +00:00
Robert Longson
6b9b01a122 Bug 698195 - Use AfterSetAttr to process script href changes. r=dholbert 2011-11-19 09:00:04 +00:00
Ms2ger
4e03d81337 Bug 669012 - Part c: Remove the return value from nsIContent::DoneAddingChildren; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00