Граф коммитов

1203 Коммитов

Автор SHA1 Сообщение Дата
Robert Longson 588f9c6984 Bug 472135. Invalidate markers using style system hints instead of doing an eager invalidation (which reacquires frames, breaking our one-shot nsSVGRenderingObservers setup). r+sr=roc
--HG--
extra : rebase_source : 48ab3b34460f5908bcec5c3e15a5d12f71496579
2009-01-22 14:02:40 +13:00
Craig Topper e36799a8d9 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
Boris Zbarsky 6986d8a5ae 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
Robert O'Callahan 17f34182d5 Backed out changeset fb2d014e0352 2009-01-20 00:25:58 +13:00
Robert O'Callahan 322843fb44 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
Robert O'Callahan d0215bb493 Backed out changeset 9246fefef1cc 2009-01-17 23:58:34 +13:00
Robert Longson 45e74c86c5 Bug 472135. Avoid re-getting the target marker frame in nsSVGMarkerProperty::DoUpdate --- that leads to infinite loops. Update things lazily instead via fake style changes. r+sr=roc
--HG--
extra : rebase_source : f90519e06842d6301e3a27eddb0cddd300b62db2
2009-01-16 21:20:29 +13:00
Craig Topper ed9150bebf 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
Craig Topper 67bf969724 Bug 473517. nsSVGUtils::CoordToFloat should avoid heap-allocating an nsSVGLength. r+sr=roc
--HG--
extra : rebase_source : c2cd532376da8c37ad02f834ab4e859fec61dda1
2009-01-16 21:02:40 +13:00
Jeremy Lea 1b7e1f21f0 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Benjamin Smedberg c0b8dd79be 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 507daffc50 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 b0f322f21c 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
Boris Zbarsky b58ca02b40 Adding test 2009-01-05 13:32:00 -05:00
Robert O'Callahan 5b3b709a90 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
L. David Baron fcff6e2cee Replace space manager with a more limited float manager. (Bug 191448) r+sr=roc
--HG--
rename : layout/generic/nsSpaceManager.cpp => layout/generic/nsFloatManager.cpp
rename : layout/generic/nsSpaceManager.h => layout/generic/nsFloatManager.h
2009-01-04 19:39:54 -05:00
Jesse Ruderman 10c6ec54aa Add 19 crashtests 2009-01-01 14:18:58 -08:00
Robert Longson ca14f03131 Bug 470124 - Crash [@ nsSVGUtils::GetRelativeRect]; r+sr=roc 2008-12-21 02:16:42 +01:00
Robert Longson 628c689c37 Bug 441780. Fix radial gradient clamping to be more aggressive. r=jwatt,sr=roc
--HG--
extra : rebase_source : 477e5305530e86348a3526a8157f5f93340c644b
2008-12-17 20:28:33 +13:00
Martin Stránský 00c02a3a7d b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 16:17:50 +13:00
Karl Tomlinson 5d7ddeaf88 backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský 52ccba8876 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 13:44:32 +13:00
Jesse Ruderman d62c3e7b0e Crashtest for bug 458453. 2008-12-14 00:48:51 +01:00
Robert O'Callahan a65a49ee2d Bug 455314. nsSVGRenderingObserver::GetReferencedFrame shouldn't try to look up the frame on a cache miss, if we're currently destroying frames. r+sr=mats 2008-12-12 21:25:16 +13:00
Robert O'Callahan 7d48a21581 Bug 448243. When nsSVGFilterInstance needs to create a dummy input image, create one of the right size. r=jwatt,sr=mats 2008-12-12 21:14:26 +13:00
Robert Longson b98b0cdd36 Bug 463064 - Use covered region to minimise foreignObject painting r+sr=roc 2008-12-06 15:22:01 +00:00
Robert Longson 21776d88cd Bug 464374 - Crash [@ nsSVGUtils::MaxExpansion] with svg filter, mathml; r+sr=roc 2008-12-04 19:17:45 +01:00
Robert Longson 0e88989dc0 Bug 437704. Always union fill extents with stroke extents instead of just relying on stroke extents, in case they turn out to be empty. r+sr=roc 2008-12-03 14:35:42 +13:00
Robert Longson 0a0eddda0e 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
Daniel Holbert eba6016b89 Bug 420697: Add svgGlyphFrame check to GetStrokeDashoffset and GetStrokeDashArray, making them match GetStrokeWidth. r+sr=roc a=beltzner 2008-11-14 10:46:56 -08:00
Robert Longson 6c21b2ad49 Bug 460946 - getBoundingClientRect on rotated svgElement with stroke is incorrect. r+sr=roc 2008-11-03 10:04:25 +00:00
Robert Longson 8e64b4042d Bug 461751 - zoomAndPan=disable prevents programmatic zoom. r+sr=roc 2008-11-03 10:01:28 +00:00
Benjamin Smedberg 902f5ebb80 Bug 462381 - Build layout directories in parallel r=ted sr=roc 2008-10-31 09:07:15 -07:00
Robert Longson b7cabd5fbd Bug 459883 r+sr=roc 2008-10-27 11:48:20 +00:00
Bernd 1d697f9f37 bug 258377, make border collapsed tables to listen for dynamic border style changes r/sr=bzbarsky 2008-10-26 11:11:34 +01:00
Robert Longson 77b723a923 Bug 461324 - Simplify NS_STATE_SVG_NONDISPLAY_CHILD in foreignObject. r+sr=roc 2008-10-24 08:47:04 +01:00
Robert Longson 7825ef184f Bug 461131 - Remove unused mFilterRect variable from nsSVGFilterProperty. r+sr=roc 2008-10-23 10:04:34 +01:00
Robert Longson 43f2bbd40c Bug 458493 - Crash calling nsSVGEffects::RemoveRenderingObserver. r+sr=roc 2008-10-22 10:09:03 +01:00
Arpad Borsos ce79e8249d Bug 456388 - "Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree" (followup for mozilla-central) [r+sr=brendan] 2008-10-21 01:50:05 -05:00
Robert Longson aa547de4ed Bug 459758 - effects on outer svg frames only work accidentally. r+sr=roc 2008-10-20 09:42:03 +01:00
Robert Longson 1b1b05a117 Bug 460551 - overrideCTM is no longer necessary. r+sr=roc 2008-10-18 09:19:01 +01:00
Robert Longson b904af988c Bug 460210 - Various frames should call GetMatrixPropagation() instead of using mPropagateTransform. r+sr=roc 2008-10-17 20:41:35 +01:00
Robert O'Callahan 396bfef027 Bug 459512. When painting an SVG source image for a filter, translate the dirty rect into device coordinates relative to the outer-SVG. Also, don't use an override-CTM to transform into filter space, just apply the transform to the gfxContext. r=longsonr,sr=mats 2008-10-16 20:55:10 +13:00
Robert Longson 77559d3017 Bug 459759 - Crash if markers contain paths. r+sr=roc 2008-10-16 08:48:55 +01:00
L. David Baron 1983da5c49 Make sure DidSetStyleContext methods call the base class DidSetStyleContext, and change the signature to return void. (Bug 459649) r+sr=bzbarsky 2008-10-13 18:03:28 -04:00
Robert Longson 5f444a8562 Bug 459497 - Remove unused code following dynamic ID work. r+sr=roc 2008-10-11 13:55:11 +01:00
Robert Longson 68bdd7cfb1 Bug 458010 - textPath should use nsReferencedElement instead of nsSVGUtils::GetReferencedFrame. r+sr=roc 2008-10-11 12:29:35 +01:00
Arpad Borsos 4460c617be Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Robert Longson 90cf71cd07 Bug 309220 - SVG markers should be live to id changes in document. r+sr=roc 2008-10-10 14:14:05 +01:00
Boris Zbarsky 0b8d8dac5a Bug 433616 tests. r+sr=roc 2008-09-28 15:16:34 -04:00
Boris Zbarsky 6343c3cfe1 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
Robert Longson b21c3f2240 Bug 458068 - SVG fill="none" is broken, behaves like fill="black". r+sr=roc 2008-10-06 15:44:40 +02:00
John Daggett d3e7ca5b3c Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Robert O'Callahan 9dbcb66b3f 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 f36f058bb9 Backing out bug 455984 to see if it fixed Tp crashes 2008-10-01 00:28:20 +13:00
Robert O'Callahan bee53c87f9 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
Boris Zbarsky fea473d9f8 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 077399c898 Bug 433616 tests. r+sr=roc 2008-09-28 15:16:34 -04:00
Boris Zbarsky 874d6ed725 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
Robert O'Callahan 9617ccbc59 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Robert Longson cffe970c8d Bug 456282 - getStartPositionOfChar calculates advances in incorrect coordinate system. r+sr=roc 2008-09-28 10:05:26 +01:00
Jeremy Lea b971d67ca6 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Robert O'Callahan 933a4085b6 Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea 9848d4cb07 Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
Robert O'Callahan d7d8c943b6 Bug 455279. Fix mask alpha computation so that it works when the incoming gfxContext has a non-identity transform. r=longsonr,sr=mats 2008-09-22 14:14:54 +12:00
Keith Schwarz 9b4349f536 Bug 455389 - SVG foreignObjects don't get NS_FRAME_MAY_BE_TRANSFORMED frame bit; r+sr=roc 2008-09-20 18:31:47 +02:00
Arpad Borsos ba63ac8756 Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc 2008-09-20 15:42:03 +02:00
Robert O'Callahan 9c1776c82c Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron 2008-09-18 21:47:21 +12:00
Jeremy Lea 67c1155441 Bug 454937 - Pixel/app unit confusion in SVG filter code; r+sr=roc 2008-09-16 13:54:30 +02:00
Frédéric WANG 67f5aa7d7b b=454085 Add text-indent:0 for -moz-svg-foreign-content to prevent unexpected spaces r+sr=roc 2008-09-16 10:41:42 +12:00
Arpad Borsos 99687ce381 Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie) 2008-09-15 17:40:25 +02:00
Keith Schwarz 728bf55458 Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc 2008-09-13 21:42:11 +12:00
Robert O'Callahan 6674938af5 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
timeless@mozdev.org 0c4d3cb161 merging backout part two of two
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:01:00 +02:00
timeless@mozdev.org b28d2e0a0c Backed out changeset 54215f2cbc66
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:00:32 +02:00
Graeme McCutcheon 697a837037 Bug 451252 - "Highlight All" find selection not visible in elements that have -moz-user-select: none set; r+sr=roc 2008-09-07 16:12:50 +02:00
Arpad Borsos 8f2f355656 Bug 452797 - Clean up unused variables in layout/; r+sr=roc 2008-09-06 20:38:31 +02:00
Jeremy Lea 6241707b19 Bug 379616. The mRect for SVG frames should be in appunits. r+sr=tor 2008-08-25 21:23:54 +12:00
Benjamin Smedberg 3b11f55604 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 27ccb5df10 Bug 379616 - Switch SVG's frame mRect to app units, r+sr=tor 2008-08-19 10:14:01 -04:00
Robert Longson d0a6eda818 Bug 450495 - Make foreignObject a mandatory part of SVG. r+sr=roc 2008-08-17 12:18:21 +01:00
Robert O'Callahan 37ea436635 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 O'Callahan a83d597f5e Bug 441368 crashtest 2008-08-15 21:30:44 +12:00
Robert O'Callahan 69d60c729b 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 9bf03a42af Bug 449323. Factor some code out of nsSVGUtils to nsSVGEffects. r=longsonr,sr=mats 2008-08-08 13:34:43 +12:00
Robert O'Callahan c45e341066 Bug 447565. Comment-only followup. 2008-08-06 16:02:16 +12:00
Robert O'Callahan dbd1ff1f73 Bug 447567, trying to fix bustage again 2008-08-06 13:58:29 +12:00
Robert O'Callahan 3358bd7045 Bug 447567, trying to fix bustage 2008-08-06 13:43:34 +12:00
Robert O'Callahan 614163b592 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 05e977739d 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
Robert Longson 9b15595008 Bug 445685 - Improve performance with large numbers of text fragments. r=jwatt,sr=roc 2008-07-30 20:28:12 +01:00
roc@localhost 52778b0976 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 4a0b4dda75 Bug 445268. Initialize gfxRect to empty, it doesn't do it automatically. Should fix regression from bug 416305. r=longsonr,sr=mats 2008-07-15 20:49:42 +12:00
Robert O'Callahan 0096ee5cd3 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 c571e4d088 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 40aa3dc1ba Backing out changeset 6c8c95fcaf9b (bug 445079) due to test failure on Windows 2008-07-15 16:35:37 +12:00
Robert O'Callahan d527956664 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 f1de0513d7 Bug 445081. Factor out code to create nsSVGUtils::ComputeNormalizedHypotenuse. r=longsonr,sr=mats 2008-07-15 15:12:40 +12:00
Robert O'Callahan 23786ab74f Bug 418201. Restrict filter processing to the dirty area. r=longsonr,sr=mats 2008-07-15 15:08:47 +12:00
Robert O'Callahan 9be5ab7d92 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 a1e1819521 Bug 416305. Part 1, fixing missing file bustage 2008-07-14 13:31:34 +12:00
Robert O'Callahan a5e76eeb79 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 78ab64ebab 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
Daniel Holbert cc55fcd489 (No code changes) Change a bunch of non-executable files in layout/ to have non-executable mode.
Filetypes changed: .cpp .gif .h .html .list .png .svg .x-ccmap .xbl .xhtml .xul
2008-07-11 11:54:06 -07:00
Benjamin Smedberg b977ca4f77 Bug 442729 - Annotate stack-only classes in layout, r+sr=roc 2008-07-01 15:16:45 -04:00
Robert Longson 3c17808a8e Bug 438867 - SVG not rendered after html hr element. r+sr=roc 2008-06-22 16:59:48 +01:00
Robert Longson 0e3d45e1cc Bug 434041 - text outline does not change thickness on zoom 2008-06-22 16:45:38 +01:00
Robert Longson 5256877872 Bug 437448. New-style nsSVGString (simpler and more efficient support for animated values). r+sr=roc 2008-06-14 21:01:02 +12:00
Robert O'Callahan 57caa6efc1 Remove unused virtual functions. r+sr=tor 2008-06-11 11:50:49 +12:00
jruderman@hmc.edu e22abf43f4 Remove comment from crashtests.list now that the relevant bug is gone. 2008-04-23 19:03:05 -07:00
longsonr@gmail.com 5cc2696e1b Bug 428379 - Fix translated foreignObject zooming. r=jwatt,sr=roc,a1.9=beltzner 2008-04-15 03:48:09 -07:00
jwatt@jwatt.org e1f45b292c Bug 428228. Removing element from SVG <svg> crashes. r=longsonr, sr=roc, a=beltzner 2008-04-15 01:31:06 -07:00
jwatt@jwatt.org 0a2b36b773 Bug 428023. Allow SVG without a viewBox to scroll when embedded by reference by a replaced element. r=longsonr, sr=roc, a1.9=vlad 2008-04-09 23:25:31 -07:00
longsonr@gmail.com f027bf9559 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
longsonr@gmail.com 7fa6b19c50 Bug 426980 - foreignObject content displays at wrong size if zoomed. r=jwatt,sr=roc,a1.9=beltzner 2008-04-07 16:16:36 -07:00
longsonr@gmail.com 079ed50b9e Bug 426738 - SVG text in hyperlink appears to have incorrect length. r+sr=roc,a1.9=beltzner 2008-04-07 15:27:52 -07:00
longsonr@gmail.com 77205c9bfd Bug 426721 - Transforming the ancestors of a foreignObject does not cause a refresh. r+sr=roc,a1.9=dsicore 2008-04-07 03:32:41 -07:00
longsonr@gmail.com 34f0a9b99f Bug 424586 - Gradients and Patterns on transformed text do not display correctly. r+sr=roc,a1.9=blocking1.9+ 2008-03-31 06:40:18 -07:00
jruderman@hmc.edu d01a5ad25c Add crashtest 2008-03-26 16:54:47 -07:00
jwatt@jwatt.org 547542c935 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
reed@reedloden.com 17c2171beb 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
roc+@cs.cmu.edu 07f6438f46 Backing out bug 392233 again 2008-03-18 01:37:48 -07:00
roc+@cs.cmu.edu f311b85b1c 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 10b3dc3c05 Backing out bug 392233. 2008-03-17 19:36:17 -07:00
roc+@cs.cmu.edu 2ab315e4db 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
longsonr@gmail.com dcf6aebfaf Bug 423071 - SVG bad clippath rendering when changed via DOM. r+sr=roc,a1.9=blocking1.9+ 2008-03-17 12:55:36 -07:00
longsonr@gmail.com 5ead83390f Bug 419746 - SVG crash in gfxASurface::SetDeviceOffset() via nsSVGMaskFrame::ComputeMaskAlpha(). r+sr=vladimir,a1.9=blocking1.9+ 2008-03-17 10:15:43 -07:00
dholbert@cs.stanford.edu 2ea403e054 Bug 422484: Add parens around macro if conditions. Patch by David Mandelin <dmandelin@mozilla.com> r=benjamin a1.9=dsicore 2008-03-12 14:47:11 -07:00
reed@reedloden.com 07d373e379 Bug 421780 - "SVG <image> has stopped working" (use the native size of the current frame instead of its scaled size) [p=joe@drew.ca (Joe Drew [JOEDREW!]) r=longsonr sr=vlad a=blocking1.9+] 2008-03-12 10:19:51 -07:00
vladimir@pobox.com a1b770422c 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 62f9f39b34 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 9554372016 Bug 419000 - "Remove SVG_DEBUG_PRINTING (as it blocks nsTransform2D cleanup)" [p=alfredkayser@gmail.com (Alfred Kayser) r+sr=roc a1.9=damons] 2008-02-23 01:25:37 -08:00
jruderman@hmc.edu 0321b10299 Add crashtest 2008-02-22 16:14:17 -08:00
jwatt@jwatt.org 6f56db1ce7 Bug 409565. "ASSERTION: unexpected frame type" with -moz-column, float, svg. r=bz@bzarsky@mit.edu, sr=roc@ocallahan.org, b1.9=mtschrep@gmail.com 2008-02-22 02:50:32 -08:00
jwatt@jwatt.org 341413cd48 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
jag@tty.nl 60e16aa5b6 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
roc+@cs.cmu.edu 758d541994 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 fee553443e Backing out 414784 2008-02-17 18:20:21 -08:00
roc+@cs.cmu.edu b03141f4c1 Backing out 414784 due to crashtest failure. 2008-02-17 18:04:26 -08:00
roc+@cs.cmu.edu 5a517d507d Fixing typo 2008-02-17 17:14:20 -08:00
roc+@cs.cmu.edu ed283d3861 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
longsonr@gmail.com 050341601e Bug 407463 - Skip rendering of invalid filters, masks and clipPaths. r+sr=tor,a1.9=blocking1.9+ 2008-02-09 06:22:14 -08:00
longsonr@gmail.com 031519028b Bug 368840 - Ensure gradients without stops are transparent rather than the fallback colour. r+sr=tor,a1.9=mtschrep 2008-02-08 13:52:04 -08:00
jwatt@jwatt.org bc357f7be4 Bug 414112. CSS 2.1 300px fallback width doesn't play nice with percentages. r=bzbarsky@mit.edu, sr=tor@acm.org, b1.9=mtschrep@gmail.com 2008-02-08 13:50:24 -08:00
longsonr@gmail.com a45aabf1f8 Bug 368840 - Fallback paint should be used for degenerate objectBoundingBox gradients. r+sr=tor,a1.9=mtschrep 2008-02-07 03:45:21 -08:00
jruderman@hmc.edu 03557c198b Add crashtest 2008-02-03 20:51:02 -08:00
jwatt@jwatt.org d7a7b534cf Fixing bug 272885. Disable rendering of some elements when their width or height is zero. r=tor@acm.org, sr=vladimir@pobox.com, a1.9=mtschrep@gmail.com 2008-01-27 12:39:27 -08:00
longsonr@gmail.com e2143f7fe1 Bug 377085 - line svg element getBBox() returns bad rect. r+sr=tor,a1.9=blocking1.9+ 2008-01-27 06:55:53 -08:00
jwatt@jwatt.org 7f050a272c Fixing bug 382325. SVG should fall back to 300px x 150px as per CSS 2.1 section 10.3.2. r=longsonr@gmail.com, sr=tor@acm.org, a1.9=beltzner@mozilla.com 2008-01-25 10:53:24 -08:00
longsonr@gmail.com 3ecb2c9c08 Bug 411555 - Text inside filter causing invalidation loop. r=jwat,sr=tor,a1.9=blocking1.9+ 2008-01-25 01:27:03 -08:00
jwatt@jwatt.org 9ca0cc817f Fixing bug 404677. ASSERTION: Intrinsic ratio has a negative component. r+sr=tor@acm.org, a1.9=beltzner@mozilla.com 2008-01-25 00:54:59 -08:00
jruderman@hmc.edu 791cd98ec2 Add crashtest 2008-01-15 22:45:01 -08:00
jruderman@hmc.edu 794f676b65 Re-enable tests on Mac now that svg:mask doesn't crash 2008-01-10 21:56:37 -08:00
longsonr@gmail.com 74aa218247 Bug 410811 - Implement GetNearestViewportElement and GetFarthestViewportElement. r=tor,sr=roc,a1.9=beltzner 2008-01-10 03:26:25 -08:00
roc+@cs.cmu.edu e622975036 Bug 411334. Try optimistically to not use a temporary group for SVG drawing on Mac. If drawing fails we try again with a temporary group. r+sr=vlad 2008-01-09 14:53:59 -08:00
tor@cs.brown.edu 4c2b94485a Bug 410659 - plug feImage leaks. r=longsonr, sr=roc, a=mtschrep 2008-01-07 09:06:23 -08:00
longsonr@gmail.com 1086ad3cec Bug 410792 - Remove unused FEUnimplementedMOZElement code. r+sr=tor,a1.9=mtschrep 2008-01-07 03:59:37 -08:00
jruderman@hmc.edu 6c41c5bd29 Add crashtest 2008-01-05 23:10:33 -08:00
roc+@cs.cmu.edu 7baa9db579 Bug 407889. Reduce dynamic memory allocations during event handling by having nested invocations of HitTest share a single buffer for reordering display items; this buffer is an nsAutoTArray so it's mostly stack-allocated. r+sr=mats 2008-01-03 18:08:29 -08:00
tor@cs.brown.edu 2a3f7d0181 Bug 389746 - implement feDisplacementMap. p=tor,longsonr, r=longsonr, sr=roc, a=dsicore 2008-01-03 13:37:57 -08:00
dtownsend@oxymoronical.com 94844af51a Backout of bug 409383 to correct test failure on fxdbug-win32-tb. 2008-01-03 12:19:21 -08:00
longsonr@gmail.com 48c6d59e3e Bug 409383 - Switch sometimes ends up with multiple child frames. r+sr=roc,a1.9=beltzner 2008-01-03 06:30:02 -08:00
tor@cs.brown.edu 3bb985b60e Bug 390379 - Implement feImage. p=tor,longsonr r=longsonr, sr=roc a=dsicore 2008-01-02 12:49:13 -08:00
jruderman@hmc.edu 38fee6baea Add crashtest 2008-01-01 13:59:37 -08:00
longsonr@gmail.com f8190c46c8 Bug 409573 - Null deref [@ nsSVGUseFrame::GetCanvasTM] with filter, use, XBL. r+sr=tor,a1.9=beltzner 2007-12-31 06:13:34 -08:00
jruderman@hmc.edu 126c0a69f2 Add crashtest (currently fails on Mac, hopefully passes on other platforms) 2007-12-23 17:30:58 -08:00
longsonr@gmail.com b248de8e32 Bug 396771 - SVG text with percentage positioning not shown correctly (add missing assertion). r=jwatt,sr=tor,a=blocking1.9+ 2007-12-20 06:31:17 -08:00
longsonr@gmail.com 4274398b7c 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
jwatt@jwatt.org 95bff28af3 Re-checkin fix for bug 407959 (this time without the reftest that I suspect caused other tests to fail (a modified test will follow)). Embedded SVG object disappears when zooming or in Print Preview. r=tor@acm.org, sr=roc@ocallahan.org 2007-12-20 01:13:38 -08:00
roc+@cs.cmu.edu d13491776d Backing out jwatt's fix for bug 407959 because of test failures. 2007-12-20 00:16:01 -08:00
jwatt@jwatt.org 373b149227 Fixing bug 407959. Embedded SVG object disappears when zooming or in Print Preview. r=tor@acm.org, sr=roc@ocallahan.org 2007-12-19 22:48:15 -08:00
tor@cs.brown.edu be6867661d Bug 406985 - container objects not invalidating properly. r=jwatt, sr=roc 2007-12-19 10:24:34 -08:00
vladimir@pobox.com b7754b951d b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart 2007-12-18 15:01:15 -08:00
jruderman@hmc.edu 29fcd3c3ff Oops, let's not refer to images on servers we don't control. (Hopefully this crashtest doesn't rely on the image loading slowly or anything like that.) 2007-12-17 11:14:35 -08:00
jruderman@hmc.edu ac55bf5738 To boldly go where no crashtest has gone before. 2007-12-16 21:37:16 -08:00
jruderman@hmc.edu 62ebcccda6 Add a few crashtests. 2007-12-12 22:44:00 -08:00
longsonr@gmail.com 09cd70d981 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
tor@cs.brown.edu b8fd1daa71 Bug 376952 - pointer events not working properly when clipPath present. r=longsonr, sr=roc, a=tor 2007-12-03 21:11:49 -08:00
tor@cs.brown.edu b231190a94 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 f44ecc8c67 Bug 401112 - filter paint invalidation problems. r=jwatt, sr=roc 2007-12-03 08:57:34 -08:00
longsonr@gmail.com 9bf6a5b3df 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
longsonr@gmail.com 43e8f6ec49 Bug 402408 - SVG gradient crash. r+sr+a.19=tor 2007-11-20 04:47:30 -08:00
jwatt@jwatt.org 52bbd503eb Fixing bug 381285. 323656-5-ref.svg triggers "ASSERTION: can't mark frame dirty during reflow". r+sr=roc@ocallahan.org, a1.9=mtschrep@gmail.com 2007-11-20 01:10:18 -08:00
jwatt@jwatt.org 2026f64e35 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
jwatt@jwatt.org 0a0217e33f Fixing bug 400150. Remove |font-family: sans-serif| from svg.css. r=tor@acm.org, sr=robert@ocallahan.org, a1.9=tor@acm.org 2007-11-12 01:19:02 -08:00
longsonr@gmail.com 8ac73d1dfc Bug 399360 - Remove unused closure variable. r+sr=tor,a=roc 2007-10-21 02:05:41 -07:00
jwatt@jwatt.org ef5db91aa9 Re-checkin fix for bug 399863. We frequently call InitialUpdate() more than once on SVG frames. r=tor@acm.org, sr+a1.9=roc@ocallahan.org 2007-10-19 04:07:08 -07:00
reed@reedloden.com 00ed90c554 Backout jwatt's patch for bug 399863 to help find Tp regression. 2007-10-16 17:18:11 -07:00
jwatt@jwatt.org e8bf183b7b Fixing bug 399863. We frequently call InitialUpdate() more than once on SVG frames. r=tor@acm.org, sr+a1.9=roc@ocallahan.org 2007-10-15 15:10:59 -07:00
longsonr@gmail.com 41da99a786 Bug 397330 - Don't call SuspendRedraw during InsertFrames. r=jwatt,sr+a=roc 2007-10-11 01:29:47 -07:00
tglek@mozilla.com 4cbdc93612 Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron 2007-10-09 17:00:05 -07:00
tor@cs.brown.edu 20d6912a06 Bug 384208 - svg:pattern not correct for general transforms. r=longsonr, sr+a=roc 2007-10-02 07:57:47 -07:00
roc+@cs.cmu.edu 8899d4331e Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 18:47:40 -07:00
roc+@cs.cmu.edu 3738d582e3 Backing out 2007-10-01 15:11:23 -07:00
roc+@cs.cmu.edu 9f97353b38 Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 14:29:19 -07:00
roc+@cs.cmu.edu fbc8cc858c Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron 2007-09-23 19:19:14 -07:00
roc+@cs.cmu.edu 0fbb25da89 Backing out due to test bustage 2007-09-22 06:28:16 -07:00
roc+@cs.cmu.edu 8b73dd10a0 Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
longsonr@gmail.com cda5b384b6 Bug 395667 - New style nsSVGInteger. r=tor,sr=roc,a=roc 2007-09-18 05:09:26 -07:00
tor@cs.brown.edu 5c14246b41 Bug 389498 - <mask> not rendered correctly when scrolling. r=longsonr, sr+a=roc 2007-09-17 08:20:35 -07:00