Commit Graph

760 Commits

Author SHA1 Message Date
Jonathan Watt
3581b02664 Bug 614732 - Temporary patch to add an mCoveredRegion to SVG leaf frames to cache their covered regions, since we can't reliably compute their pre-change covered regions for invalidation from the user space bounds now in their mRects (see bug 614732 comment 32 solution #1). r=roc. 2012-02-10 12:33:49 +00:00
Jonathan Watt
56e4718d5d Bug 614732 - For SVG leaf frames, use mRect to store the frame's user space bounds, and stop using it to store its covered region (compute that on demand). r=roc. 2012-02-10 12:33:46 +00:00
Jonathan Watt
06ab5a6e5d Bug 725903 - PathExtentsToMaxStrokeExtents needs to take a transform argument. r=longsonr. 2012-02-10 12:33:39 +00:00
Jonathan Watt
45ad268897 Bug 725897 - Remove the inaccurate nsSVGUtils::ToAppPixelRect, and use nsLayoutUtils::RoundGfxRectToAppRect instead. r=longsonr. 2012-02-10 12:33:18 +00:00
Cameron McCormack
24da2edac5 Bug 724711 - Remove unused variable from nsSVGForeignObjectFrame::DoReflow. (Really this time.) r=dholbert 2012-02-07 10:52:01 +11:00
Cameron McCormack
312ae769fe Bug 542424 - Don't treat <svg:image> as a viewport establishing element. r=jwatt 2012-02-07 07:30:48 +11:00
Robert Longson
9400255ff4 Bug 724281 - suspend-02.svg fails randomly. r=roc 2012-02-06 12:57:12 +00:00
Robert Longson
dc84569d62 Bug 616892 - Make more updates honour suspendRedraw. r=roc 2012-02-04 13:58:46 +00:00
Edwin Flores
e20fcb14ba Bug 719288 - Fill and stroke SVG text with one Draw call r=roc 2012-02-04 13:11:09 +00:00
Jonathan Watt
c6cd8831b0 Bug 119061 - Make SVG elements respond to :hover when script/animation moves them under the mouse pointer. r=roc. 2012-02-01 19:15:49 +00:00
Robert Longson
bfd5860dd7 Bug 722882 - use or foreignObject with a percentage x or y attribute does not update properly when enclosed in an svg element which changes width or height. r=jwatt 2012-02-01 16:25:44 +00:00
Robert Longson
6d028c1044 Bug 722003 - Fix crash calling getClientRects on non-rendered foreignObject. r=roc 2012-01-29 08:56:20 +00:00
Robert Longson
8e2da6f3bf Bug 649114 - Text-anchor middle is not computed correctly for element scaled to 0. r=jwatt 2012-01-28 13:58:17 +00:00
Jonathan Watt
e194684af6 Bug 716527 - Prevent nsSVGForeignObjectFrame::PaintSVG from dereference null aDirtyRect. r=roc 2012-01-28 10:42:59 +00:00
Edwin Flores
0855766ec9 Bug 710521 - Refactor gfxFont to separate out drawing stroke and drawing to path. r=roc 2012-01-26 13:11:18 +01:00
Jon Buckley
d7b16744b1 Bug 682299 - Move CORS attributes and enumerations to nsGenericHTMLElement. r=bz 2012-01-25 17:31:29 -05:00
Jonathan Watt
cb807222d1 Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Robert Longson
e7a77cf4c1 Backout Bug 649114 - Reftest failures 2012-01-23 20:40:09 +00:00
Robert Longson
8e7eb857b5 Bug 649114 - Text-anchor middle is not computed correctly for element scaled to 0. r=jwatt 2012-01-23 19:18:13 +00:00
Robert Longson
61cc278b22 Bug 647914 - Horizontal and vertical SVG paths are omitted from bbox calculations if they have siblings. r=jwatt 2012-01-23 17:42:32 +00:00
Robert Longson
00866bc80f Bug 676178 - Scale stroke dashes to text size properly. r=jwatt 2012-01-16 15:36:25 +00:00
Robert Longson
85497421d0 Bug 718266 - Simplify dasharray code. r=jwatt 2012-01-16 09:19:24 +00:00
Robert Longson
819c5838d7 Bug 717870 - whitespace compression setting need to be recalculated when text is added. r=dholbert 2012-01-14 10:07:26 +00:00
Robert Longson
555bbcf3c7 Bug 525095 - Fix artifacts being left behind when text is resized. r=roc 2012-01-12 09:59:39 +00:00
Daniel Holbert
9070fa4738 Bug 716699: Mark some SMIL and SVG-related directories as gcc-warning-free. r=jwatt 2012-01-11 00:32:38 -08:00
Robert Longson
0c4e2bbd70 Bug 619967 - Resolve percentage filter primitive attributes correctly. r=roc 2012-01-09 13:18:53 +11:00
Kyle Huey
9cc71b5f7f Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Jonathan Kew
dab5dd6132 bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc 2011-12-06 12:39:18 +00:00
Bas Schouten
477b10dc38 Bug 711063 - Part 8: Adjust SVG code for Azure-Thebes wrapper. r=roc 2012-01-05 08:17:52 +01:00
Robert Longson
94230943a7 Backout bug 620274 to fix crash i.e. bug 667324. 2012-01-01 15:47:27 +00:00
Robert Longson
d9086c4d00 Bug 607854 - implement SVGTests interface. r=jwatt 2011-12-31 09:44:03 +00:00
Robert O'Callahan
0fb0f8bbd4 Bug 591718. Part 1: rename some poorly-named methods, rework global-transform methods to avoid computing bounding-boxes more than once when there are are multiple transformed ancestors, make sure nsIFrame::GetTransformMatrix can stop at any desired ancestor. r=mats 2011-12-28 16:24:18 +13:00
Robert Longson
8557d97521 Bug 713413 - Fix crash when dynamically adding foreignObject as a child of non-displayed element. r=dholbert 2011-12-29 11:59:02 +00:00
Jonathan Watt
26b23f0bfa Bug 668163 - Map 'width' and 'height' on <svg> into style to stop <svg>'s computed width/height falling back to 150px x 300px when they're set to explicit percentage values that can be resolved (regression from bug 611099). r=dbaron. 2011-12-27 10:27:42 +00:00
Mats Palmgren
1e2a52a8bd Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug 2011-12-20 10:15:41 +01:00
Robert Longson
79c95191d5 Bug 705206 - applying filters to non-rendered shapes results in the item not being rendered. r=dholbert 2011-12-19 10:06:45 +00:00
Matt Brubeck
7d451f6bac Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Edwin Flores
a9f4f6c3c4 Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc 2011-12-18 21:53:03 +13:00
Robert Longson
20c90c5d07 Bug 708155 - Fix dynamic modifications to styles on foreignObject. r=dholbert 2011-12-17 09:09:19 +00:00
Brian O'Keefe
1513850d8f Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr 2011-12-15 14:47:03 +00:00
Masatoshi Kimura
ef45bcacdc Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Daniel Holbert
e44ef483f6 Bug 709920: Be more sensitive in checking for zero-size viewBox in nsSVGPatternFrame::ConstructCTM. r=longsonr a=khuey 2011-12-13 12:12:36 -08:00
Brian O'Keefe
ef0c3fd087 Bug 589640 (part 2) - Make nsIContent::IsSVG more like IsHTML, and remove the eSVG node type. r=bzbarsky 2011-12-08 01:32:11 -05:00
Robert Longson
581866451b Bug 696078 - Move filter attribute processing to frame classes. r=jwatt
--HG--
rename : layout/svg/base/src/nsSVGLeafFrame.cpp => layout/svg/base/src/SVGFELeafFrame.cpp
extra : rebase_source : 74ac4d84da2f0a99272e83590a9adc1dc8511fce
2011-11-19 17:53:52 +00:00
Jonathan Watt
efb9f8f776 Bug 702696 - Path length scale factor should not be affected by the 'transform' attribute. r=dholbert. 2011-11-21 21:22:19 +00:00
Jonathan Watt
02ee85d336 Bug 702477 - Change the names of nsSVGPathElement::GetScale and nsSVGTextPathFrame::GetPathScale, and add documenting comments. r=longsonr. 2011-11-15 13:11:43 +00:00
Jonathan Watt
f9142b4f92 Bug 702283 - Remove dead code RegionMark (left behind by bug 614732 attachment 563617 (changeset 8ddd09649e13)) since now we use GetMarkBBoxContribution (which doesn't need to update the covered regions of a mark's content). r=longsonr. 2011-11-14 16:42:39 +00:00
Scott Johnson
3a74456f46 Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-11-09 13:39:16 -08:00
Robert Longson
e7a56805ad Bug 693424 - remove Should not be calling this on a non-display child assert in nsSVGForeignObjectFrame::GetBBoxContribution. r=dholbert 2011-11-09 12:13:31 +00:00
Matheus Kerschbaum
fb722a61dd Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00