Robert Longson
43eecbf562
Backout patch for bug 361920
2009-02-27 14:13:53 +00:00
Robert Longson
47eb6b179e
Bug 479968 - CreateSVGNumber should create a number initialised to 0. r+sr=roc
2009-02-25 10:08:44 +00:00
Arpad Borsos
e20d1c56d5
Mochitest for Bug 342513
2009-02-23 19:39:46 +00:00
Robert Longson
a094eff461
Bug 361920 - Incorrect unit conversion for SVGLength created through createSVGLength. r+sr=roc
2009-02-23 11:24:05 +00:00
Craig Topper
f054d43eb2
Bug 435525 - Setting viewBox to empty string on a referenced SVG document from script does not cause an update. r+sr=roc
2009-02-19 13:53:46 +00:00
Martin
0439fa763d
Bug 478570. SVG feConvolveMatrix 'order' attribute should default to 3, as per spec errata. r=roc,longsonr
...
--HG--
extra : rebase_source : 68e462f74e11f108735586bfde1441ad0b3760c3
2009-02-17 09:59:06 +00:00
Peter Van der Beken
6740ce42ec
Fix for bug 391448 (Force layout/dom/content code to use classinfo macros that don't use the service manager.). r/sr=jst.
2009-02-17 15:08:08 +01:00
Robert Longson
84b81d40ad
Bug 477996 - scale transforms are not serialised correctly. r+sr=roc
2009-02-12 13:20:49 +00:00
Robert Longson
cb484a75e6
Bug 476489 - Remove unused virtual methods from nsSVGFilterElement. r+sr=roc
2009-02-08 11:21:49 +00:00
Craig Topper
074d581c29
Bug 374111 - DeCOMtaminate SVG viewBox; r+sr=roc
2009-02-03 15:42:24 +01:00
Robert Longson
7399ad83b5
Bug 471165 - add missing test
2009-01-30 13:06:26 +00:00
Craig Topper
7901923474
Bug 474954. No frames need to implement nsISVGValue anymore. r+sr=roc
...
--HG--
extra : rebase_source : edd574369880b1745f0d5c33277fbcd5e5318dd3
2009-01-30 20:17:29 +13:00
Jonathan Watt
3eb6a93afb
Bug 475181. Bounds-check feTile subregion size. r+sr=roc
2009-01-28 22:29:48 +13:00
Daniel Holbert
4301671b45
Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg
2009-01-21 22:55:08 -08:00
Brian Birtles
7e4a16aa3b
Bug 474357, Calls to setCurrentTime, beginElementAt etc. should update the DOM state immediately. r+sr=roc
...
--HG--
extra : rebase_source : 7c69aae13ee1c1b4fff077a046e042bae9a4970d
2009-01-22 14:00:27 +13:00
Craig Topper
623a502daa
Bug 471551. Stop duplicating SVG string attribute storage by having nsSVGString use the attribute value as the underlying base value (removing mBaseVal); also make mAnimVal an nsAutoPtr<nsString>. r=longsonr,r+sr=roc
...
--HG--
extra : rebase_source : 319ff11d4321f2f7f41a7d19f17435fe814b1079
2009-01-22 13:56:51 +13:00
Robert O'Callahan
96bd05744f
Merged backout of bug 471551
2009-01-20 00:26:31 +13:00
Robert O'Callahan
1f829702e4
Backed out changeset fb2d014e0352
2009-01-20 00:25:58 +13:00
Brian Birtles
802428be09
Bug 468996. Implement SMIL animateTransform element. r+sr=roc
2009-01-19 22:14:16 +13:00
Brian Birtles
9973adc34e
Bug 474257. Implement SVG 1.1 erratum to make beginElementAt/endElementAt return void. r+sr=roc
2009-01-19 22:12:29 +13:00
Brian Birtles
48fbbe3ba1
Bug 473702. Implement SVGAnimationElement methods getStartTime/getCurrentTime/getSimpleDuration. r+sr=roc
2009-01-19 22:10:53 +13:00
Robert O'Callahan
8b97c81cd0
Bug 471551. Avoid duplicate string storage for SVG string attributes; let nsSVGString get the baseval from the element. Also change mAnimVal to an nsAutoPtr to minimize storage in the non-animated common case. r=longsonr,sr=roc
2009-01-19 22:03:31 +13:00
Craig Topper
523efb98ec
Bug 473334. Devirtualize some nsSVGSVGElement methods. r=jwatt,sr=roc
...
--HG--
extra : rebase_source : 7a14a6c7697283a490696c43f3f62a23ad1beba4
2009-01-16 21:16:46 +13:00
Craig Topper
04ef5a295c
Bug 473347. nsSVGLength2 DOM tearoffs need to check for infinity/NaN. r=jwatt,sr=roc
...
--HG--
extra : rebase_source : 5af871d159a32c86e31f0c6aaa2ca25e88f4d928
2009-01-16 21:16:06 +13:00
Brian Birtles
0a47d48dae
Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc
2009-01-14 20:38:07 -08:00
Boris Zbarsky
c32e2bb103
Bug 453736. Make <svg:script> more like other scripts and fix up a few other minor issues. r=roc, r+sr=sicking
2009-01-14 07:49:18 -05:00
Benjamin Smedberg
3498a5f86e
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
73a6fab34b
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
802d1a10c7
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Jeff Schiller
f94052b1e2
Bug 435209. Fix logic errors in nsSVGPathSegList::ReplaceItem. r=longsonr,sr=roc
2009-01-09 13:26:59 +13:00
Robert O'Callahan
a51278c24f
Fix obvious mistake in bug 470911 as well
2009-01-05 15:18:33 +13:00
Robert O'Callahan
96f9df7f7f
Fix bustage for bug 470911, try harder^2
2009-01-05 15:15:49 +13:00
Robert O'Callahan
95debd473e
Fix bustage for bug 470911, try harder
2009-01-05 15:13:49 +13:00
Robert O'Callahan
96da78e817
Fix bustage for bug 470911
2009-01-05 14:54:16 +13:00
Robert O'Callahan
112000f159
Bug 470911. Make the preserveAspectRatio attribute storage much simpler and make the DOM accessors use tear-offs. With help from Craig Topper. r+sr=roc
...
--HG--
extra : rebase_source : 1a073c76d07c0a4532b2caf9978ef5847b36dec8
2009-01-05 14:19:38 +13:00
Craig Topper
70985fa04f
Bug 471165. Make SVG animated class storage an nsAutoPtr<nsString> and make the DOM 'className' object a tear-off. r=longsonr,sr=roc
...
--HG--
extra : rebase_source : 8ba937100e482ea0dab88a310ad378afd76c8953
2009-01-05 14:13:56 +13:00
Craig Topper
f5cac90604
reverting 245acb960a88
2009-01-04 17:02:07 +00:00
Craig Topper
21b2d18fb0
Bug 471165 - Removing the class attribute doesn't clear class name. r=longsonr,sr=roc
2009-01-04 15:51:11 +00:00
Jesse Ruderman
e7ff093116
Add 19 crashtests
2009-01-01 14:18:58 -08:00
Peter Van der Beken
7089f3a54c
Fix for bug 467671 (Leak 6 nsGlobalWindows due to DOMAnimatedLength not participating in cycle collection).
2008-12-30 17:32:22 +01:00
Daniel Holbert
8187f38cfe
whitespace-only: Fix bad indentation on one line of nsSVGAnimatedTransformList.cpp
2008-12-29 17:40:08 -08:00
Craig Topper
f16a5513ad
Bug 471235 - IsAttributeMapped appears in many SVG class definitions with NS_IMETHODIMP_ instead of NS_IMETHOD_; r=longsonr sr=roc
2008-12-28 07:58:37 +01:00
Craig Topper
339840012e
Bug 471239 - nsSVGElement::ParseAttribute doesn't return PR_TRUE for new style SVG strings; r=longsonr sr=roc
2008-12-27 23:52:30 +01:00
Olli Pettay
16839ee88b
Bug 470571, r=longsonr, sr=roc
2008-12-27 21:20:44 +02:00
Robert Longson
1c4108c821
backout bug 465996 as it only works in restricted circumstances.
2008-12-07 11:26:13 +00:00
Zack Weinberg
5f09cf12fb
Bug 459148 - use thebes primitives for SVG rounded rects - r=longsonr,vlad sr=roc
2008-12-04 21:01:37 -08:00
Robert Longson
6ddfbd9bd8
Bug 466576 - Null deref [@ nsSVGTransformList::GetValueString] after failed appendItem; r+sr=roc
2008-12-04 14:03:39 +01:00
Olli Pettay
cb15ff06b9
Bug 464009, patch2, r+sr=sicking
2008-12-03 12:39:21 +02:00
Robert Longson
2d58977916
Bug 465996. Use Ellipse instead of Arc to draw circles. r+sr=roc
2008-12-03 10:02:32 +13:00
Robert O'Callahan
521f2e6f35
Bug 442633. Detect removal of href attribute on SVG <use> elements. r=longsonr,sr=mats
2008-12-03 09:37:18 +13:00