Commit Graph

1019 Commits

Author SHA1 Message Date
Daniel Holbert
d5d1ef1794 Bug 548899: Don't issue attribute-changed notification when transform attribute is animated. r=jwatt sr=roc 2010-03-02 07:36:31 -08:00
Daniel Holbert
d7e9ac7147 Backed out changeset 367cdcfa611b due to smil reftest failures on opt mac & windows tinderboxen 2010-02-26 15:43:47 -08:00
Daniel Holbert
6e8793e23b Bug 547333 followup: Remove FlushAnimations() call from another internal getter (nsSVGElement::GetAnimatedLengthValues), to prevent SMIL samples during frame construction. r=jwatt 2010-02-26 11:08:54 -08:00
Daniel Holbert
4b7fef25d2 Remove unused argument from nsSVGTransformSMILAttr constructor. (no bug) 2010-02-25 18:12:25 -08:00
Daniel Holbert
af8245235d Bug 547333: Call FlushAnimations() in SVG DOM getters for animated values, and not in internal getters. r=jwatt 2010-02-25 10:20:43 -08:00
Shawn Wilsher
4dce570127 Bug 461199 (Part 30) - Fixes invalidation issues when changing the href attribute.
r=bz
2010-02-24 08:37:38 -08:00
Shawn Wilsher
d5bd2fe739 Bug 542632 - Protect nsGenericHTMLElement::GetHrefURIForAnchors
Also makes DNS prefetching take mozilla::dom::Link instead of nsIContent.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
99f6189b56 Bug 542592 - Change how we use/store nsDocument::mLinkMap
This makes changes nsDocument::mLinkMap in a number of ways:
1) renamed to mStyledLinks to better reflect its new nature.
2) change it to an nsTHashtable of Link*.  It no longer has a strong reference
3) add some assertions to make sure we call ForgetLink and AddStyleRelevantLink
   in pairs.
