Daniel Holbert
78cacddb37
cleanup: remove trailing whitespace in SMIL code. (whitespace changes only)
2009-07-15 11:33:31 -07:00
Daniel Holbert
26b1152092
Bug 487450: Remove stale SMIL animation effects from SVG elements, when animations are dynamically removed or retargeted. r+sr=roc
2009-07-14 12:33:29 -07:00
Peter Van der Beken
ed0899f1ce
Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron.
...
--HG--
extra : rebase_source : da0ec8bfb6825d2e55edd2f5b08a9e43b033a2a3
2009-07-13 13:48:06 +02:00
Robert Longson
04852f4c7a
Bug 500174 - pointer-events=all not registering on non-visible stroke. r=roc
2009-07-12 19:50:45 +01:00
Craig Topper
4c6c257967
Bug 501311 - nsSVGLength still has infinite number parsing bug 393832. r=longsonr
2009-07-11 09:23:16 +02:00
Henri Sivonen
af98547431
Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas
2009-06-29 00:44:22 +02:00
Johnny Stenback
eb2ed73403
Backed out changeset 168dd0eb7283
2009-06-28 11:47:11 -07:00
Henri Sivonen
77265dbfa7
Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas
2009-06-28 20:19:05 +03:00
Henri Sivonen
28fcb8397f
Merge trunk into HTML5 repo
2009-06-26 18:22:48 +03:00
Jesse Ruderman
a944b7552a
Fix allocator mismatch in nsSVGFEConvolveMatrixElement::Filter (bug 500273). r=roc
2009-06-24 16:32:46 -07:00
Henri Sivonen
43e0fcb133
Merge trunk into HTML5 repo
2009-06-22 10:05:55 +03:00
Henri Sivonen
420d38551f
Merge trunk into HTML5 repo
2009-06-16 12:18:59 +03:00
Olli Pettay
1a534bf2c2
Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
...
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Olli Pettay
d0915154d5
Bug 499665 - Remove nsIDOMSVGListener and nsIDOMSVGZoomListener interfaces, r+sr=roc
2009-06-23 12:19:12 +03:00
Jonathan Watt
0c1ff4dba4
Bug 498275. Stop using nsIDOMSVGMatrix in nsSVGForeignObjectFrame + fixes. r=longsonr
2009-06-18 13:31:25 +02:00
Robert Longson
59091587f8
Bug 327756 - ASSERTION: can't find nsISVGValue interface on mMatrix. r=roc
2009-06-17 22:39:59 +01:00
Robert Longson
ca3f800907
Bug 496420 - ASSERTION: no presShell' changing currentScale in display:none iframe. r=jwatt
2009-06-17 22:35:49 +01:00
Robert Longson
41938ef925
Bug 393832 - svg circle with infinite radius causes hang. r=jwatt
2009-06-17 21:58:38 +01:00
Robert Longson
387a9578c5
Bug 495135 - nsSMILValue forward declared as a struct in one place. r=jwatt
2009-06-17 21:38:15 +01:00
Ryo Onodera
95bc019eac
Bug 366697 - getCTM() shouldn't return the same matrix as .getScreenCTM() for nested SVG elements. r=longsonr
2009-06-26 21:13:07 +01:00
Henri Sivonen
54e806273c
Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events
2009-05-28 20:42:26 +03:00
Olli Pettay
1d0c8384b8
Bug 491063 - Mixed mode warning dialog (and other dialog windows) is sometimes not rendered, r+sr=bz
2009-05-20 11:00:04 +03:00
Shawn Wilsher
c75ae311ff
Backed out changeset f3fcd36fcbd1 (bug 119061) for linux orange.
2009-06-11 16:57:09 -07:00
Jonathan Watt
befc705ae5
Bug 119061. SVG elements to which the :hover pseudo class apply do not restyle when moved under the mouse pointer. r=roc
2009-06-11 21:49:34 +02:00
Jonathan Watt
f703960fe8
Bug 495938. Stop using nsIDOMSVGRect objects on the stack. r=longsonr
2009-06-11 17:21:03 +02:00
Arpad Borsos
be212f351c
Bug 495296 - kill nsISVGTextContentMetrics; r+sr=roc
2009-05-29 12:15:40 +02:00
Robert Longson
983f8abcf2
Bug 484176 - Support allowReorder for switch. r=jwatt,sr=roc
2009-05-07 20:37:33 +01:00
Jonathan Watt
f34d9fa3aa
Bug 488314. Kill SetMatrixPropagation, part 1. r=roc
2009-04-29 06:31:34 +02:00
Craig Topper
0a6f7ad6c7
Bug 474230. Cleanup scale and translate in nsSVGElement similar to the new style SVG classes. r=jwatt
2009-04-28 15:25:03 +02:00
Bob Clary
9bb6579301
bug 435209 - crash test by Martin Wargers.
2009-04-24 10:08:25 -07:00
Bob Clary
738121472f
bug 336994 - crash test by Martijn Wargers.
2009-04-24 10:08:13 -07:00
Jonathan Watt
74a6060e4b
Bug 487019. Rename IsDependentAttribute to AttributeDefinesGeometry. r=longsonr
2009-04-24 01:41:17 +02:00
Ryo Onodera
db305118fd
Bug 489151 - Masking and clipping with objectBoundingBox and non-trivial transforms is broken. r=jwatt
2009-04-24 03:10:22 +09:00
Robert Longson
86965131e0
Bug 486935 - feImage should support of image-rendering attribute. r+sr=roc
2009-04-11 18:57:58 +01:00
Jonathan Watt
2bef32708b
Bug 487404. The 'marker' attribute does not work. r=longsonr
2009-04-08 18:03:51 +02:00
Markus Stange
d9a9b2e4b3
Bug 485786. Handle negative and zero erode radii correctly. r=jwatt
2009-04-06 12:34:48 +12:00
Robert Longson
bd838c4357
Bug 486365 - Should not assert on invalid content. r=jwatt
2009-04-05 10:52:16 +01:00
Jonathan Watt
2224f45384
Fix typo in disabled test.
2009-03-31 19:37:26 +02:00
Robert Longson
f686b035cd
Bug 485544 - crash getting attributeType of target element of animation. r=jwatt
2009-03-29 15:37:58 +01:00
Arpad Borsos
726ab5be17
Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, content part; r+sr=sicking
2009-03-26 09:29:49 +01:00
Robert Longson
c725ebcfde
Bug 483389 - viewportElement methods return the wrong element sometimes. r+sr=roc
2009-03-21 15:36:39 +00:00
Arpad Borsos
a3c3485d44
Bug 474369 - get rid of nsVoidArray, uninitialized warning fix; r+sr=sicking
2009-03-21 09:32:16 +01:00
Arpad Borsos
8dc04b2fe9
Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking
2009-03-20 09:15:35 +01:00
Daniel Holbert
eae0d7096d
Bug 473904 - Add an about:config option (defaulting to 'false' right now) for toggling SVG animation (SMIL) support. r+sr=roc
2009-03-09 18:20:17 -07:00
Robert Longson
f63037edfb
Bug 470653 - nsSVGElement::AfterSetAttr should probably use insertionParent, not insertionParent of the bindingParent. r+sr=roc
2009-03-09 13:14:35 +00:00
Daniel Holbert
5d6d174bc5
Bug 481562: Don't create time container for an <svg> element until after it's been bound to a smil-enabled document. r+sr=roc
2009-03-07 13:40:08 -08:00
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
Shawn Wilsher
d217862ba4
Disabling test that was added with bug 463934. There appear to be rounding issues with part of the test.
...
This is going into a CLOSED TREE, but that's OK. The bug that landed this test
fixed a large performance regression in Txul, and it looks like it's just an
issue with the test.
2008-11-29 16:07:43 -08:00
Robert Longson
beb1a27d17
Bug 463934 - text bounds do not account for position properly
...
Landing this to see if it fixes bug 465222 - tsvg regression November 3 2008
r=roc, sr=roc, a1.9.1=beltzner
2008-11-29 11:23:57 -08:00
Peter Van der Beken
97f5b22d33
Fix for bug 464067 (memory leak while running SVG reftests). r/sr=jst.
2008-11-27 18:45:25 +01:00
Robert Longson
5f10cfb549
Mochitests for bug 459953
2008-11-09 11:41:22 +00:00