Commit Graph

35 Commits

Author SHA1 Message Date
Robert Longson
524e2377a2 Bug 689546 - Simplify attribute updates to svg elements. r=jwatt 2011-09-30 09:25:01 +01:00
Brian Birtles
45052f79d9 Bug 602759 part 13 - Update layout to use new matrix and transform types; r=jwatt 2011-09-25 22:04:32 +01:00
Robert Longson
5f29256b79 Bug 571863: Make sure to update graphic and/or invalidate transform on an inner <svg> element when its various attributes are modified. r=dholbert a=blocking-betaN+ 2010-10-07 12:19:32 -07:00
Zack Weinberg
17eb5a6efc Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc 2009-09-12 17:49:24 +01: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
Jonathan Watt
0c1ff4dba4 Bug 498275. Stop using nsIDOMSVGMatrix in nsSVGForeignObjectFrame + fixes. r=longsonr 2009-06-18 13:31:25 +02:00
Robert Longson
9cb0b9bebf Bug 481614 - implement clip property. r=jwatt 2009-06-17 21:51:40 +01:00
Jonathan Watt
f34d9fa3aa Bug 488314. Kill SetMatrixPropagation, part 1. r=roc 2009-04-29 06:31:34 +02:00
Jonathan Watt
9cbe6077e0 Bug 463939. When an SVG element's geometry changes and it has an ancestor with a filter effect, invalidate the nearest SVG viewport ancestor because we don't have a good way to compute precise invalidation bounds. r=roc
--HG--
extra : rebase_source : 4f0b385d07b989137f83b80d6cd0907ee1dcd599
2009-04-25 01:17:43 +02:00
Boris Zbarsky
ea8c0a5865 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
41cbd4c43c 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
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
Benjamin Smedberg
50621e4f9f 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
d0b948876f 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
Robert Longson
b2d04fc41e Bug 459758 - effects on outer svg frames only work accidentally. r+sr=roc 2008-10-20 09:42:03 +01:00
Robert Longson
2a15218653 Bug 460551 - overrideCTM is no longer necessary. r+sr=roc 2008-10-18 09:19:01 +01:00
Robert Longson
3803652e6d Bug 460210 - Various frames should call GetMatrixPropagation() instead of using mPropagateTransform. r+sr=roc 2008-10-17 20:41:35 +01:00
Arpad Borsos
eef0edf9d5 Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie) 2008-09-15 17:40:25 +02:00
Robert O'Callahan
539a029252 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
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 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
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
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
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
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
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
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
332e20a00f Bug 378897 - foreignObject doesn't clip its content. r=jwatt,sr=tor 2007-04-30 02:02:38 -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
longsonr@gmail.com
772f079b52 Bug 374914 - get rid of nsISVGFilterFrame. r=jwatt,sr=tor 2007-03-29 01:54:53 -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