This also makes mozilla::dom::Link::ResetLinkState take a boolean indicating if
we should notify or not.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
bf3378292a Bug 461199 (Part 19) - nsSVGAElement fails to call ResetLinkState in [Uns|S]etAttr
Have nsSVGAelement implement UnsetAttr and SetAttr, and make sure it calls
mozilla::dom::Link::ResetLinkState when appropriate.
r=jwatt
sr=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
1ec8cbea62 Bug 461199 (Part 14) - Implement nsIContent::IntrinsicState on mozilla::dom::Link subclasses
All mozilla::dom::Link subclasses need to implement IntrinsicState and make sure
to call LinkState.
r=sicking
sr=bz
2009-12-15 16:04:09 -08:00
Shawn Wilsher
dee0568065 Bug 461199 (Part 10) - Ensure that Link::ResetLinkState is always called when an element is bound or unbound from the DOM tree.
We would not be notified about base URI changes during this time, so we need to
make sure we are not registered and have no cached state.
r=bz
r=jwatt
2009-11-23 10:48:52 -08:00
Shawn Wilsher
b8bab8b9c1 Bug 461199 (Part 6) - nsSVGAElement::GetHrefURI is not implemented
Fixes nsSVGAElement::GetHrefURI so that it actually returns a URI when it is a
link instead of nsnull.
r=jwatt
2009-11-09 10:00:54 -08:00
Boris Zbarsky
02ce03ca1b Bug 534526 part 3. Change the ordering in nsSVGElement::UnsetAttr. r=longsonr 2010-02-23 23:37:47 -05:00
Boris Zbarsky
b12684acf8 Bug 534526 part 2. Move AttributeWillChange out of SetAttrAndNotify, and in particular to before ParseAttribute, since some ParseAttribute implementations actually change the attribute value. Also move it to before we've changed the CSSDeclaration for inline style changes. r=sicking,longsonr,dbaron 2010-02-23 23:37:47 -05:00
Boris Zbarsky
a0bacc22e3 Bug 534526 part 1. Remove a SetAttrAndNotify caller by making XUL inherit from nsStyledElement. r=sicking 2010-02-23 23:37:46 -05:00
Robert Longson
bcbe6ef9d1 Bug 547596 - zoom events do not fire. r=jwatt 2010-02-23 20:39:15 +00:00
Daniel Holbert
e5e15fadb9 Bug 533291 Patch Z: Enable "don't recompose if we know our animated value can't have changed" optimization, and add tests. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
1d26fc55f0 Bug 533291 Patch E: Add another outparam to nsISMILAttr::ValueFromString, to let us know whether we can re-use the parsed result in the future. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
d022ff95c3 Bug 542670 Patch B: Add specialized implementations for nsISMILType::IsEqual. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert
d570ebd0c1 Followup to Bug 541884: Fix --disable-smil build bustage by moving SVGViewBoxSMILType.cpp within Makefile 2010-02-19 12:39:30 -08:00
Jonathan Watt
c02ac69916 Bug 541884 follow-up to use IsNull() instead of checking mPtr manually. r=dholbert 2010-02-19 13:28:23 +00:00
Jonathan Watt
a1a6327f16 Bug 540588. Add support for SMIL animation of <integer> attributes in SVG. r=dholbert 2010-02-18 21:51:00 +00:00
Jonathan Watt
cc0f94273c Bug 541884. Add support for SMIL animation of the viewBox attribute in SVG. r=dholbert 2010-02-18 21:51:00 +00:00
Jonathan Watt
ecd0d20033 Bug 545042. Add support for SMIL animation of <angle> attributes in SVG. r=dholbert 2010-02-18 21:50:59 +00:00
Daniel Holbert
734a37da5a Bug 546785: Fix function signature of nsSVGFE::DidAnimatePreserveAspectRatio() to match inherited method. r=jwatt 2010-02-18 12:16:37 -08:00
Shawn Wilsher
4082b580d6 Backed out changeset 3d8baa8213cf 2010-02-18 10:11:23 -08:00
Shawn Wilsher
80eb3cc7f5 Bug 461199 (Part 6) - nsSVGAElement::GetHrefURI is not implemented
Fixes nsSVGAElement::GetHrefURI so that it actually returns a URI when it is a
link instead of nsnull.
r=jwatt
2009-11-09 10:00:54 -08:00
Daniel Holbert
53ae20be25 Bug 545550: In setters for base values of SVG attributes, only set mAnimVal if we're not currently being animated. r=jwatt 2010-02-11 11:41:48 -08:00
Daniel Holbert
fd7772777e Bug 542731: Add 'explicit' label to all single-arg constructors in SMIL code. r=roc 2010-02-11 11:40:50 -08:00
Alexander Surkov
03b1de4b95 Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc 2010-02-12 01:34:01 +08:00
Robert Longson
8254e9e11f Bug 536912 - getNumberOfChars() throws an exception if text is display:none. r=roc 2010-02-11 10:54:45 +00:00
Robert Longson
d6c4e54b22 Bug 544742 - fePointLight does not work with primitiveUnits=objectBoundingBox. r=roc 2010-02-08 09:51:19 +00:00
Jonathan Watt
71f59f6e4f Bug 541882. Add support for SMIL animation of the preserveAspectRatio attribute in SVG. r=dholbert 2010-02-08 02:28:01 +00:00
Daniel Holbert
2a34c11d01 Bug 542731, Patch D: Make nsISMILType methods protected, & only give nsSMILValue access. r=roc 2010-02-01 18:46:13 -08:00
Daniel Holbert
43bf813787 Bug 542731, Patch C: Clean up nsSVGTransformSMIL* classes. r=roc 2010-02-01 18:46:13 -08:00
Daniel Holbert
0b1058cb81 Bug 535850: fix random orange in SMIL mochitest, test_animLengthReadonly.xhtml, by adding initial pause & seek-to-0. (test-only fix) 2010-01-29 12:18:50 -08:00
Daniel Holbert
11b174b084 Bug 542731: SMIL misc code cleanup - remove end-of-line whitespace. 2010-01-28 01:51:03 -08:00
Daniel Holbert
8de7d5755d Bug 542731: SMIL misc code cleanup: remove trailing '.' from warning messages, to prevent the '.:' in output like 'ASSERTION: blah blah.: /path/to/file:NN'. (no changes outside of assertion/warning message text) 2010-01-28 01:50:30 -08:00
Robert Longson
1669296386 Bug 540726 - User units for angles should be degrees. r=jwatt 2010-01-27 10:13:57 +00:00
Robert Longson
b5b8d9c97a Bug 539576 - SVGTransform matrix changes still not live in all circumstances (with bustage fix). r=jwatt 2010-01-25 14:36:09 +00:00
Robert Longson
e368e0f6f7 Backout Bug 539576 due to test failures 2010-01-25 13:44:55 +00:00
Robert Longson
2a8cebe4fb Bug 539576 - SVGTransform matrix changes still not live in all circumstances. r=jwatt 2010-01-25 12:26:15 +00:00
Jonathan Watt
1a9b2068d8 Bug 540479. Add support for SMIL animation of boolean attributes in SVG. r=dholbert 2010-01-24 16:42:08 +00:00
Jonathan Watt
570dbfcdcf Bug 540478, part 2 of 2. Add support for SMIL animation of enumeration attributes in SVG. r=dholbert 2010-01-23 18:59:03 +00:00
Jonathan Watt
2a6a1c2514 Bug 540478, part 1 of 2. Make nsSVGEnum::GetAnimVal take its element as an argument in preparation for it needing to call FlushAnimations() on it. r=dholbert 2010-01-23 18:58:47 +00:00
Robert Longson
27b9952252 Bug 539697 - missing files bustage fix 2010-01-20 20:22:40 +00:00
Robert Longson
a01b70cd43 Bug 539697 - valueAsString returns an incorrect failure code. r=jwatt 2010-01-20 19:58:58 +00:00
Daniel Holbert
aaf973be9a Bug 539585: Fix "warning: format '%p' expects type 'void*'" in content directory. r=jst 2010-01-17 15:11:02 -08:00
Jonathan Watt
7f0675661a Bug 537067. SMIL animation of <length> attributes does not work. r=roc 2010-01-15 14:21:06 +00:00
Jonathan Watt
8cbfe7a1b5 Bug 522267, part 2 of 2. Add support for animating <number> attributes. r=dholbert 2009-12-29 07:34:27 +01:00
Jonathan Watt
fc5062938e Bug 522267, part 1 of 2. Make nsSVGNumber2::GetAnimVal take its element as an argument in preparation for it needing to call FlushAnimations() on it. r=dholbert 2009-12-29 07:32:03 +01:00
Robert Longson
2d6a644d32 Bug 531259 - The SVG script element should respect the aFromParser flag on NS_NewElement. r=hsivonen, r+sr=jst 2010-01-15 11:44:12 +00:00
Peter Van der Beken
306469ad68 Fix for bug 539236 (Make nsSVGAnimateTransformElement use SVGAnimateTransformElement DOMCI). r=roc.
--HG--
extra : rebase_source : 4e2e5c084aba8d6aa91502e39fa3f4c51e4fa164
2010-01-13 14:52:31 +01:00
Cameron McCormack
7fffd7ecb9 Bug 512636 - SVGTransform.setMatrix() should copy the matrix argument, not adopt it. r=jwatt 2010-01-13 19:21:17 +00:00
Daniel Holbert
4aa49ca63e Bug 537313: Disable MSVC warning C4355 ('this' used in init list) in SVG's consumers of nsReferencedElement. r=roc 2010-01-13 00:18:48 -08:00
Brian Birtles
c8f6f13d21 Bug 474743 Patch D: Implement syncbase logic. r=dholbert sr=roc 2010-01-12 12:00:49 -08:00
Brian Birtles
36ddff2445 Bug 474743 Patch B: Implement milestone sampling behavior. r=dholbert sr=roc 2010-01-12 12:00:49 -08:00
Jae-Seong Lee-Russo
dac7014353 Bug 530372 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in svg smil, r=jwatt 2009-12-30 18:25:44 -05:00
Boris Zbarsky
c58001cbc4 Bug 500882 part 4. Switch content module to using the new GetPrimaryFrame API. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
Robert Longson
f4a84e10c3 Bug 534841 - filter feFunc[RGBA] does not default omitted attributes correctly. r=roc 2009-12-17 11:00:54 +00:00
Takeshi Kurosawa
6556249d5c Bug 395614 - implement nsSVGScriptElement::SetType. r=longsonr,jonas 2009-12-12 19:58:05 +00:00
Henri Sivonen
188dff41f7 Bug 527896 - Freeze script deferredness and asyncness upon insertion to tree by HTML5 parser. r&sr=sicking.
--HG--
extra : rebase_source : a070df9af738e1716929cecf6163f82b74ab4e1d
2009-11-17 10:52:30 +02:00
Olli Pettay
423522c88b Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
L. David Baron
10f147165d Call RuleMatched method on CSS rules when they are matched. (Bug 522595) r=bzbarsky 2009-12-11 08:13:19 -08:00
Boris Zbarsky
b694bf4f11 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Robert Longson
242241f465 Bug 520506 - Incorrect text getBBox in SVG. r=jwatt 2009-11-18 20:59:24 +00:00
Robert Longson
b93042d2d4 Bug 527325 - feConvoleMatrix does not process bias correctly. r=roc 2009-11-10 18:49:37 +00:00
Jonas Sicking
8f545535ea Bug 503481: Implement async attribute 2009-11-09 17:04:24 -08:00
Shawn Wilsher
ad5db639bb Bug 461199 - Create an API for asynchronous isVisited checks that content/layout can use (Step 1 of at least 3)
This first step simply refactors all link elements to use the same base class
to make future patches simpler and more obvious.
r=sicking
sr=bz
2009-10-13 15:13:41 -07:00
Brian Birtles
9a8cd700b7 Bug 522878 - Fix random orange in test_animLengthUnits.xhtml
--HG--
extra : rebase_source : 6cb5f30a3e79626fcb07972ba1929209e23e34c2
2009-11-04 09:08:24 +11:00
Robert Longson
17d11a85e8 Bug 521207 - tiles do not work if they extend beyond the filter subregion bounds 2009-10-21 18:47:59 +01:00
Olli Pettay
e32bd468dc Bug 523111 - DOMEvent implementations should inherit first the base class, r=jwatt, sr=jst
--HG--
extra : rebase_source : 81cba369792644a99f42c1901dbf04196d007d53
2009-10-21 12:38:39 +03:00
Brian Birtles
7a531f32da Bug 521705 - SVG SMIL: Update getStartTime to match behaviour in SVG 1.1 SE r=roc
--HG--
extra : rebase_source : ccb167188b6c3be499e75ef3b7d65ec24d266388
2009-10-13 10:14:08 +11:00
Takeshi Kurosawa
9987263299 Bug 521631 - remove SVGSVGElement::createSVGString. r=longsonr 2009-10-11 16:48:36 +01:00
Robert Longson
4e895fad8b Backout Bug 388547 due to Mac test orange 2009-10-11 14:03:06 +01:00
Robert Longson
1dbfbb3e36 Bug 388547 - Initial support for x,y,dx,dy,rotate lists on SVG text and tspan elements. r=roc 2009-10-11 12:44:33 +01:00
Takeshi Kurosawa
2c790fff6e Tests for Bug 519107. r=longsonr 2009-10-11 11:47:01 +01:00
Takeshi Kurosawa
07cc80f161 Bug 519107 - SVGElement::isSupported is not supported. r=longsonr 2009-10-07 19:17:03 +01:00
Robert Longson
30e195a386 Bug 517393 - Crash in GetTransformToElement. r=jwatt 2009-10-07 14:56:22 +01:00
Robert Longson
b854e17f6e Bug 413975 - GetCtx returning null does not mean we are an outer SVG. r=jwatt 2009-10-07 14:54:00 +01:00
Robert Longson
3290608b6a Bug 512603 - switches with systemLanguage fail in some cases. r=jwatt,sr=roc 2009-10-07 14:50:49 +01:00
Jeff Muizelaar
e800617174 Bug 519794. Add a comment about using PR_strtod. r=jwatt 2009-10-02 18:08:34 -04:00
David Zbarsky
3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Shawn Wilsher
ef57b70b61 Merge for back out of changeset 50be346999f6 (bug 515494). This fix is not what we want. 2009-09-28 12:27:23 -07:00
Shawn Wilsher
66070e1f91 Backed out changeset 50be346999f6 (bug 515494). This fix is not what we want. 2009-09-28 12:25:49 -07:00
Shawn Wilsher
06a77cb9eb Bug 515494 - Remove xlink support in nsGenericElement
r=sicking
sr=jst

