Commit Graph

97 Commits

Author SHA1 Message Date
Olli Pettay
c10a9dfb86 Bug 425265, r=roc, sr=bz 2009-03-08 21:01:02 +02:00
Boris Zbarsky
3ae6edc425 Bug 473390 part 16. Move around SVG assertions so that they happen in frame init, not during frame creation. r=jwatt, sr=roc 2009-01-19 13:31:34 -05:00
Craig Topper
e4db95ada5 Bug 473511. nsSVGInnerSVGFrame does not need to implement nsISVGValueObserver. r=jwatt,sr=roc
--HG--
extra : rebase_source : 7b5b4dd1c5702498a496133c643891c337ea4a42
2009-01-16 21:14:40 +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
Robert Longson
63e99c302b Bug 464374 - Crash [@ nsSVGUtils::MaxExpansion] with svg filter, mathml; r+sr=roc 2008-12-04 19:17:45 +01:00
Robert Longson
df8647721a Bug 461131 - Remove unused mFilterRect variable from nsSVGFilterProperty. r+sr=roc 2008-10-23 10:04:34 +01:00
Robert Longson
3cfd9bd4ee Bug 459758 - effects on outer svg frames only work accidentally. r+sr=roc 2008-10-20 09:42:03 +01:00
Robert Longson
7794fb8713 Bug 459497 - Remove unused code following dynamic ID work. r+sr=roc 2008-10-11 13:55:11 +01:00
Robert Longson
8091c5e779 Bug 309220 - SVG markers should be live to id changes in document. r+sr=roc 2008-10-10 14:14:05 +01:00
Robert O'Callahan
fa9c29cdcd Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats 2008-10-01 13:51:05 +13:00
Robert O'Callahan
4fc9cfd0c6 Backing out bug 455984 to see if it fixed Tp crashes 2008-10-01 00:28:20 +13:00
Robert O'Callahan
4fdd181cd0 Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats 2008-09-30 21:47:20 +13:00
Jeremy Lea
195f86f3ef Bug 454937 - Pixel/app unit confusion in SVG filter code; r+sr=roc 2008-09-16 13:54:30 +02: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
Jeremy Lea
2fab211d2a Bug 379616. The mRect for SVG frames should be in appunits. r+sr=tor 2008-08-25 21:23:54 +12:00
Benjamin Smedberg
7a57f2972d Backed out changeset e92e18d52d71 due to the following test failures on Windows:
*** 31290 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgbase bounding rect width - got 45, expected 0
*** 31291 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgbase bounding rect height - got 20, expected 0
*** 31292 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgbase bounding rect right - got 45, expected 0
*** 31293 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgbase bounding rect bottom - got 20, expected 0
*** 31306 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgrect bounding rect width - got 45, expected 0
*** 31307 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgrect bounding rect height - got 20, expected 0
*** 31308 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgrect bounding rect right - got 45, expected 0
*** 31309 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_offsets.xul | svgrect bounding rect bottom - got 20, expected 0
2008-08-19 12:20:16 -04:00
Jeremy Lea
55db355540 Bug 379616 - Switch SVG's frame mRect to app units, r+sr=tor 2008-08-19 10:14:01 -04:00
Robert O'Callahan
93cddfc711 Bug 445079. Make nsSVGRenderState able to generate an nsIRenderingContext, so that filters and other users can host foreignObject content. r=longsonr,sr=mats 2008-08-12 20:36:51 +12:00
Robert O'Callahan
c535178fca Bug 447567, trying to fix bustage again 2008-08-06 13:58:29 +12:00
Robert O'Callahan
9bdcac0a6a Bug 447567, trying to fix bustage 2008-08-06 13:43:34 +12:00
Robert O'Callahan
ab2b084996 Bug 447567. Instead of brutally wiping out effects properties whenever the style context changes for an SVG frame (which wouldn't work for non-SVG frames), create a new style change hint to handle it. r=longsonr,sr=dbaron 2008-08-06 12:55:07 +12:00
Robert O'Callahan
a0eabe8ffc Bug 447565. Make clip-path/filter/mask use nsReferencedElement to update correctly when the element referenced by an ID changes. r=longsonr,sr=mats 2008-08-06 12:25:33 +12: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
Robert O'Callahan
b2bdb8ad76 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
d04ae0b69a 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
18cf5a8e13 Backing out changeset 6c8c95fcaf9b (bug 445079) due to test failure on Windows 2008-07-15 16:35:37 +12:00
Robert O'Callahan
cd5779708c Bug 445079. Make filters and patterns use an offscreen surface with the ability to create an nsIRenderingContext wrapper as needed, so foreignObject works in those contexts. r=longsonr,sr=mats 2008-07-15 15:16:43 +12:00
Robert O'Callahan
e917dc809f Bug 445081. Factor out code to create nsSVGUtils::ComputeNormalizedHypotenuse. r=longsonr,sr=mats 2008-07-15 15:12:40 +12:00
Robert O'Callahan
634a8a2e01 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
longsonr@gmail.com
8c22814a18 Bug 423998 - Fix repainting regression(s) and multiple invalidation bugs. r=jwatt,sr=roc,a1.9=blocking1.9+ and beltzner 2008-04-08 05:51:19 -07:00
jwatt@jwatt.org
a837986a26 Bug 421584. SVG that is filtered does not repaint correctly when filtered elements change/move. Patch by Robert Longson longsonr@gmail.com, r=jwatt@jwatt.org, sr=roc@ocallahan.org, a=blocking1.9 2008-03-19 14:27:33 -07:00
vladimir@pobox.com
c325e922a7 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
longsonr@gmail.com
6f1c99d174 Bug 411555 - Text inside filter causing invalidation loop. r=jwat,sr=tor,a1.9=blocking1.9+ 2008-01-25 01:27:03 -08:00
longsonr@gmail.com
0f8dd66931 Bug 410811 - Implement GetNearestViewportElement and GetFarthestViewportElement. r=tor,sr=roc,a1.9=beltzner 2008-01-10 03:26:25 -08:00
tor@cs.brown.edu
aa46adf459 Bug 390379 - Implement feImage. p=tor,longsonr r=longsonr, sr=roc a=dsicore 2008-01-02 12:49:13 -08:00
longsonr@gmail.com
a4869ed310 Bug 396771 - SVG text with percentage positioning not shown correctly. r=jwatt,sr=tor,a=blocking1.9+ 2007-12-20 06:26:34 -08:00
tor@cs.brown.edu
a79c52724d Bug 370006 - svg doesn't get scaled up on high resolution displays. r=jwatt, sr=roc 2007-12-03 20:40:52 -08:00
tor@cs.brown.edu
83a1031352 Bug 401112 - filter paint invalidation problems. r=jwatt, sr=roc 2007-12-03 08:57:34 -08:00
longsonr@gmail.com
843c36f3cd Bug 405659 - Gradient stroke fails to paint on shift+reload. r=jwatt,sr=tor,a1.9=beltzner 2007-11-29 07:07:45 -08:00
tor@cs.brown.edu
7b54df5ad9 Bug 384208 - svg:pattern not correct for general transforms. r=longsonr, sr+a=roc 2007-10-02 07:57:47 -07:00
tor@cs.brown.edu
f537b7903b Bug 389498 - <mask> not rendered correctly when scrolling. r=longsonr, sr+a=roc 2007-09-17 08:20:35 -07:00
sharparrow1@yahoo.com
deb7b70b2c Bug 390740: Pass lang-group into GetMetricsFor more consistently, SVG part. r=tor, sr=roc, a=dbaron 2007-08-17 16:49:01 -07:00
longsonr@gmail.com
43a7c5805c Bug 384409 - Create a common GetContextForContent method in nsContentUtils and use it in nsScriptElement and svg. r=tor,r+sr=jonas 2007-07-13 01:49:07 -07:00
tor@cs.brown.edu
ab2d47c4a7 Bug 305859 - em and ex units not implemented for SVGLength.
Patch by taken.spc@gmail.com, r=longsonr, sr=tor
2007-06-25 09:12:35 -07:00
longsonr@gmail.com
f02cb58e85 Bug 378583 - Large pattern surfaces crash browser. r=tor,sr=roc 2007-06-13 02:02:48 -07:00
roc+@cs.cmu.edu
e34c7dff59 Bug 174397. Support getClientRects and getBoundingClientRect on DOM elements. r=jonas,dbaron; sr=tor, plus help from Anne van Kesteren and Martijn Wargers 2007-05-30 15:32:54 -07:00
tor@cs.brown.edu
71fb4520eb Bug 382333 - CTM changes not updating filter invalidation regions.r=longsonr, sr=roc 2007-05-29 17:36:02 -07:00
tor@cs.brown.edu
c8cff36c3a Bug 381622 - complete cairo removal from svg. r+sr=roc 2007-05-23 08:42:12 -07:00
longsonr@gmail.com
0618c0b3d1 Bug 377149 - stop storing mask and clipPath frames. r=tor,sr=roc 2007-04-26 01:36:16 -07:00
longsonr@gmail.com
20116633b2 Bug 375384 - remove nsSVGUtils::IsSingular. r+sr=tor 2007-03-27 05:43:59 -07:00