Commit Graph

261 Commits

Author SHA1 Message Date
Robert Longson
b027f83c1a Backout patch for bug 361920 2009-02-27 14:13:53 +00:00
Robert Longson
84def8cbfb Bug 479968 - CreateSVGNumber should create a number initialised to 0. r+sr=roc 2009-02-25 10:08:44 +00:00
Arpad Borsos
ab6caaf3b6 Mochitest for Bug 342513 2009-02-23 19:39:46 +00:00
Robert Longson
94abee3ab8 Bug 361920 - Incorrect unit conversion for SVGLength created through createSVGLength. r+sr=roc 2009-02-23 11:24:05 +00:00
Craig Topper
2aaf1efe5e 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
1ae1dfd23b 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
691b82b80e 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
de0cb37032 Bug 477996 - scale transforms are not serialised correctly. r+sr=roc 2009-02-12 13:20:49 +00:00
Robert Longson
bc1cac07b0 Bug 476489 - Remove unused virtual methods from nsSVGFilterElement. r+sr=roc 2009-02-08 11:21:49 +00:00
Craig Topper
6ac140717f Bug 374111 - DeCOMtaminate SVG viewBox; r+sr=roc 2009-02-03 15:42:24 +01:00
Robert Longson
7d001fe852 Bug 471165 - add missing test 2009-01-30 13:06:26 +00:00
Craig Topper
77f45c4dcd 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
283dc2da74 Bug 475181. Bounds-check feTile subregion size. r+sr=roc 2009-01-28 22:29:48 +13:00
Daniel Holbert
2a7d88e05a 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
ffded06cc0 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
8fc9e8ecc2 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
26ff84c427 Merged backout of bug 471551 2009-01-20 00:26:31 +13:00
Robert O'Callahan
f877eead56 Backed out changeset fb2d014e0352 2009-01-20 00:25:58 +13:00
Brian Birtles
014bd86069 Bug 468996. Implement SMIL animateTransform element. r+sr=roc 2009-01-19 22:14:16 +13:00
Brian Birtles
a845c2644e 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
a4cee8ae5a Bug 473702. Implement SVGAnimationElement methods getStartTime/getCurrentTime/getSimpleDuration. r+sr=roc 2009-01-19 22:10:53 +13:00
Robert O'Callahan
9a8a9a01d5 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
4f9ced556d 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
d38bddc845 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
adf1d4fa7c 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
00e66d09cf 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
24e7cb1f78 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
50621e4f9f 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
d0b948876f 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
efd64b7e1d Bug 435209. Fix logic errors in nsSVGPathSegList::ReplaceItem. r=longsonr,sr=roc 2009-01-09 13:26:59 +13:00
Robert O'Callahan
4ef4ddca28 Fix obvious mistake in bug 470911 as well 2009-01-05 15:18:33 +13:00
Robert O'Callahan
dc7ce41957 Fix bustage for bug 470911, try harder^2 2009-01-05 15:15:49 +13:00
Robert O'Callahan
1bba11231b Fix bustage for bug 470911, try harder 2009-01-05 15:13:49 +13:00
Robert O'Callahan
33e4a2f135 Fix bustage for bug 470911 2009-01-05 14:54:16 +13:00
Robert O'Callahan
f5ac70880b 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
5d6ba2df4a 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
26e18b4971 reverting 245acb960a88 2009-01-04 17:02:07 +00:00
Craig Topper
0e36e0cef5 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
cf4b91bb09 Add 19 crashtests 2009-01-01 14:18:58 -08:00
Peter Van der Beken
2b25dc0406 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
29eded8020 whitespace-only: Fix bad indentation on one line of nsSVGAnimatedTransformList.cpp 2008-12-29 17:40:08 -08:00
Craig Topper
48ae659bfa 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
4547ca3bd9 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
04dfa0f508 Bug 470571, r=longsonr, sr=roc 2008-12-27 21:20:44 +02:00
Robert Longson
ee47da1b58 backout bug 465996 as it only works in restricted circumstances. 2008-12-07 11:26:13 +00:00
Zack Weinberg
d6ddf74552 Bug 459148 - use thebes primitives for SVG rounded rects - r=longsonr,vlad sr=roc 2008-12-04 21:01:37 -08:00
Robert Longson
6827a829f8 Bug 466576 - Null deref [@ nsSVGTransformList::GetValueString] after failed appendItem; r+sr=roc 2008-12-04 14:03:39 +01:00
Olli Pettay
865f72a9f1 Bug 464009, patch2, r+sr=sicking 2008-12-03 12:39:21 +02:00
Robert Longson
6c4a1e164f Bug 465996. Use Ellipse instead of Arc to draw circles. r+sr=roc 2008-12-03 10:02:32 +13:00
Robert O'Callahan
943fd411b1 Bug 442633. Detect removal of href attribute on SVG <use> elements. r=longsonr,sr=mats 2008-12-03 09:37:18 +13:00