Commit Graph

384 Commits

Author SHA1 Message Date
Jeff Muizelaar
c5c24cc4fa Bug 519794. Add a comment about using PR_strtod. r=jwatt 2009-10-02 18:08:34 -04:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Shawn Wilsher
628afb918d 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
58d4b4d270 Backed out changeset 50be346999f6 (bug 515494). This fix is not what we want. 2009-09-28 12:25:49 -07:00
Shawn Wilsher
c1cbb80a67 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
0b02012ed8 Bug 435296 - Sync decode handling for decode-on-draw. r=roc 2009-09-12 16:44:18 -06:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Robert Longson
300606b3d6 Bug 515080 - setting fill doesn't always cause re-styling. r=bzbarsky 2009-09-11 14:39:12 +01:00
Takeshi Kurosawa
ecd56e6571 Bug 494201 - feComposite has arguments inverted. r=longsonr 2009-09-07 08:33:22 +01:00
Brian Birtles
de489d63b7 Fix and re-enable failing test from bug 506856. 2009-09-01 12:40:49 -04:00
Jesse Ruderman
e1a92dde70 Add more crashtests 2009-08-27 21:11:40 -07:00
Jesse Ruderman
15e3a448a6 Add crashtests 2009-08-27 19:48:20 -07:00
Jonathan Watt
90f95338dd Fix build bustage due to checkin of bug 506856. 2009-08-27 04:56:09 -07:00
Brian Birtles
a064e64688 Test for bug 506856. 2009-08-26 21:40:37 -07:00
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