Commit Graph

520 Commits

Author SHA1 Message Date
Brian Birtles
73fb00580e Bug 508496. SVGAnimatedLength's animVal and baseVal attributes always return different objects. r=roc 2009-08-26 21:30:51 -07:00
Brian Birtles
0f97c0a18e Patch for bug 508206. 2009-08-26 21:19:44 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Brian Birtles
60e3fae385 Bug 507067: Fix GetAnimVal and GetBaseVal's handling of em/ex/etc. units inside display:none elements by using nsComputedDOMStyle's method for resolving style contexts for such elements. r=dbaron 2009-08-20 14:52:47 -07:00
David Zbarsky
a3748ef858 Bug 484200. src attribute on <style> makes styles not apply. r=bzbarsky 2009-07-28 12:07:31 -04:00
Robert O'Callahan
53d5a94b76 Bug 503928. Cap blur box size to 1024 pixels to avoid pathological behaviour. r=longsonr
--HG--
extra : rebase_source : 6ce4a3b197a567c15cc3d9f5aa8d262e84b4ebe2
2009-07-27 10:09:20 +12:00
Jonathan Watt
93d4d6c74c Bug 435356. Stop using nsIDOMSVGMatrix internally. r=longsonr 2009-07-23 10:35:59 +02:00
Jonathan Watt
7ba9615f7a Backout bug 435356 to fix nsSVGMatrix leaks. 2009-07-22 00:55:48 +02:00
Jonathan Watt
766d192858 Bug 435356. Stop using nsIDOMSVGMatrix internally. r=longsonr 2009-07-21 22:34:37 +02:00
Joe Drew
6c441f55f7 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Daniel Holbert
8cbc17565e Bug 491080: add support for xlink:href targeting of SVG (SMIL) animations. r+sr=roc 2009-07-15 21:20:16 -07:00
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
Peter Van der Beken
e743beb9c4 Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst. 2008-11-03 11:31:47 +01:00
Ted Mielczarek
26dab6f284 bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg 2008-10-30 13:02:14 -04:00
Robert Longson
4e5857e669 Bug 459953 - Some path segments have the wrong pathSegTypeAsLetter. r+sr=roc 2008-10-30 14:05:33 +00:00
Frédéric WANG
7cc6add571 Bug 449746 - Switch content is not displayed with requiredExtensions="http://www.w3.org/1999/xhtml" or requiredExtensions="http://www.w3.org/1998/Math/MathML"; r=(longsonr + mozbugz + roc) 2008-10-29 05:21:06 +01:00
Brad Lassey
533ed3c416 Bug 458953 - undef'ing LoadImage in nsSVGFilters.cpp breaks wince build r=roc 2008-10-16 10:53:36 -04:00
Robert Longson
26e61e2385 Fix mochitests for bug 437448 to only run once rather than twice 2008-10-11 16:48:35 +01:00
Robert Longson
75086a347c Modify existing mochitest to cover bug 456282 2008-10-11 15:03:53 +01:00
Robert Longson
7387509a64 Bug 458087 - Use global comma separated tokeniser now that we have one. r+sr=roc 2008-10-11 13:40:43 +01:00
Boris Zbarsky
0ffb67d7b2 Bug 433616. Fix the XML parser's bailing out on CSS loads blocked by the security manager, fix a base URI bug in <svg:use>, add some more tests. r=jst, sr=roc 2008-09-28 15:18:04 -04:00
Boris Zbarsky
806f011a3c Bug 433616 part 3. Integration of externa resource documents into nsReferencedElement, plus some SVG fixups needed to handle nsReferencedElement returning an element from a different document, r+sr=roc 2008-09-28 15:16:15 -04:00
Boris Zbarsky
f819f89b7d Backed out changeset 4e7a2d27d636: relanding Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-10-04 13:00:09 -07:00
L. David Baron
ba09bf22bc Backed out changeset c1f6a55626be (bug 433616, part 2) because it probably caused a Windows XP performance regression. 2008-09-30 09:51:26 -07:00
Robert O'Callahan
016f579354 Relanding bug 433616 part 2 to see if it's the cause of a Tp regression 2008-09-30 14:45:02 +13:00
Boris Zbarsky
012ae72fd1 Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Boris Zbarsky
a1747d8210 Bug 433616. Fix the XML parser's bailing out on CSS loads blocked by the security manager, fix a base URI bug in <svg:use>, add some more tests. r=jst, sr=roc 2008-09-28 15:18:04 -04:00
Boris Zbarsky
b513c32fdf Bug 433616 part 3. Integration of externa resource documents into nsReferencedElement, plus some SVG fixups needed to handle nsReferencedElement returning an element from a different document, r+sr=roc 2008-09-28 15:16:15 -04:00
Boris Zbarsky
f15bf80fc3 Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-09-28 15:15:22 -04:00
Taras Glek
390adbe464 bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr 2008-09-25 15:46:52 -07:00
Robert Longson
7b1b731a6a Bug 455226 - Removing the xlink:href attribute of an feImage filter does not cause it to change; r+sr=bzbarsky 2008-09-20 17:07:54 +02:00
Taras Glek
c26ce8e1ab bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Boris Zbarsky
284e2ff6c9 Bug 454317. Improve GetClasses to not do virtual calls when not needed. r=smaug, sr=jst 2008-09-10 23:22:20 -04:00
Robert O'Callahan
539a029252 Bug 450340. Support SVG mask/clip-path/filter CSS properties applied to non-SVG content. r=longsonr,sr=mats 2008-09-11 12:24:16 +12:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Jesse Ruderman
8910816179 Add testcase for bug 427325 as a crashtest 2008-09-06 13:36:22 -07:00
Robert O'Callahan
1499813be0 Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst 2008-08-18 14:10:28 +12:00
Robert Longson
0cf414cc75 Bug 450495 - Bustage fix 2008-08-17 15:35:58 +01:00
Robert Longson
0f5abca8c0 Bug 450495 - Make foreignObject a mandatory part of SVG. r+sr=roc 2008-08-17 12:18:21 +01:00
Robert O'Callahan
65a0e17d1b Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690 Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst 2008-08-16 21:01:52 +12:00
Robert O'Callahan
b19aa85b24 Bug 449327. nsSVGObjectFrame::GetBBox should account for canvas TM. Also add some simple bbox tests even though they don't test this bug. r=longsonr,sr=mats 2008-08-15 22:24:01 +12:00
Robert Longson
f4851b1136 bug 302971 - Remove failing ex tests (still have em test for units with e in) 2008-08-12 18:58:25 +01:00
Robert Longson
fc1670f89f bug 302971 - Scientific notation in stroke-width doesnt work r+sr=dbaron 2008-08-12 15:02:22 +01:00
Robert Longson
2e3b78ad9a Bug 448938 - Fix relative URIs in image filters and make href processing more consistent. r+sr=roc 2008-08-07 15:03:58 +01:00
Robert O'Callahan
7066642cc0 Bug 448612. Remove incorrect assertion. r=longsonr,sr=mats 2008-08-06 12:28:49 +12:00
Robert Longson
9a86e54736 bug 445101 - rendering does not change if systemLanguage attribute changes r=jwatt,sr=bzbarsky 2008-08-05 13:01:47 +01:00
Jonas Sicking
cfd4e7f824 Bug 28293: Implement defer attribute. r/sr=jst 2008-07-25 19:42:12 -07:00
Robert Longson
6ef4351766 Bug 448506 - support xlink:show attribute in links. r=jwatt,sr=roc 2008-08-01 10:52:23 +01:00
Daniel Holbert
7e33f206d5 Fixing a typo in a comment. 2008-07-24 14:57:28 -07:00
Ere Maijala
b900715bbc Merge commit for bug 112294 2008-07-23 10:32:44 +03:00
roc@localhost
2b1f9eed61 Bug 445297. Optimize filters so that changes to the source image don't have to repaint the entire filter. r=longsonr,sr=mats 2008-07-23 14:15:27 +12:00
Daniel Holbert
66bd62213b (No code changes) Remove executable bit from the files in content/svg/ that shouldn't be executable. 2008-07-22 17:29:29 -07:00
Robert O'Callahan
ede547c05a Bug 445269. Change nsRect to nsIntRect in filter implementations to make it clear these are pixel rects. Also fix a few style nits. r=longsonr,sr=mats 2008-07-15 20:57:31 +12:00
Robert O'Callahan
bfe75b2156 Bug 445081. Refactor code to use ComputeNormalizedHypotenuse ... relanding with a fix so that we don't lose precision and break SVG text mochitests. r=longsonr,sr=mats 2008-07-15 20:46:54 +12:00
Robert O'Callahan
f90023250c Backing out changeset 4624fef36355 (bug 445081) due to test failures on Windows and Mac 2008-07-15 16:36:19 +12:00
Robert O'Callahan
3f6b07d740 Bug 445081. Factor out code to create nsSVGUtils::ComputeNormalizedHypotenuse. r=longsonr,sr=mats 2008-07-15 15:12:40 +12:00
Robert O'Callahan
90e343b2fd Bug 418201. Restrict filter processing to the dirty area. r=longsonr,sr=mats 2008-07-15 15:08:47 +12:00
Robert O'Callahan
50dec1e8a5 Bug 416305. Part 2: Introduce image flag to indicate that all the color channel values are equal, set it for source-alpha images, and optimize Gaussian blur when the color channel values are known to be all-zero. r=longsonr,sr=mats 2008-07-14 14:49:07 +12:00
Robert O'Callahan
ae151d6c10 Bug 416305. Part 1, fixing C++ bustage 2008-07-14 13:34:10 +12:00
Robert O'Callahan
133e8872e2 Bug 416305. Part 1: restructure SVG filters to remove the image dictionary and pass Image objects along edges of the filter primtive graph; filter primitive analysis and coordination is moved to nsSVGFilterInstance. r=longsonr,sr=mats 2008-07-14 13:21:25 +12:00
Robert Longson
67af1e3115 Bug 409383 - Make dynamic changes to switch children work and fix transient switch errors. r=jwatt,sr=roc 2008-07-13 12:30:48 +01:00
Jesse Ruderman
e435ef03c9 Add crashtest for bug 413174 2008-07-11 14:07:35 -07:00
Olli Pettay
4f3072b44e Bug 443556, svg:use crashes, r+sr=roc 2008-07-09 13:50:48 +03:00
Daniel Holbert
478289af35 Comment-only change: s/effect/affect/, and added '.' at end of sentence. 2008-07-08 02:24:36 -07:00
Benjamin Smedberg
ec69c9db81 Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -04:00
Robert O'Callahan
3c3ddb020f Bug 344258. Make <use> honour changes to the ID-to-element map. r=longsonr,sr=mats 2008-06-26 10:41:04 +12:00
Robert O'Callahan
69788c0506 Bug 439375. Improve Gaussian blur inner loop. r=longsonr,sr=mats 2008-06-26 10:12:12 +12:00
Robert Longson
21ba289711 Bug 441339 - Simplify number-optional-number parsing. r+sr=roc 2008-06-24 13:54:11 +01:00
Robert Longson
4fa9e4bba2 Bug 437448. New-style nsSVGString (simpler and more efficient support for animated values). (removing obsolete files) r+sr=roc 2008-06-14 21:11:14 +12:00
Robert Longson
fe93116235 Bug 437448. New-style nsSVGString (simpler and more efficient support for animated values). (adding missed files) r+sr=roc 2008-06-14 21:09:44 +12:00
Robert Longson
9c1c1e8d06 Bug 437448. New-style nsSVGString (simpler and more efficient support for animated values). r+sr=roc 2008-06-14 21:01:02 +12:00
longsonr@gmail.com
2b2196fb52 Bug 429774. r+sr=roc,a1.9=beltzner 2008-04-23 05:35:28 -07:00
jruderman@hmc.edu
62881c12ae Add crashtests 2008-04-22 21:12:49 -07:00
jwatt@jwatt.org
4f6cd96722 Bug 428228. Removing element from SVG <svg> crashes. r=longsonr, sr=roc, a=beltzner 2008-04-15 01:31:06 -07:00
jruderman@hmc.edu
4ad682b095 Add crashtest 2008-04-14 16:40:17 -07:00
jruderman@hmc.edu
613ec768d7 Fix bug 428841, Crash [@ nsSVGPathElement::GetPathSegAtLength] due to signedness error. r+sr=roc, a=damon 2008-04-14 16:38:50 -07:00
bent.mozilla@gmail.com
7e4ac1fa4a Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner. 2008-04-11 10:29:06 -07:00
jonas@sicking.cc
b8a008856b Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -07:00
jwatt@jwatt.org
ba084d4f8d Bug 369418. Prevent script from injecting floating point infinity or NaN values into C++ land through DOM interfaces. r+sr=roc@ocallahan.org, a=blocking1.9 2008-04-08 04:47:57 -07:00
dholbert@cs.stanford.edu
d4e585ef8e Bug 389949, first patch: Use POINTS_PER_INCH_FLOAT in place of magic number '72.0f'. Basically cosmetic -- shouldn't change our behavior at all. r+sr=vlad, a=blocking1.9+ 2008-04-07 17:27:10 -07:00
longsonr@gmail.com
dfffacafa7 Bug 322724 - Supported SVG Feature Strings are incorrect. r=jwatt,sr=roc,a1.9=blocking1.9+ 2008-04-07 06:07:54 -07:00
timeless@mozdev.org
d7e775a7be Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
jruderman@hmc.edu
615699b20b Add a crashtest 2008-03-26 22:28:56 -07:00
jruderman@hmc.edu
9d9796afda Add crashtest 2008-03-26 20:09:39 -07:00
jruderman@hmc.edu
e36aea304d Add crashtest 2008-03-26 18:25:36 -07:00
timeless@mozdev.org
3e7f1dec4f reverting 2008-03-19 14:32:17 -07:00
timeless@mozdev.org
8074fda8ae Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
reed@reedloden.com
6248dff561 Bug 392233 - "Text kerning broken by scaling/viewBox (space between letters or letters above each other)" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=longsonr sr=vlad a=blocking1.9+] 2008-03-18 12:50:29 -07:00
longsonr@gmail.com
b1236807b8 Bug 399853 - Fix signed/unsigned mismatch warnings. r+sr=tor,a1.9=beltzner 2008-03-18 06:17:08 -07:00
roc+@cs.cmu.edu
acfc191b35 Backing out bug 392233 again 2008-03-18 01:37:48 -07:00
roc+@cs.cmu.edu
90ecd7d2cc Bug 392233. Relanding ... make SVG text build textruns taking into account the current transform's scale. Also refactors code to simplify everything. r=longsonr,sr=vlad 2008-03-18 00:42:07 -07:00
roc+@cs.cmu.edu
52d11f6718 Backing out bug 392233. 2008-03-17 19:36:17 -07:00
roc+@cs.cmu.edu
146c08904d Bug 392233. Take the current contxt scale into account when constructing textruns for SVG, and simplify the SVG text code. r=longsonr,sr=vlad 2008-03-17 18:45:05 -07:00
jwatt@jwatt.org
bb72e79bdd Bug 399488. Faster gaussian blur. r=longsonr@gmail.com, sr=roc@ocallahan.org, a1.9=beltzner@mozilla.com 2008-03-17 08:06:08 -07:00
jwatt@jwatt.org
c6621839de Bug 421464. The 'type' attribute on <style> should be optional. r=longsonr@gmail.com, sr=roc@ocallahan.org, blocking1.9=me 2008-03-07 02:16:05 -08:00
jwatt@jwatt.org
1095ea5a72 Bug 420773. Don't include filters in our list of supported feature strings. r+sr=roc@ocallahan.org, a=beltzner@mozilla.com 2008-03-07 01:58:33 -08:00
vladimir@pobox.com
104f6a38a1 b=415854, make single-pixel optimized images release memory; patch from joe@drew.ca; r+sr=vlad 2008-03-05 22:51:13 -08:00
jwalden@mit.edu
716029f2f9 Bug 420243 - Fix an arithmetic mistake in SVGTextContentElement.getSubStringLength. r+sr=roc, a=beltzner 2008-03-05 18:10:43 -08:00
reed@reedloden.com
1c2ae17125 Bug 419096 - "getPathSegAtLength() causes nsSVGPathSegMovetoAbs to leak" [p=longsonr@gmail.com (Robert Longson) r+sr=roc a1.9=damons] 2008-02-26 01:51:31 -08:00
jwatt@jwatt.org
3c11ac1a0c Bug 418206. Some SVG files that appear to hang Mozilla. r=longsonr@gmail.com, sr=roc@ocallahan.org, a1.9=beltzner@mozilla.com 2008-02-21 09:43:25 -08:00
reed@reedloden.com
abca3e3ad6 Bug 417339 - "dynamic changes to xlink:href of svg:feImage don't cause update" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r=longsonr sr=roc a1.9=schrep] 2008-02-20 02:08:19 -08:00
roc+@cs.cmu.edu
816010cdc7 Bug 418158. nsIDOMSVGComponentTransferFunctionElement should not export the non-scriptable internal-use-only GenerateLookupTable function. r=rlongson,sr=pavlov,a=beltzner 2008-02-19 18:11:53 -08:00
roc+@cs.cmu.edu
259ae389f2 Bug 416204. feFlood should not support an in1 property, this was a bug in the SVG spec that is being fixed. r=rlongson,sr=pavlov,a=beltzner 2008-02-19 18:10:05 -08:00
bzbarsky@mit.edu
970880603b Don't parse "style" attributes in data documents unless someone asks for .style. Bug 418214, r+sr=peterv, a=schrep 2008-02-19 09:52:00 -08:00
roc+@cs.cmu.edu
6a82119a6e Remove unused nsISVGFilter 2008-02-18 12:51:34 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
roc+@cs.cmu.edu
8ca8d4bd92 Bug 414784. Relanding SVG filter rework with additional fix. Lets us compute SVG work surface sizes smaller than the filter effects region, and fixes many filter correctness bugs. r=rlongson,sr=pavlov 2008-02-17 23:29:00 -08:00
roc+@cs.cmu.edu
7da7fd6f1f Backing out 414784 2008-02-17 18:11:00 -08:00
roc+@cs.cmu.edu
300e29f85e Backing out 414784 due to crashtest failure. 2008-02-17 18:04:26 -08:00
roc+@cs.cmu.edu
e4a0813dbc Bug 414784. Lots of SVG filter fixes plus a framework for analyzing the filter primitive graph, which we use to compute smaller surface sizes than the filter effects region. r=rlongson,sr=pavlov 2008-02-17 17:10:14 -08:00
jruderman@hmc.edu
20c9b9def0 Add crashtest 2008-02-03 22:02:38 -08:00
jruderman@hmc.edu
e573fe4ffc Add crashtest 2008-02-03 21:00:12 -08:00
dwitte@stanford.edu
d9595c6e9e Bug 414894 - Remove content arena. r=smaug, sr=sicking, a=schrep 2008-02-02 15:41:24 -08:00
longsonr@gmail.com
c31a1c213c Bug 414188 - Divide by zero with degenerate tile reference. r+sr=tor,a1.9=mtschrep 2008-01-27 11:03:12 -08:00
jwatt@jwatt.org
b66d82beaf Fixing bug 412104. Crash with percentage stroke-width and XBL [@ nsSVGSVGElement::GetLength]. r+sr=tor@acm.org, a1.9=beltzner@mozilla.com 2008-01-25 12:51:13 -08:00
longsonr@gmail.com
0cf4994554 Bug 411555 - Text inside filter causing invalidation loop. r=jwat,sr=tor,a1.9=blocking1.9+ 2008-01-25 01:27:03 -08:00
reed@reedloden.com
3a3ee5a3b2 Bug 412239 - "Warnings in nsSVGPathElement.cpp" [p=andrey@esin.name (Esin Andrey) (via Timur Timirkhanov) r+sr=tor a1.9=schrep] 2008-01-15 18:01:05 -08:00
longsonr@gmail.com
f3d16c3842 Bug 410811 - Implement GetNearestViewportElement and GetFarthestViewportElement correct checkin. r=tor,sr=roc,a1.9=beltzner 2008-01-10 03:57:34 -08:00
longsonr@gmail.com
6401a8eca9 Bug 410811 - Implement GetNearestViewportElement and GetFarthestViewportElement correct checkin. r=tor,sr=roc,a1.9=beltzner 2008-01-10 03:38:18 -08:00
longsonr@gmail.com
c147e7198f Bug 410811 - Implement GetNearestViewportElement and GetFarthestViewportElement. r=tor,sr=roc,a1.9=beltzner 2008-01-10 03:26:25 -08:00
longsonr@gmail.com
c3d00045aa Bug 409811. r+sr=tor,a1.9=blocking1.9+ 2008-01-09 01:52:14 -08:00
jwatt@jwatt.org
edc23a391f Fixing bug 411146. Percentage dimensions on SVG in a foreignObject are broken. r=longsonr@gmail.com, sr=tor@acm.org, a1.9=mtschrep@gmail.com 2008-01-09 01:34:52 -08:00
jruderman@hmc.edu
6807d36130 Add some crashtests for feImage 2008-01-07 21:20:28 -08:00
reed@reedloden.com
24a1100034 Bug 411102 - "Undefine the LoadImage in nsSVGFilters.cpp instead of the whole user32.dll API" [p=Techrazy.Yang@gmail.com (Bo Yang) r+sr+a1.9=tor] 2008-01-07 14:23:01 -08:00
tor@cs.brown.edu
e7581cce35 Bug 410659 - plug feImage leaks. r=longsonr, sr=roc, a=mtschrep 2008-01-07 09:06:23 -08:00
longsonr@gmail.com
427857be42 Bug 410761 - Set filters as supported features. r+sr=tor,a1.9=mtschrep 2008-01-07 07:10:51 -08:00
longsonr@gmail.com
e5d50ec780 Bug 410792 - Remove unused FEUnimplementedMOZElement code. r+sr=tor,a1.9=mtschrep 2008-01-07 03:59:37 -08:00
jruderman@hmc.edu
a10e8ed9a8 How the heck did this file end up with Mac line breaks? 2008-01-05 22:33:17 -08:00
jruderman@hmc.edu
f58477f3c4 *** empty log message *** 2008-01-05 22:31:22 -08:00
tor@cs.brown.edu
6c8936b4af Bug 389746 - implement feDisplacementMap. p=tor,longsonr, r=longsonr, sr=roc, a=dsicore 2008-01-03 13:37:57 -08:00
tor@cs.brown.edu
168385db14 Bug 390379 - Implement feImage. p=tor,longsonr r=longsonr, sr=roc a=dsicore 2008-01-02 12:49:13 -08:00
longsonr@gmail.com
91ebd791ae Bug 387466 - Bug 309020 (SVG references breaks when used inside XBL) has regressed. r+sr=bzbarsky,a1.9=blocking1.9+ 2008-01-01 02:51:40 -08:00
longsonr@gmail.com
71e7f7e54e Bug 409376 - getScreenCTM testcase fails on reload. r+sr=bzbarsky,a1.9=beltzner 2007-12-31 05:43:51 -08:00
Olli.Pettay@helsinki.fi
489154b8b5 Bug 403830, arena for content, r=sicking, sr=jst 2007-12-15 01:45:33 -08:00
bzbarsky@mit.edu
2b738b2454 Make document classes use QI tables as possible. Bug 408403, r+sr+a=jst 2007-12-14 21:43:10 -08:00
jruderman@hmc.edu
c11a5c3f7e Add a few crashtests. 2007-12-12 22:44:00 -08:00
jonas@sicking.cc
948c2ea354 Bug 366200: Fix problems with mRootContent being out of sync with mChildren by removing mRootContent. r/sr=bz 2007-12-11 18:26:09 -08:00
bzbarsky@mit.edu
5c98500ba4 Make <select> handle changes to defaultSelected on node for which selected has not been set. Bug 395107, r+sr=sicking. 2007-12-04 08:50:32 -08:00
longsonr@gmail.com
54f0fc6396 Bug 406312 - textPath startOffset does not react to DOM changes. r=tor,sr=roc,a1.9=tor 2007-12-03 22:51:36 -08:00
peterv@propagandism.org
e804809170 Fix for bug 406361 (Large leak with <svg:use patternTransform>). r/sr/a=sicking. 2007-12-03 09:50:02 -08:00
peterv@propagandism.org
ef6dd036da Fix for bug 405639 (Dynamically created <svg:use> reference loop causes nsGenericElement leak). r/sr/a=sicking. 2007-11-30 10:41:10 -08:00
longsonr@gmail.com
3af8f2d9d5 Bug 404740 - Small performance improvement for feComposite filter. r+sr=tor,a1.9=mtschrep 2007-11-28 03:19:19 -08:00
longsonr@gmail.com
8d9611f21d Bug 387466 - Bug 309020 (SVG references breaks when used inside XBL) has regressed. r+sr=roc,a1.9=blocking1.9+ 2007-11-26 02:23:19 -08:00
longsonr@gmail.com
2398458178 Bug 378860 - If setAttribute sets an invalid value, the attribute default should be used. r=tor,sr=roc,a1.9=tor 2007-11-22 00:54:31 -08:00
longsonr@gmail.com
6ae8d5181c Bug 399975 - Setting orient to auto emits a console warning. r=tor,sr=roc,a1.9=tor 2007-11-20 03:36:39 -08:00
longsonr@gmail.com
2e2eda1d64 Bug 402342 - feTurbulence transposes type and stitchTiles arguments. r+sr=tor,a1.9=vladimir 2007-11-20 03:20:22 -08:00
jwatt@jwatt.org
4d976af81a Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org 2007-11-18 04:09:03 -08:00