--HG--
extra : rebase_source : 43601965bc6579c8940e97b8df6bf2c1b6306873
2009-09-11 09:38:36 -07:00
Bobby Holley
0b8080d9b5 Bug 435296 - Sync decode handling for decode-on-draw. r=roc 2009-09-12 16:44:18 -06:00
Bobby Holley
86dd317584 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Robert Longson
4c831bf5b6 Bug 515080 - setting fill doesn't always cause re-styling. r=bzbarsky 2009-09-11 14:39:12 +01:00
Takeshi Kurosawa
b50e7cf419 Bug 494201 - feComposite has arguments inverted. r=longsonr 2009-09-07 08:33:22 +01:00
Brian Birtles
94e3ec97da Fix and re-enable failing test from bug 506856. 2009-09-01 12:40:49 -04:00
Jesse Ruderman
fbaaa060e5 Add more crashtests 2009-08-27 21:11:40 -07:00
Jesse Ruderman
e1c6eeae90 Add crashtests 2009-08-27 19:48:20 -07:00
Jonathan Watt
d86295ac04 Fix build bustage due to checkin of bug 506856. 2009-08-27 04:56:09 -07:00
Brian Birtles
189c695054 Test for bug 506856. 2009-08-26 21:40:37 -07:00
Brian Birtles
302ea5929d Bug 508496. SVGAnimatedLength's animVal and baseVal attributes always return different objects. r=roc 2009-08-26 21:30:51 -07:00
Brian Birtles
6f35df0a88 Patch for bug 508206. 2009-08-26 21:19:44 -07:00
Benjamin Smedberg
ba372f3a4c 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
8f435d226b 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
0aa6350041 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Brian Birtles
4e96b6eb1b 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
b908f99056 Bug 484200. src attribute on <style> makes styles not apply. r=bzbarsky 2009-07-28 12:07:31 -04:00
Robert O'Callahan
d83933dd9b 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
24c8671d83 Bug 435356. Stop using nsIDOMSVGMatrix internally. r=longsonr 2009-07-23 10:35:59 +02:00
Jonathan Watt
61f9fb8341 Backout bug 435356 to fix nsSVGMatrix leaks. 2009-07-22 00:55:48 +02:00
Jonathan Watt
8add7634fb Bug 435356. Stop using nsIDOMSVGMatrix internally. r=longsonr 2009-07-21 22:34:37 +02:00
Joe Drew
2aa59235f2 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
6b50542ae3 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
3a5504e673 cleanup: remove trailing whitespace in SMIL code. (whitespace changes only) 2009-07-15 11:33:31 -07:00
Daniel Holbert
b47ea83e82 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
ffbf9a7ae8 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
6fb1c2a11b Bug 500174 - pointer-events=all not registering on non-visible stroke. r=roc 2009-07-12 19:50:45 +01:00
Craig Topper
6f42f88a5d Bug 501311 - nsSVGLength still has infinite number parsing bug 393832. r=longsonr 2009-07-11 09:23:16 +02:00
Henri Sivonen
8803c27a7f Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
87138ce673 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen
c37125bbd5 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-28 20:19:05 +03:00
Henri Sivonen
fb74340ed2 Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Jesse Ruderman
a9bdf35f91 Fix allocator mismatch in nsSVGFEConvolveMatrixElement::Filter (bug 500273). r=roc 2009-06-24 16:32:46 -07:00
Henri Sivonen
f857815fde Merge trunk into HTML5 repo 2009-06-22 10:05:55 +03:00
Henri Sivonen
4108e0ae0f Merge trunk into HTML5 repo 2009-06-16 12:18:59 +03:00
Olli Pettay
3c487cc506 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
81b3b681f9 Bug 499665 - Remove nsIDOMSVGListener and nsIDOMSVGZoomListener interfaces, r+sr=roc 2009-06-23 12:19:12 +03:00
Jonathan Watt
a743705ded Bug 498275. Stop using nsIDOMSVGMatrix in nsSVGForeignObjectFrame + fixes. r=longsonr 2009-06-18 13:31:25 +02:00
Robert Longson
b5cd3e8fef Bug 327756 - ASSERTION: can't find nsISVGValue interface on mMatrix. r=roc 2009-06-17 22:39:59 +01:00
Robert Longson
69944ad434 Bug 496420 - ASSERTION: no presShell' changing currentScale in display:none iframe. r=jwatt 2009-06-17 22:35:49 +01:00
Robert Longson
ac050d8a8d Bug 393832 - svg circle with infinite radius causes hang. r=jwatt 2009-06-17 21:58:38 +01:00
Robert Longson
d2e6298370 Bug 495135 - nsSMILValue forward declared as a struct in one place. r=jwatt 2009-06-17 21:38:15 +01:00
Ryo Onodera
9dfa1e8a22 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
5f070d1f64 Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events 2009-05-28 20:42:26 +03:00
Olli Pettay
46c509ef15 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
4f55fcf37a Backed out changeset f3fcd36fcbd1 (bug 119061) for linux orange. 2009-06-11 16:57:09 -07:00
Jonathan Watt
a955b81011 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
496c0e4796 Bug 495938. Stop using nsIDOMSVGRect objects on the stack. r=longsonr 2009-06-11 17:21:03 +02:00
Arpad Borsos
e7721484f4 Bug 495296 - kill nsISVGTextContentMetrics; r+sr=roc 2009-05-29 12:15:40 +02:00
Robert Longson
e242900961 Bug 484176 - Support allowReorder for switch. r=jwatt,sr=roc 2009-05-07 20:37:33 +01:00
Jonathan Watt
0a8223656c Bug 488314. Kill SetMatrixPropagation, part 1. r=roc 2009-04-29 06:31:34 +02:00
Craig Topper
381741da91 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
c7775a00e1 bug 435209 - crash test by Martin Wargers. 2009-04-24 10:08:25 -07:00
Bob Clary
773cfca4f1 bug 336994 - crash test by Martijn Wargers. 2009-04-24 10:08:13 -07:00
Jonathan Watt
6899b93ad5 Bug 487019. Rename IsDependentAttribute to AttributeDefinesGeometry. r=longsonr 2009-04-24 01:41:17 +02:00
Ryo Onodera
e70f2603e4 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
d0fcc9ad30 Bug 486935 - feImage should support of image-rendering attribute. r+sr=roc 2009-04-11 18:57:58 +01:00
Jonathan Watt
f44b328f9f Bug 487404. The 'marker' attribute does not work. r=longsonr 2009-04-08 18:03:51 +02:00
Markus Stange
95cb6389b7 Bug 485786. Handle negative and zero erode radii correctly. r=jwatt 2009-04-06 12:34:48 +12:00
Robert Longson
26a3d2d27b Bug 486365 - Should not assert on invalid content. r=jwatt 2009-04-05 10:52:16 +01:00
Jonathan Watt
22de137049 Fix typo in disabled test. 2009-03-31 19:37:26 +02:00
Robert Longson
678e884ee5 Bug 485544 - crash getting attributeType of target element of animation. r=jwatt 2009-03-29 15:37:58 +01:00
Arpad Borsos
6e2bb93fad 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
028b6e3f8b Bug 483389 - viewportElement methods return the wrong element sometimes. r+sr=roc 2009-03-21 15:36:39 +00:00
Arpad Borsos
edf34d2d25 Bug 474369 - get rid of nsVoidArray, uninitialized warning fix; r+sr=sicking 2009-03-21 09:32:16 +01:00
Arpad Borsos
d10c4f864e Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Daniel Holbert
0a78467896 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
b8fffd1b06 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
3f4092e862 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
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
Shawn Wilsher
6e42ece5c7 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
598a7a8191 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
fa0dba9913 Fix for bug 464067 (memory leak while running SVG reftests). r/sr=jst. 2008-11-27 18:45:25 +01:00
Robert Longson
c4d00710fe Mochitests for bug 459953 2008-11-09 11:41:22 +00:00
Peter Van der Beken
d30dca0b1b 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
896d5b70b0 bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg 2008-10-30 13:02:14 -04:00
Robert Longson
60de4e3ecc Bug 459953 - Some path segments have the wrong pathSegTypeAsLetter. r+sr=roc 2008-10-30 14:05:33 +00:00
Frédéric WANG
a4e0e0c8e9 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
ccdc1295e6 Bug 458953 - undef'ing LoadImage in nsSVGFilters.cpp breaks wince build r=roc 2008-10-16 10:53:36 -04:00
Robert Longson
d42cc6f9a1 Fix mochitests for bug 437448 to only run once rather than twice 2008-10-11 16:48:35 +01:00
Robert Longson
878f31f201 Modify existing mochitest to cover bug 456282 2008-10-11 15:03:53 +01:00
Robert Longson
7517d71862 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
88512b418e 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
c9e6929f52 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
ead0309499 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
171a2b46ae 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
4f0fd7d2cb 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
9599df476b 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
d326d65b0d 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
fbd4083bf9 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
72a7d1cba0 Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-09-28 15:15:22 -04:00
Taras Glek
ba02fffe86 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
e8ff3730c6 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
74132a5585 bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Boris Zbarsky
215e95380a 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
b52d3794d5 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
ff7706a544 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
bd9408fe90 Add testcase for bug 427325 as a crashtest 2008-09-06 13:36:22 -07:00
Robert O'Callahan
fb7a994159 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
f48fd6d7c3 Bug 450495 - Bustage fix 2008-08-17 15:35:58 +01:00
Robert Longson
d388bfe998 Bug 450495 - Make foreignObject a mandatory part of SVG. r+sr=roc 2008-08-17 12:18:21 +01:00
Robert O'Callahan
842b3fea92 Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan
34de2392a2 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
c2e7c7baa2 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
f9ae3d8f8b 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
0cc419aa45 bug 302971 - Scientific notation in stroke-width doesnt work r+sr=dbaron 2008-08-12 15:02:22 +01:00
Robert Longson
06d962c3ea 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
05b3a72a9c Bug 448612. Remove incorrect assertion. r=longsonr,sr=mats 2008-08-06 12:28:49 +12:00
Robert Longson
07fd1bd933 bug 445101 - rendering does not change if systemLanguage attribute changes r=jwatt,sr=bzbarsky 2008-08-05 13:01:47 +01:00
Jonas Sicking
b16bc2848c Bug 28293: Implement defer attribute. r/sr=jst 2008-07-25 19:42:12 -07:00
Robert Longson
188cbc0412 Bug 448506 - support xlink:show attribute in links. r=jwatt,sr=roc 2008-08-01 10:52:23 +01:00
Daniel Holbert
7e618ebb7c Fixing a typo in a comment. 2008-07-24 14:57:28 -07:00
Ere Maijala
88c1909593 Merge commit for bug 112294 2008-07-23 10:32:44 +03:00
roc@localhost
720ceb1f92 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
e0f69967f6 (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
69aabc9ae4 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