Commit Graph

413 Commits

Author SHA1 Message Date
Jeremy Lea
a543803324 Bug 379616. The mRect for SVG frames should be in appunits. r+sr=tor 2008-08-25 21:23:54 +12:00
Benjamin Smedberg
61d23845dc 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
9957840a6a Bug 379616 - Switch SVG's frame mRect to app units, r+sr=tor 2008-08-19 10:14:01 -04:00
Robert Longson
0f5abca8c0 Bug 450495 - Make foreignObject a mandatory part of SVG. r+sr=roc 2008-08-17 12:18:21 +01:00
Robert O'Callahan
b19aa85b24 Bug 449327. nsSVGObjectFrame::GetBBox should account for canvas TM. Also add some simple bbox tests even though they don't test this bug. r=longsonr,sr=mats 2008-08-15 22:24:01 +12:00
Robert O'Callahan
0307be506c Bug 441368 crashtest 2008-08-15 21:30:44 +12:00
Robert O'Callahan
b2b9e631e0 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
5a1d007a60 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
5e1036f776 Bug 447565. Comment-only followup. 2008-08-06 16:02:16 +12:00
Robert O'Callahan
9db3555724 Bug 447567, trying to fix bustage again 2008-08-06 13:58:29 +12:00
Robert O'Callahan
1c8d82f70e Bug 447567, trying to fix bustage 2008-08-06 13:43:34 +12:00
Robert O'Callahan
aa8fb5c224 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
0299f89707 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
991c773e4d Bug 445685 - Improve performance with large numbers of text fragments. r=jwatt,sr=roc 2008-07-30 20:28:12 +01:00
roc@localhost
2b1f9eed61 Bug 445297. Optimize filters so that changes to the source image don't have to repaint the entire filter. r=longsonr,sr=mats 2008-07-23 14:15:27 +12:00
Robert O'Callahan
36e9776d0f 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
bfe75b2156 Bug 445081. Refactor code to use ComputeNormalizedHypotenuse ... relanding with a fix so that we don't lose precision and break SVG text mochitests. r=longsonr,sr=mats 2008-07-15 20:46:54 +12:00
Robert O'Callahan
f90023250c Backing out changeset 4624fef36355 (bug 445081) due to test failures on Windows and Mac 2008-07-15 16:36:19 +12:00
Robert O'Callahan
e54fbdfe86 Backing out changeset 6c8c95fcaf9b (bug 445079) due to test failure on Windows 2008-07-15 16:35:37 +12:00
Robert O'Callahan
b1f4bd2080 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
3f6b07d740 Bug 445081. Factor out code to create nsSVGUtils::ComputeNormalizedHypotenuse. r=longsonr,sr=mats 2008-07-15 15:12:40 +12:00
Robert O'Callahan
90e343b2fd Bug 418201. Restrict filter processing to the dirty area. r=longsonr,sr=mats 2008-07-15 15:08:47 +12:00
Robert O'Callahan
50dec1e8a5 Bug 416305. Part 2: Introduce image flag to indicate that all the color channel values are equal, set it for source-alpha images, and optimize Gaussian blur when the color channel values are known to be all-zero. r=longsonr,sr=mats 2008-07-14 14:49:07 +12:00
Robert O'Callahan
3594fc2a5e Bug 416305. Part 1, fixing missing file bustage 2008-07-14 13:31:34 +12:00
Robert O'Callahan
133e8872e2 Bug 416305. Part 1: restructure SVG filters to remove the image dictionary and pass Image objects along edges of the filter primtive graph; filter primitive analysis and coordination is moved to nsSVGFilterInstance. r=longsonr,sr=mats 2008-07-14 13:21:25 +12:00
Robert Longson
67af1e3115 Bug 409383 - Make dynamic changes to switch children work and fix transient switch errors. r=jwatt,sr=roc 2008-07-13 12:30:48 +01:00
Daniel Holbert
783f0d51f8 (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
34d11c2d91 Bug 442729 - Annotate stack-only classes in layout, r+sr=roc 2008-07-01 15:16:45 -04:00
Robert Longson
7fc5d658cb Bug 438867 - SVG not rendered after html hr element. r+sr=roc 2008-06-22 16:59:48 +01:00
Robert Longson
85b5603e9c Bug 434041 - text outline does not change thickness on zoom 2008-06-22 16:45:38 +01:00
Robert Longson
9c1c1e8d06 Bug 437448. New-style nsSVGString (simpler and more efficient support for animated values). r+sr=roc 2008-06-14 21:01:02 +12:00
Robert O'Callahan
0e22f1c6a3 Remove unused virtual functions. r+sr=tor 2008-06-11 11:50:49 +12:00
jruderman@hmc.edu
c9d4b14ff8 Remove comment from crashtests.list now that the relevant bug is gone. 2008-04-23 19:03:05 -07:00
longsonr@gmail.com
64a3e6e017 Bug 428379 - Fix translated foreignObject zooming. r=jwatt,sr=roc,a1.9=beltzner 2008-04-15 03:48:09 -07:00
jwatt@jwatt.org
4f6cd96722 Bug 428228. Removing element from SVG <svg> crashes. r=longsonr, sr=roc, a=beltzner 2008-04-15 01:31:06 -07:00
jwatt@jwatt.org
93c61de7e2 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
01b9637f7c 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
3372e8a5b7 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
7703fc293b 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
db40f018ab 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
f3eedfbc5f 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
a2e7301a9f Add crashtest 2008-03-26 16:54:47 -07:00
jwatt@jwatt.org
b74560ae07 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
6248dff561 Bug 392233 - "Text kerning broken by scaling/viewBox (space between letters or letters above each other)" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=longsonr sr=vlad a=blocking1.9+] 2008-03-18 12:50:29 -07:00
roc+@cs.cmu.edu
acfc191b35 Backing out bug 392233 again 2008-03-18 01:37:48 -07:00
roc+@cs.cmu.edu
90ecd7d2cc Bug 392233. Relanding ... make SVG text build textruns taking into account the current transform's scale. Also refactors code to simplify everything. r=longsonr,sr=vlad 2008-03-18 00:42:07 -07:00
roc+@cs.cmu.edu
52d11f6718 Backing out bug 392233. 2008-03-17 19:36:17 -07:00
roc+@cs.cmu.edu
146c08904d Bug 392233. Take the current contxt scale into account when constructing textruns for SVG, and simplify the SVG text code. r=longsonr,sr=vlad 2008-03-17 18:45:05 -07:00
longsonr@gmail.com
27cd40b49e 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
d50ea86b40 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
ee909b17b6 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
235b45658f 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
104f6a38a1 b=415854, make single-pixel optimized images release memory; patch from joe@drew.ca; r+sr=vlad 2008-03-05 22:51:13 -08:00
jwalden@mit.edu
716029f2f9 Bug 420243 - Fix an arithmetic mistake in SVGTextContentElement.getSubStringLength. r+sr=roc, a=beltzner 2008-03-05 18:10:43 -08:00
reed@reedloden.com
2eeb348daf 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
6591bb1911 Add crashtest 2008-02-22 16:14:17 -08:00
jwatt@jwatt.org
e40e19f4c3 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
3c11ac1a0c Bug 418206. Some SVG files that appear to hang Mozilla. r=longsonr@gmail.com, sr=roc@ocallahan.org, a1.9=beltzner@mozilla.com 2008-02-21 09:43:25 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
roc+@cs.cmu.edu
8ca8d4bd92 Bug 414784. Relanding SVG filter rework with additional fix. Lets us compute SVG work surface sizes smaller than the filter effects region, and fixes many filter correctness bugs. r=rlongson,sr=pavlov 2008-02-17 23:29:00 -08:00
roc+@cs.cmu.edu
0a801009ce Backing out 414784 2008-02-17 18:20:21 -08:00
roc+@cs.cmu.edu
300e29f85e Backing out 414784 due to crashtest failure. 2008-02-17 18:04:26 -08:00
roc+@cs.cmu.edu
a087d754b6 Fixing typo 2008-02-17 17:14:20 -08:00
roc+@cs.cmu.edu
e4a0813dbc Bug 414784. Lots of SVG filter fixes plus a framework for analyzing the filter primitive graph, which we use to compute smaller surface sizes than the filter effects region. r=rlongson,sr=pavlov 2008-02-17 17:10:14 -08:00
longsonr@gmail.com
5af340a19f 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
759fb0eff3 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
4a7c7385ab 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
5d012086a6 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
9c04896a0c Add crashtest 2008-02-03 20:51:02 -08:00
jwatt@jwatt.org
1aae5446b2 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
25d677831d 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
029831102e 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
0cf4994554 Bug 411555 - Text inside filter causing invalidation loop. r=jwat,sr=tor,a1.9=blocking1.9+ 2008-01-25 01:27:03 -08:00
jwatt@jwatt.org
8168a9e086 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
a9b550dbd9 Add crashtest 2008-01-15 22:45:01 -08:00
jruderman@hmc.edu
29ed410893 Re-enable tests on Mac now that svg:mask doesn't crash 2008-01-10 21:56:37 -08:00
longsonr@gmail.com
c147e7198f Bug 410811 - Implement GetNearestViewportElement and GetFarthestViewportElement. r=tor,sr=roc,a1.9=beltzner 2008-01-10 03:26:25 -08:00
roc+@cs.cmu.edu
fd6341739a 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
e7581cce35 Bug 410659 - plug feImage leaks. r=longsonr, sr=roc, a=mtschrep 2008-01-07 09:06:23 -08:00
longsonr@gmail.com
e5d50ec780 Bug 410792 - Remove unused FEUnimplementedMOZElement code. r+sr=tor,a1.9=mtschrep 2008-01-07 03:59:37 -08:00
jruderman@hmc.edu
b5cdcdf188 Add crashtest 2008-01-05 23:10:33 -08:00
roc+@cs.cmu.edu
fb28ffc853 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
6c8936b4af Bug 389746 - implement feDisplacementMap. p=tor,longsonr, r=longsonr, sr=roc, a=dsicore 2008-01-03 13:37:57 -08:00
dtownsend@oxymoronical.com
cf11bf9970 Backout of bug 409383 to correct test failure on fxdbug-win32-tb. 2008-01-03 12:19:21 -08:00
longsonr@gmail.com
b417180b1e 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
168385db14 Bug 390379 - Implement feImage. p=tor,longsonr r=longsonr, sr=roc a=dsicore 2008-01-02 12:49:13 -08:00
jruderman@hmc.edu
e27dc823db Add crashtest 2008-01-01 13:59:37 -08:00
longsonr@gmail.com
d2b8f086a1 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
1b933aebff Add crashtest (currently fails on Mac, hopefully passes on other platforms) 2007-12-23 17:30:58 -08:00
longsonr@gmail.com
216193eaee 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
019b099f02 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
2385753c43 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
62de8a28a5 Backing out jwatt's fix for bug 407959 because of test failures. 2007-12-20 00:16:01 -08:00
jwatt@jwatt.org
045f222063 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
a651867190 Bug 406985 - container objects not invalidating properly. r=jwatt, sr=roc 2007-12-19 10:24:34 -08:00
vladimir@pobox.com
1f7f3e59ed 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
a336340837 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
354abc66d8 To boldly go where no crashtest has gone before. 2007-12-16 21:37:16 -08:00
jruderman@hmc.edu
c11a5c3f7e Add a few crashtests. 2007-12-12 22:44:00 -08:00
longsonr@gmail.com
54f0fc6396 Bug 406312 - textPath startOffset does not react to DOM changes. r=tor,sr=roc,a1.9=tor 2007-12-03 22:51:36 -08:00
tor@cs.brown.edu
0b43c94739 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
52c686c1e5 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
36cf5445d1 Bug 401112 - filter paint invalidation problems. r=jwatt, sr=roc 2007-12-03 08:57:34 -08:00
longsonr@gmail.com
5453d1da04 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
4d8e399c73 Bug 402408 - SVG gradient crash. r+sr+a.19=tor 2007-11-20 04:47:30 -08:00
jwatt@jwatt.org
1b285832dc 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
4d976af81a Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org 2007-11-18 04:09:03 -08:00
jwatt@jwatt.org
241b62c7a0 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
33e3d4f7e7 Bug 399360 - Remove unused closure variable. r+sr=tor,a=roc 2007-10-21 02:05:41 -07:00
jwatt@jwatt.org
d8ce604db7 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
a39d0b4b0a Backout jwatt's patch for bug 399863 to help find Tp regression. 2007-10-16 17:18:11 -07:00
jwatt@jwatt.org
0b719633f9 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
56dd492349 Bug 397330 - Don't call SuspendRedraw during InsertFrames. r=jwatt,sr+a=roc 2007-10-11 01:29:47 -07:00
tglek@mozilla.com
fdf793303e Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron 2007-10-09 17:00:05 -07:00
tor@cs.brown.edu
13125aec9d 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
1fb7f38610 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
aa2f1bb4bf Backing out 2007-10-01 15:11:23 -07:00
roc+@cs.cmu.edu
07952e214b 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
bfd939088e 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
c11d00e32d Backing out due to test bustage 2007-09-22 06:28:16 -07:00
roc+@cs.cmu.edu
d72a839c93 Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
longsonr@gmail.com
c7184a1174 Bug 395667 - New style nsSVGInteger. r=tor,sr=roc,a=roc 2007-09-18 05:09:26 -07:00
tor@cs.brown.edu
471a3f6f89 Bug 389498 - <mask> not rendered correctly when scrolling. r=longsonr, sr+a=roc 2007-09-17 08:20:35 -07:00
longsonr@gmail.com
b5afde2a04 Bug 388411 - Rationalise SVG frame construction. r+sr=tor,a=dsicore for m8 2007-09-07 02:30:51 -07:00
longsonr@gmail.com
4d8bad0607 Bug 378575 - revert to image surface now that bug 383512 has landed. r+sr+a=tor 2007-09-04 02:43:09 -07:00
jwatt@jwatt.org
cb68b4d27f Fixing bug 353460. SVG image has no horizontal scrollbar. r=bzbarsky@mit.edu, sr=roc@ocallahan.org, a=auto (blocking1.9+) 2007-08-30 14:20:41 -07:00
tor@cs.brown.edu
feac646416 Bug 392359 - some values of pointer-events not working. r=longsonr, sr=roc, a=vlad 2007-08-30 11:53:05 -07:00
tor@cs.brown.edu
14c69a8ed5 Bug 390193 - incorrect gradient transform inside filter. r=longsonr, sr=roc, a=vlad 2007-08-30 11:45:06 -07:00
tor@cs.brown.edu
dcaa75a159 Bug 380448 - simply SVG frame initialization. r=longsonr, sr=roc, a=vlad 2007-08-30 10:01:37 -07:00
tor@cs.brown.edu
d942c9036e mochitest bustage fix from bug 392928. 2007-08-27 16:45:16 -07:00
tor@cs.brown.edu
085f1967a7 Bug 392928 - new style nsSVGEnum. r=longsonr, sr=roc, a=roc 2007-08-27 16:11:14 -07:00
jwatt@jwatt.org
7d9fec9ae9 Fixing bug 375175. Get rid of unused function nsSVGOuterSVGFrame::InitiateReflow. Patch by Eli Friedman <sharparrow1@yahoo.com>. r=jwatt@jwatt.org, sr=tor@acm.org, a=bzbarsky@mit.edu 2007-08-21 12:29:37 -07:00
sharparrow1@yahoo.com
871613c6b8 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
e681945699 Bug 387422 - text clip paths don't work. r=tor,sr=roc,a=dbaron 2007-08-03 01:39:12 -07:00
bzbarsky@mit.edu
21e0d65a42 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
roc+@cs.cmu.edu
917c4632c9 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 02:47:43 -07:00
longsonr@gmail.com
bc1440c080 Bug 388411 - Improve frame construction: make trivial constructors inline and check that content is what we expect. r+sr=tor 2007-07-25 02:16:02 -07:00
longsonr@gmail.com
ed3758057c Bug 388295 - Clean up nsSVGPathGeometryFrame: make constructor protected, put methods belonging to the same interface together. r+sr=tor 2007-07-24 02:05:37 -07:00
jwatt@jwatt.org
b6fa255c0b Backing out last checkin to fix reftest failures. See bug 381285. 2007-07-22 16:22:34 -07:00
jwatt@jwatt.org
0f97ab91f4 Fixing bug 381285. ASSERTION: can't mark frame dirty during reflow. r=dbaron@mozilla.com 2007-07-22 15:35:05 -07:00
longsonr@gmail.com
047eedf672 Bug 386083 - SVG code should check gfxASurface::CairoStatus() when it creates new surfaces. r=jwatt,sr=tor 2007-07-17 02:24:27 -07:00
longsonr@gmail.com
6fec7785d1 Bug 388040 - Clean up nsSVGGeometryFrame: make constructor protected, put methods belonging to the same interface together and add interface comments. r+sr=tor 2007-07-17 01:40:28 -07:00
longsonr@gmail.com
5822c0709b Bug 387908 - Clean up nsSVGImageFrame.cpp: Remove an unused member variable, make constructor protected and report bad construction as an error. r+sr=tor 2007-07-13 02:32:37 -07:00
longsonr@gmail.com
0a705dae4d 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
bzbarsky@mit.edu
a4c90a1d9d Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
tor@cs.brown.edu
36d884afa8 Bug 379123 - filters on objects with some matrices not displayed.
r=longsonr, sr=roc
2007-07-12 08:42:30 -07:00
tor@cs.brown.edu
18fe4d9a27 Bug 361745 - <svg:image> with negative width/height displaying inverted.
r=jwatt, sr=roc
2007-07-12 08:40:46 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
longsonr@gmail.com
266b92fe36 Bug 386475 - Should not flush when resolving em and ex units. r=tor,sr=bzbarsky 2007-07-06 02:02:44 -07:00
roc+@cs.cmu.edu
33428c5bf6 Bug 385423. Refactor textrun cache so that all textrun clients use a single global word-based cache. Responsibility for stripping out problematic characters (e.g. newlines) is given to the word cache. r=vlad,smontagu 2007-07-03 20:39:01 -07:00
tor@cs.brown.edu
8c5ecf9cb8 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
jwatt@jwatt.org
d4870d93a1 Fixing bug 385246. Negative width attribute on <svg:foreignObject> causes "ASSERTION: reflow state made child wrong size" and more. r=tor@acm.org, sr=roc@ocallahan.org 2007-06-25 01:31:31 -07:00
jwatt@jwatt.org
0075a95799 Commit reminder comments that I need to follow up on so they don't get in the way of my current patch juggling. 2007-06-22 19:06:07 -07:00
jwatt@jwatt.org
c644886ee5 Fixing bug 384591. Make nsSVGForeignObjectFrame.cpp easier to understand. r+sr=tor@acm.org 2007-06-21 16:01:10 -07:00
tor@cs.brown.edu
2e18506291 Bug 382333 - update filter invalidation region before use. r=longsonr, sr=roc 2007-06-21 08:03:30 -07:00
longsonr@gmail.com
28b07366fc Bug 384637 - Self-referencing svg:mask causes stack overflow crash. r+sr=tor 2007-06-21 04:01:41 -07:00
jwatt@jwatt.org
f8ae555c59 Fixing bug 385218. Remove nsISVGSVGElement. r+sr=tor@acm.org 2007-06-20 14:56:03 -07:00
bzbarsky@mit.edu
1512b600e3 Don't tear down part of the content tree while there are still frames
referencing it.  Bug 384728, r+sr=tor
2007-06-18 08:30:57 -07:00
jwatt@jwatt.org
160f90c7ac Comment out optimization to fix reftest failures. 2007-06-14 14:24:16 -07:00
jwatt@jwatt.org
633cc0b3b6 Fixing bug 384046. nsSVGOuterSVGFrame::Reflow should not call NotifyViewportChange unconditionally. r+sr=tor@acm.org 2007-06-14 13:51:42 -07:00
longsonr@gmail.com
6ea3a1da38 Bug 378583 - Large pattern surfaces crash browser. r=tor,sr=roc 2007-06-13 02:02:48 -07:00
dbaron@dbaron.org
9e2fef4c30 Implement correct intrinsic width calculation (for container) for elements with specified height properties and an intrinsic ratio. b=364066 r+sr=bzbarsky 2007-06-12 11:27:09 -07:00
roc+@cs.cmu.edu
cf38be799a 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
09f9fb3648 Bug 382333 - CTM changes not updating filter invalidation regions.r=longsonr, sr=roc 2007-05-29 17:36:02 -07:00
bzbarsky@mit.edu
7d924947e9 Fix bug 380516, bug 375342, bug 374293. Patch in bug 380516. r=jwatt, sr=dbaron 2007-05-23 13:10:43 -07:00
tor@cs.brown.edu
56af31dc01 Bug 381622 - complete cairo removal from svg. r+sr=roc 2007-05-23 08:42:12 -07:00
jwatt@jwatt.org
751609e0c6 Fixing bug 380952. nsSVGForeignObjectFrame::PaintSVG calls GetCanvasTM twice. r=tor@acm.org, sr=roc@ocallahan.org 2007-05-23 01:39:00 -07:00
jwatt@jwatt.org
604300c6e7 Fixing bug 381447. nsSVGLengthList::mCtxType is always set to nsSVGUtils::X. r+sr=tor@acm.org 2007-05-23 01:38:54 -07:00
Olli.Pettay@helsinki.fi
da84b4a799 Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz 2007-05-22 14:45:03 -07:00
tor@cs.brown.edu
34808a27d2 Bug 380072 - switch svg mask from cairo to thebes. r=jwatt, sr=roc 2007-05-22 12:31:04 -07:00
tor@cs.brown.edu
c3f20a0396 Bug 380757 - switch svg filters to thebes. r=jwatt, sr=roc 2007-05-21 14:41:53 -07:00
jminta@gmail.com
1fb0dc7c7f Bug 377717 Remove 'decorations' and 'variant' from gfxFontStyle, r=pavlov 2007-05-20 19:18:04 -07:00
tor@cs.brown.edu
fbf7c7d5ef Bug 380691 - <clipPath> and <mask> not working with <foreignObject>. r+sr=roc 2007-05-16 08:14:19 -07:00
roc+@cs.cmu.edu
69246cf0ee Bug 380692. Change gfxTextRun API so the textrun copies text, if necessary, instead of the caller having to do it. r=vlad 2007-05-14 20:56:47 -07:00
roc+@cs.cmu.edu
9cbc5fa356 Fixing bustage 2007-05-08 17:45:21 -07:00
roc+@cs.cmu.edu
168e80e375 Bug 375760. Make a number of small changes to the gfxTextRun/gfxFont/gfxFontGroup APIs. r=vlad 2007-05-08 15:46:14 -07:00
bzbarsky@mit.edu
3cb4bc9240 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
jwatt@jwatt.org
a741b8c701 Fixing bug 369827. Reflow of foreignObject with percentage width/height doesn't work. r=tor@acm.org, sr=dbaron@mozilla.com (this also fixes bug 379615, so changing the reftest manifest to expect the foreignObject tests to pass) 2007-05-05 04:11:07 -07:00
bzbarsky@mit.edu
e63c5bfed6 Override just the border width, not all the border properties. Bug 377584, r+sr=dbaron 2007-05-04 23:22:36 -07:00
sayrer@gmail.com
53b6461aa3 backout patch for bug 375760 due to bustage. 2007-05-04 21:36:13 -07:00
roc+@cs.cmu.edu
c38af9c6b8 Bug 375760. Make a number of small changes to the gfxTextRun/gfxFont/gfxFontGroup APIs. r=vlad 2007-05-04 19:16:16 -07:00
tor@cs.brown.edu
bc62b5fe42 Bug 379045 - switch svg patterns to thebes. r=longsonr, sr=roc 2007-04-30 08:53:55 -07:00
longsonr@gmail.com
332e20a00f Bug 378897 - foreignObject doesn't clip its content. r=jwatt,sr=tor 2007-04-30 02:02:38 -07:00
longsonr@gmail.com
9f0916238d Bug 378900 - Use NS_DECL_NSIMUTATIONOBSERVER macros where possible. r+sr=tor 2007-04-27 07:37:15 -07:00
tor@cs.brown.edu
469ca7336a Bug 378508 - convert svg gradients to thebes. r=longsonr, sr=roc 2007-04-27 07:28:39 -07:00
longsonr@gmail.com
e1a49a1bec Bug 378857 - Simplify clipPath frame access to units. r=tor,sr=roc 2007-04-27 01:42:51 -07:00
tor@cs.brown.edu
34470215e9 Bug 370416 - <textPath> not updating when referenced path changed.r=longsonr, sr=sicking 2007-04-26 08:46:29 -07:00
tor@cs.brown.edu
682bb92ef5 Bug 378771 - crash when invalidating <foreignObject> with nondisplay parent.r+sr=roc 2007-04-26 08:31:26 -07:00
longsonr@gmail.com
ce1411d840 Bug 377149 - stop storing mask and clipPath frames. r=tor,sr=roc 2007-04-26 01:36:16 -07:00
longsonr@gmail.com
9e968ee157 Bug 374280 - Opacity of elements referencing a pattern isn't respected. r=jwatt,sr=tor 2007-04-24 01:11:22 -07:00
longsonr@gmail.com
bf485b653e Bug 377834 - make paint server setup return booleans for success/failure. r+sr=tor 2007-04-23 02:11:19 -07:00
longsonr@gmail.com
5a09e35207 Bug 378023 - Fix build warnings compiling nsSVGGlyphFrame. r+sr=tor 2007-04-23 01:39:54 -07:00
longsonr@gmail.com
5ec14fa391 Bug 377263, bug 377399 - patternContentUnits='objectBoundingBox' not translated correctly. r=tor,sr=roc 2007-04-19 01:29:27 -07:00
longsonr@gmail.com
ac087ce706 Bug 377892 - Simple clipPath asserting and crashing. r+sr=tor 2007-04-19 01:21:49 -07:00
tor@cs.brown.edu
7daef7a6cf Bug 375141 - convert svg text to thebes. r=longsonr, sr=roc 2007-04-18 14:09:31 -07:00
tor@cs.brown.edu
c84f57e323 Backout of 375141 - appears to be causing qm-winxp01 red. 2007-04-17 20:54:53 -07:00
tor@cs.brown.edu
73ddc47593 Bug 375141 - convert svg text to thebes. r=longsonr, sr=roc 2007-04-17 15:48:28 -07:00
tor@cs.brown.edu
4aac3559a5 Bug 368675 - limit maximum size of filtered surface. r=dveditz, sr=roc 2007-04-17 12:34:52 -07:00
longsonr@gmail.com
09edc1c88b Bug 377015 - Simplify nsSVGClipPathFrame API and make clip reference loop detection more robust. r=jwatt,sr=tor 2007-04-17 02:01:52 -07:00
tor@cs.brown.edu
b3c5a03a7b Bug 376929 - Remove direct use of cairo from SVG path generation.r=jwatt, sr=roc 2007-04-16 13:57:09 -07:00
longsonr@gmail.com
7dbbebfc88 Bug 376611 - Don't cache marker frames. r=tor,sr=roc 2007-04-10 03:19:59 -07:00
longsonr@gmail.com
67c8432271 Bug 374277 - Horizontal line with stroke referencing a userSpaceOnUse pattern doesn't paint. r=jwatt,sr=tor 2007-04-10 02:57:12 -07:00
tor@cs.brown.edu
ac0fec7e28 Bug 375775 - filter crash with display:none. r+sr=roc 2007-04-05 06:23:21 -07:00
tor@cs.brown.edu
42674a6a74 Bug 376414 - Plug leak of SVG text container elements. r=jwatt, sr=roc 2007-04-04 08:22:08 -07:00
longsonr@gmail.com
9977141b1c Bug 329867 - Some SVG frames have screwy AddRef/Release implementations. r=jwatt,sr=tor 2007-04-03 03:52:00 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
longsonr@gmail.com
ea4f81163c Bug 375830 - Have NS_GetxxxFrame functions return the frame. r+sr=tor 2007-03-30 02:03:40 -07:00
longsonr@gmail.com
86ec89aeff Bug 373624 - Support transparent as a gradient and filter stop-color. r=jwatt,sr=tor 2007-03-29 01:59:06 -07:00
longsonr@gmail.com
772f079b52 Bug 374914 - get rid of nsISVGFilterFrame. r=jwatt,sr=tor 2007-03-29 01:54:53 -07:00
longsonr@gmail.com
9538c079be Bug 374770 - Simplify nsSVGOuterSVGFrame::IsRedrawSuspended. r+sr=tor 2007-03-28 02:41:46 -07:00
longsonr@gmail.com
c05ca41670 Bug 374766 - reduce filter and marker memory requirements. r=jwatt,sr=tor 2007-03-28 01:49:40 -07:00
longsonr@gmail.com
ff96081fa2 Bug 375384 - remove nsSVGUtils::IsSingular. r+sr=tor 2007-03-27 05:43:59 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00