Commit Graph

918 Commits

Author SHA1 Message Date
Daniel Holbert
3d53049b96 Bug 725918 patch 3: Use getter_AddRefs instead of passing a pointer-to-nsRefPtr. r=jwatt 2012-02-17 16:33:24 -08:00
Edwin Flores
42373ed802 Bug 725918 patch 2: Fixed wrong assertion in nsSVGGlyphFrame. r=longsonr 2012-02-17 16:33:23 -08:00
Edwin Flores
7e0c5df985 Bug 725918 patch 1: Fixed code style in nsSVGGlyphFrame::SetupCairoState. r=longsonr 2012-02-17 16:33:00 -08:00
Jonathan Watt
e71189580e Bug 660216, part 3 - getBBox and getCTM on foreignObject should/should not include 'x'/'y' offsets respectively. r=heycam. 2012-02-17 08:12:47 +00:00
Jonathan Watt
665e3ab9d3 Bug 660216, part 1 - Rename PrependLocalTransformTo to PrependLocalTransformsTo. r=heycam. 2012-02-17 08:12:47 +00:00
Jonathan Watt
8303f9f7d4 Bug 726928 - UpdateCoveredRegion needs to convert 'extent' from CSS px now, not Dex px, otherwise painting invalidation is broken. r=dholbert. 2012-02-17 06:07:51 +00:00
Rafael Ávila de Espíndola
7bed066236 Bug 727212 - Remove dead code. r=jwatt. 2012-02-15 07:29:20 -05:00
Rafael Ávila de Espíndola
1b8e3721ea Bug 727218 - mark nsSVGImageListener final. r=roc. 2012-02-15 06:29:31 -05:00
Jonathan Watt
e9a976b112 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
52effda719 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
ec0d09de7a Bug 725903 - PathExtentsToMaxStrokeExtents needs to take a transform argument. r=longsonr. 2012-02-10 12:33:39 +00:00
Jonathan Watt
18cb8886d0 Bug 725897 - Remove the inaccurate nsSVGUtils::ToAppPixelRect, and use nsLayoutUtils::RoundGfxRectToAppRect instead. r=longsonr. 2012-02-10 12:33:18 +00:00
Cameron McCormack
bbcd73d9d5 Bug 724711 - Remove unused variable from nsSVGForeignObjectFrame::DoReflow. (Really this time.) r=dholbert 2012-02-07 10:52:01 +11:00
Cameron McCormack
33bb52ecba Bug 542424 - Don't treat <svg:image> as a viewport establishing element. r=jwatt 2012-02-07 07:30:48 +11:00
Robert Longson
50cf1e9477 Bug 724281 - suspend-02.svg fails randomly. r=roc 2012-02-06 12:57:12 +00:00
Robert Longson
e7583c378e Bug 616892 - Make more updates honour suspendRedraw. r=roc 2012-02-04 13:58:46 +00:00
Edwin Flores
bc6a31b0b1 Bug 719288 - Fill and stroke SVG text with one Draw call r=roc 2012-02-04 13:11:09 +00:00
Jonathan Watt
3eb84a8c29 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
aa4d204fe7 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
5c29457536 Bug 722003 - Fix crash calling getClientRects on non-rendered foreignObject. r=roc 2012-01-29 08:56:20 +00:00
Robert Longson
24c5616c88 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
b08c3e6de2 Bug 716527 - Prevent nsSVGForeignObjectFrame::PaintSVG from dereference null aDirtyRect. r=roc 2012-01-28 10:42:59 +00:00
Edwin Flores
3f5de025f0 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
350374a515 Bug 682299 - Move CORS attributes and enumerations to nsGenericHTMLElement. r=bz 2012-01-25 17:31:29 -05:00
Jonathan Watt
9fb3c8bb9f Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Robert Longson
e7b961c7d3 Backout Bug 649114 - Reftest failures 2012-01-23 20:40:09 +00:00
Robert Longson
585712dfbd 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
159b5db63c 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
cce8969027 Bug 676178 - Scale stroke dashes to text size properly. r=jwatt 2012-01-16 15:36:25 +00:00
Robert Longson
8a84ab145d Bug 718266 - Simplify dasharray code. r=jwatt 2012-01-16 09:19:24 +00:00
Robert Longson
3f0c6b32c6 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
15a2d5d758 Bug 525095 - Fix artifacts being left behind when text is resized. r=roc 2012-01-12 09:59:39 +00:00
Daniel Holbert
fe1487d851 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
499946fd14 Bug 619967 - Resolve percentage filter primitive attributes correctly. r=roc 2012-01-09 13:18:53 +11:00
Kyle Huey
3a27625aad Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Jonathan Kew
f702c54c74 bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc 2011-12-06 12:39:18 +00:00
Bas Schouten
df29f0adbd Bug 711063 - Part 8: Adjust SVG code for Azure-Thebes wrapper. r=roc 2012-01-05 08:17:52 +01:00
Robert Longson
c2dbbd28c8 Backout bug 620274 to fix crash i.e. bug 667324. 2012-01-01 15:47:27 +00:00
Robert Longson
48d9142be8 Bug 607854 - implement SVGTests interface. r=jwatt 2011-12-31 09:44:03 +00:00
Robert O'Callahan
755acd5237 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
746862e76d 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
52a1f8383d 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
77f0b019cd Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug 2011-12-20 10:15:41 +01:00
Robert Longson
0a2dce21e9 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
5d8466250b Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Edwin Flores
68f8de97ea 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
9ccdb9096d Bug 708155 - Fix dynamic modifications to styles on foreignObject. r=dholbert 2011-12-17 09:09:19 +00:00
Brian O'Keefe
755f228bc5 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
26a3901298 Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Daniel Holbert
7a1e63b310 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
5717da0395 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
44824c6d1e 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
33b6ea8299 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
98f40124be 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
2f83aff27f 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
8b64920eb3 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
c61a50c3ea 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
4813247daf Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Mats Palmgren
396adcb6e1 Bug 671484 - Change 'ABORT: root should not have auto-height containing block' into an assertion for now to avoid aborting fuzz testing. r=roc 2011-11-04 19:05:35 +01:00
Justin Lebar
0f63342314 Back out bug 666446 due to Talos regression. 2011-11-02 20:11:01 -04:00
Scott Johnson
6ce9c5bbde 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-01 11:06:53 -04:00
Robert Longson
ffc3c60628 Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Daniel Holbert
f25f8ec2d9 Bug 697475: deCOMtaminate nsSVGPatternFrame::GetPatternFirstChild. r=longsonr 2011-10-27 15:57:10 -07:00
Robert Longson
4b934de0fe Bug 697057 - Patterns are blurred when the element is scaled. r=dholbert
--HG--
rename : layout/reftests/svg/pattern-scale-01.svg => layout/reftests/svg/pattern-scale-01a.svg
2011-10-27 09:51:46 +01:00
Robert Longson
00bb6071f9 Bug 696579 - Round out mask, filter and pattern surfaces. r=roc 2011-10-26 09:52:11 +01:00
Robert Longson
ec1fe3034f Bug 693183 - move image processing to the frame class. r=jwatt 2011-10-19 16:37:49 +01:00
Robert Longson
f7b9213184 Backout Bug 693183 2011-10-19 14:55:27 +01:00
Robert Longson
86ffe6926f Bug 693183 - Simplify class animation processing. r=jwatt 2011-10-19 14:40:58 +01:00
Simon Montagu
5aadea5d7b Support for unicode-bidi: -moz-isolate and -moz-plaintext in style system. Bug 613149, r=dbaron 2011-10-18 14:51:57 +02:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Robert Longson
a0f2a86714 Bug 694298 - Changing text to empty does not repaint. r=dholbert 2011-10-14 13:39:40 +01:00
Robert Longson
baf4f6d89e Backout Bug 693183 - reftest failure 2011-10-10 21:30:54 +01:00
Robert Longson
2e60074c52 Bug 693183 - Move image element attribute processing to the frame class. r=jwatt 2011-10-10 18:44:03 +01:00
Robert Longson
b4fd35944b Bug 691194 - Move filter element attribute processing to the frame class. r=dholbert 2011-10-09 18:17:29 +01:00
Robert Longson
35051be845 Bug 550047 - Removing attributes from most elements does not cause a refresh. r=dholbert 2011-10-08 07:32:44 +01:00
Scott Johnson
d7adce1370 Backout cset 9d3ac2d3da11 from bug 666446 while we sort out regressions 2011-10-07 00:25:36 -07:00
Robert Longson
6c0b658f8e Bug 692203 - Covered region must be empty if markerHeight or markerWidth=0. r=dholbert 2011-10-06 20:03:16 +01:00
Robert Longson
76037b99aa Bug 691646 - Pattern tile pixelated on patternTransform. r=dholbert 2011-10-04 16:22:46 +01:00
Robert Longson
c5441802db Backout Bug 691646 for causing reftest failures on Linux 2011-10-04 11:00:32 +01:00
Robert Longson
9b996a8070 Bug 691646 - Pattern tile pixelated on patternTransform. r=dholbert 2011-10-04 09:38:21 +01:00
Scott Johnson
e317548311 Bug 666446, Part 4/18 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-10-03 13:39:05 -07:00
Jonathan Watt
b8e054ce7f Bug 614732 - Add an argument to nsSVGUtils::GetBBox() to allow callers to specify whether stroke or markers should be included in the bounds returned. r=roc. 2011-09-30 10:25:37 +01:00
Jonathan Watt
01b6cbbc31 Bug 690486 - Kill nsISVGValue, nsSVGValue, nsISVGValueObserver, nsISVGValueUtils and nsSVGStringProxyValue. r=longsonr. 2011-09-30 10:25:34 +01:00
Robert Longson
524e2377a2 Bug 689546 - Simplify attribute updates to svg elements. r=jwatt 2011-09-30 09:25:01 +01:00
Robert Longson
69bd857cce Bug 630657 - masks should respect color-interpolation. r=jwatt
--HG--
extra : rebase_source : d8ec90b0a18444be4890dbe127a1e0e7d70f9ede
2011-09-29 15:03:21 +01:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mats Palmgren
f44def4369 Bug 686581 - Disable theming in SVG images harder. r=longsonr 2011-09-26 18:29:06 +02: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
Mats Palmgren
69691a3674 Bug 686581 - Disable theming in SVG images. r=roc 2011-09-24 10:28:55 +02:00
Robert Longson
710b7f9128 Bug 687445 - Do not round mask size till after the CTM transform has been applied. r=roc 2011-09-21 12:30:38 +01:00
Robert Longson
df62def5e9 Bug 687830 - Simplify marker implementation by calculating viewbox on paint rather than attempting to cache it. r=roc 2011-09-21 08:53:09 +01:00
Robert Longson
ddceb15dd4 Bug 687518 - Remove nsSVGUtils:: from nsSVGutils methods. r=roc 2011-09-19 18:09:59 +01:00
Robert Longson
31d473fc4f Bug 687340 - Make dynamic changes to mask, clipPath and marker attributes work. r=roc 2011-09-19 13:59:52 +01:00
Robert O'Callahan ext:(.)
0d5d0f75cc Bug 647687 - Fix filter SourceImage bounds. r=longsonr 2011-09-17 09:29:51 +01:00
Robert O'Callahan
0580c4d643 Bug 619992 - Fix location calculations for light sources. r=longsonr 2011-09-14 15:48:32 +01:00
Masayuki Nakano
d9869bfccf Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:13 +09:00
Jonathan Watt
45d5658c7f Bug 614732 - Stop recalculating the contribution of markers on every GetCoveredRegion() call. r=roc. 2011-09-08 12:15:00 +01:00
Robert Longson
edacda1823 Bug 684479 - Bounding boxes for strokes are unnecessarily big for many shapes. r=roc 2011-09-05 18:53:34 +01:00
Robert Longson
2b64f153e3 Bug 682411 - Filters on shapes that have zero width or height assert. r=roc 2011-08-27 15:58:10 +01:00
Mats Palmgren
6894179e71 Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Jonathan Kew
4bc55811dc bug 637179 - use PRUint32 for character/cluster indexes to avoid build warnings. r=jwatt 2011-08-23 13:31:56 +01:00
Robert Longson
f7e6cfcfc3 Bug 678250 - Filter bounds rounded before scaling so small filters may be too large. r=roc 2011-08-15 19:41:57 +01:00
Ms2ger
9414376b01 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Robert Longson
6e1cace098 Bug 672519 - dominant-baseline applied multiple times for tspan. r=dholbert 2011-07-31 19:36:40 +01:00
Robert Longson
f03ce0f8a3 Bug 671892 - Simplify a common filter number conversion pattern. r=dholbert 2011-07-23 09:44:52 +01:00
Matt Woodrow
6366c7e2e7 Bug 505115 - Part 5 - Use gfx3DMatrix in layout. r=roc 2011-07-23 10:28:51 +12:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Simon Montagu
672d772074 Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03:00
Jonathan Watt
ec8b7c2df1 Bug 664130 - Rename GetHittestMask to GetHitTestFlags to avoid confusion about masking. r=longsonr. 2011-07-08 14:20:14 +01:00
Phil Ringnalda
07ca8ea292 Bug 669025 followup, fix crashtests.list typo 2011-07-03 14:20:10 -07:00
Robert Longson
b1a2285137 Bug 669025 - class name and proto chain interface mismatch with number-optional-number and integer-optional-integer. r=dholbert 2011-07-03 20:49:11 +01:00
Robert Longson
1371deaee4 Bug 617623 - animate number-optional-number and integer-optional-integer attributes properly. r=dholbert 2011-07-01 08:19:52 +01:00
Robert Longson
5bf016d92d Bug 666068 - Speed up nsSVGIntegrationUtils::UsingEffectsForFrame. r=jwatt,jmuizelaar 2011-06-22 21:07:31 +01:00
Jonathan Watt
cea21c4f74 Bug 664130 - const-ify some SVG element class methods. r=dholbert.
--HG--
extra : rebase_source : e3efcfa1b14b36a5b7f1baefde3fbffb471c6b37
2011-06-16 11:53:13 +01:00
Daniel Holbert
9725867292 Bug 654858: Fix float-to-nscoord rounding issue in SVG intrinsic ratio, with certain GCC versions & optimizations. r=roc 2011-06-13 14:48:50 -07:00
L. David Baron
2c8f5f2992 Remove notion of percentage intrinsic size: remove the single case that (incorrectly) sets percentage intrinsic sizes, and fix all of the tests that depend on our old incorrect behavior. (Bug 611099) r=dholbert
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-06-12 18:52:32 -07:00
Robert Longson
622580fa22 Bug 657077 - Should not assert calling suspendRedraw on elements that fail conditional processing. r=dholbert 2011-05-31 19:12:40 +01:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano
060287addd Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Craig Topper
4e38ca20a7 Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Robert Longson
0b301b718d Bug 655497 - Remove nsISVGGlyphFragmentLeaf. r=dholbert 2011-05-07 18:08:41 +01:00
Boris Zbarsky
ae3f14f1ba Merge cedar with mozilla-central 2011-05-06 20:39:36 -04:00
Daniel Holbert
150c675bb2 Bug 655025 followup: Rename added IsEmpty method to avoid clashing with inherited nsIFrame method. r=longsonr 2011-05-06 11:33:21 -07:00
Robert Longson
4ae27e62f1 Bug 655025 - Fix zippity graph. r=dholbert 2011-05-06 11:45:17 +01:00
Robert Longson
eeaddc72e5 Bug 620286 - White space at beginning (end) of tspan should render when there is preceding (following) non-white space text. r=roc 2011-05-03 08:45:30 +01:00
Robert Longson
d3f15b07db Bug 643419 - pathLength should affect stroke-dasharray. r=dholbert 2011-05-01 19:26:20 +01:00
Boris Zbarsky
447ee74d8c Bug 654989 part 1. Allow handing out both an nsIContent and an nsStyleContext from CreateAnonymousContent. r=roc 2011-05-06 16:04:44 -04:00
Robert Longson
b5cec522e0 Bug 620274 - nsSVGForeignObjectFrame::PaintSVG null checks aDirtyRect when it is always non-null r=dholbert
--HG--
extra : rebase_source : b823f3edf4cc1585fa752233db6052945e47a23f
2011-04-24 20:55:58 +01:00
Simon Montagu
ece92e21ce Back out bug 263359 and bug 624798 because of performance regressions (bug 650189) 2011-04-27 11:47:18 +03:00
Zack Weinberg
557aeba56f Bug 649429 part 2: move nsSVGUtils::ConvertToSurfaceSize back to nsSVGUtils.cpp. r=dholbert
--HG--
extra : rebase_source : 7c3b91c2d59b39d9c5e0421ac77dad94ef947e34
2011-04-21 12:36:46 -07:00
Jonathan Watt
9c895c01df Bug 589648 part 3. Work around lack of cairo support to display square stroke-linecaps for zero length paths. r=longsonr.
--HG--
extra : rebase_source : 5aaa65a2bc888b4a64884f5f2a87beb7803f646e
2011-04-20 10:16:02 +01:00
Jonathan Watt
9ce3bf7614 Bug 488314 part 2 - Kill vestiges of SetMatrixPropagation. r=longsonr.
--HG--
extra : rebase_source : ab532ae0ee733e6c759856640d755869bc231f73
2011-04-20 10:16:01 +01:00
Zack Weinberg
647b7a0bfe Bug 651017, part 7: remove nsDeviceContext::CreateRenderingContextInstance and the CreateRenderingContext overload that takes a widget.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 6be7fe432488dcf2fb5b2faa0e178dccab480285
2011-04-16 21:08:22 -07:00
Zack Weinberg
dd67585463 Bug 651017, part 5: mechanical changes.
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Mounir Lamouri
8883f4f0d6 Merge cedar with mozilla-central 2011-04-19 11:02:41 +02:00
Robert O'Callahan
d4c414cf18 Bug 641426. Part 8: Replace gfxRect::Outset/Inset with Inflate/Deflate. Also slip in a conversion constructor from nsIntRect to gfxRect. r=tnikkel 2011-04-19 15:07:51 +12:00
Robert O'Callahan
72627bced2 Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
c957ae039e Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
307547d062 Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Robert O'Callahan
73b97e72c4 Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe 2011-04-19 15:07:21 +12:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Robert Longson
55e9f84758 Bug 648819 - Stop ASSERTION: unknown nsISVGValue with invalid patternTransform. r=dholbert 2011-04-18 19:55:07 +01:00
Zack Weinberg
52c99aabb7 Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg
42ead75834 Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Zack Weinberg
299386f14c Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Zack Weinberg
c3400ef3c4 Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b1c68e23a4fa67cdc09b151ad39d7560cdd8baf7
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
0e92a9d34a Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Simon Montagu
8ade1e195e Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03:00
Robert Longson
d06df5fd4d Bug 633337 - pattern viewBoxes not treated correctly. r=jwatt 2011-04-09 21:57:51 +01:00
Felipe Corrêa da Silva Sanches
122358c42d Bug 484966. Remove nsSVGUtils::GetParentElement in favor of nsIContent::GetFlattenedTreeParent. r=jwatt 2011-04-07 22:27:57 -07:00
Robert Longson
33c52d85ab Bug 641858 - text does not reflect dynamic gradient/pattern changes r=jwatt 2011-04-03 13:23:40 +01:00
Robert Longson
8b57446931 Bug 614367 - Fix assert removing nonexistent transform r=dholbert 2011-02-27 10:54:47 +00:00
Robert Longson
7c5a1f227d Bug 635511 - Improve performance getting parent SVG elements r=jwatt 2011-02-26 10:21:11 +00:00
Chris Pearce
21f7bd28a4 Bug 642695 - Remove debug printf in nsSVGForeignObjectFrame::DoReflow(). r=jwatt 2011-03-24 11:28:57 +13:00
L. David Baron
4a7745e74d Remove tracking of which font families are quirky, since we no longer use the information. (Bug 636040) r=jdaggett 2011-03-03 13:18:42 -08:00
Jesse Ruderman
3b3b006244 Bug 386690 - add crashtest. a=NPOTB 2011-02-27 21:12:29 -08:00
Daniel Holbert
030fb02047 Bug 596765, patch 2: In nsSVGForeignObjectFrame::MaybeReflowFromOuterSVGFrame, don't mark kid as dirty if we know we're not going to reflow it. r+a=roc 2011-02-17 16:33:31 -08:00
Daniel Holbert
644a076704 Bug 596765, patch 1: Don't skip initial reflow for zero-sized svg foreignObject frames. r+a=roc 2011-02-17 16:33:30 -08:00
timeless@mozdev.org
b6f0d48e50 Bug 620413 useless check of stopFrame in nsSVGGradientFrame::GetStopInformation
r=longsonr a=dbaron
2011-02-15 23:53:02 -08:00
timeless@mozdev.org
a602a2c382 Bug 617749 useless null check in nsSVGGlyphFrame::IsAbsolutelyPositioned
r=jwatt a=dbaron
2011-02-15 23:52:55 -08:00
Daniel Holbert
0c4aab88d6 Bug 614649, patch 1: In SVG-as-an-image with no viewBox, use height & width attrs on <svg> to dynamically synthesize a viewBox. r=jwatt a=roc 2011-02-09 12:13:18 -08:00
Johnny Stenback
7ed31a41cb Fixing bug 604262. Fix crash in nsImageLoadingContent::OnStartDecode(). r=jonas@sicking.cc, a=blocker 2011-01-31 20:50:01 -08:00
Jonathan Watt
e9766e8961 Bug 619955. 'pointer-events' broken on SVG text. r=longsonr, a=roc.
--HG--
extra : rebase_source : 69ebfac4019f926014c957c9984cc6d6795016b3
2011-01-28 19:35:35 +13:00
Jonathan Watt
64baa40654 Bug 619959, part 2. Fix handling of various values of pointer-events when stroke-opacity="0". r=longsonr,heycam. a=roc.
--HG--
extra : rebase_source : d2adfa6fb8abfc08e2c1693521668587d1aaa00d
2011-01-26 17:50:29 +13:00
Brian Birtles
23f0dcba7c Bug 544809 - nsSVGPatternFrame::GetPatternWithAttr and callers should take account of SMIL animation, r=longsonr, a=roc 2011-01-16 16:36:34 +09:00
Jonathan Kew
8bbc3bdd8a bug 621918 - part 2 - make SVG text respect character clusters. r=roc a=roc 2011-01-11 11:17:00 +00:00
Jonathan Kew
13736eae4a bug 621918 - part 1 - eliminate aDirtyRect parameter from gfxTextRun::Draw etc. r=roc a=roc 2011-01-11 11:17:00 +00:00
Daniel Holbert
1618fafe07 Bug 614272: When painting an SVG image, check if imageTransform is singular before applying it to our gfxContext. r=longsonr a=blocking-final+ 2011-01-10 21:57:19 -08:00
Simon Montagu
2d56d2efaf Basic bidi support for SVG. Bug 620446, r=roc, a=roc 2011-01-04 00:52:17 -08:00
Jonathan Watt
01f9a1b0c2 Bug 620034 - "ABORT: DOM wrapper's list length is out of sync" [@ mozilla::DOMSVGNumberList::Length]. r=longsonr, a=blocking. 2011-01-03 09:26:28 +00:00
Jonathan Watt
0e404435bc Bug 610594 - "ABORT: F.6.6.3 should prevent this. Will sqrt(-num)!". r=longsonr, a=blocking 2011-01-03 09:26:28 +00:00
Robert Longson
b3d7572c23 Bug 621598 - Don't try to get covered region of parts of markers r+a=roc 2010-12-29 10:29:54 +00:00
Robert Longson
e39c239054 Bug 621210 - Clear cached ctm when painting mask children; r=jwatt; a=roc 2010-12-24 09:30:01 +00:00
Brian Birtles
64e7373c44 Bug 615788 - Clear cached ctm when painting pattern children; r=longsonr; a=roc 2010-12-23 14:48:31 +09:00
Mihai Sucan
176912a7c2 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Robert Longson
3c0d7ed5aa Bug 620144 - clip paths and masks that cannot be resolved should be ignored r=jwatt,a=roc 2010-12-19 17:47:01 +00:00
Daniel Holbert
ebf2a2f077 Bug 272288 Patch 2: Store override preserveAspectRatio values in property table on image document's root node, when painting <svg> image element. r=roc a=roc
--HG--
rename : layout/reftests/svg/image/blueRect10x10.svg => layout/reftests/svg/image/blueRect10x10-viewBox.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-svg.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-svg.svg
2010-12-19 16:45:29 -08:00
Daniel Holbert
9dce61ff01 Bug 272288 Patch 1: Fix nsSVGImageFrame to handle SVG images. r=roc a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
75361d7972 Bug 619516 Patch 4: Create overloaded version of nsSVGUtils::GetViewBoxTransform to take (un-animated) SVGPreserveAspectRatio. r=jwatt a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
24a0292ab0 Bug 619516 Patch 3: Rename files nsSVGPreserveAspectRatio.* to SVGAnimatedPreserveAspectRatio. r=jwatt a=roc
--HG--
rename : content/svg/content/src/nsSVGPreserveAspectRatio.cpp => content/svg/content/src/SVGAnimatedPreserveAspectRatio.cpp
rename : content/svg/content/src/nsSVGPreserveAspectRatio.h => content/svg/content/src/SVGAnimatedPreserveAspectRatio.h
2010-12-19 16:45:29 -08:00
Daniel Holbert
725fb5d939 Bug 619516 Patch 2: Update clients of nsSVGPreserveAspectRatio with new class name. r=jwatt a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
61a096d4a4 Bug 619516 Patch 1: Rename nsSVGPreserveAspectRatio and its inner class to SVGAnimatedPreserveAspectRatio / SVGPreserveAspectRatio. r=jwatt a=roc 2010-12-19 16:45:29 -08:00
Robert Longson
619b5db75c Bug 617737 - white space handling incorrect r+a=roc 2010-12-16 10:57:35 +00:00
Jesse Ruderman
5037f01564 Bug 475302 - add crashtest 2010-12-12 12:54:26 -08:00
Robert Longson
618ecff833 Bug 617448 - remove svg.enabled as the browser now uses SVG and fails to start if it's disabled r+a=roc 2010-12-08 21:25:06 +00:00
Cameron McCormack
45bcec85a6 Bug 615146 - Ensure outer SVG elements get an nsSVGOuterSVGFrame even they fail conditional processing attributes (v2) r=longsonr, a=blocking
--HG--
extra : rebase_source : 592d3e066054036dc6c6f741054c1abcffdcc634
2010-12-07 09:57:18 +13:00
Jonathan Watt
0265b48597 Bug 522308 - Add support for SMIL animation of the <polygon> and <polyline> element's 'points' attributes. r=longsonr,dholbert,roc a=roc
--HG--
extra : rebase_source : b5958bf2635db311c94191b4683d4b3f24d0232f
2010-12-08 12:15:53 +00:00
Robert Longson
106fe8daf7 Bug 615666 - SMIL animation does not work with percent units for "offset" attr on <stop> elements. r=jwatt a=roc
--HG--
extra : rebase_source : 9907e24c397c5e7971256c3f0164255420585824
2010-12-05 20:33:31 +00:00
Oleg Romashin
3874b00931 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. part1 r=roc a=apporval2.0 2010-11-24 11:35:21 +02:00
Jonathan Watt
aef4dd636f Bug 589439. De-COMtaminate SVG number lists and support for SMIL animation of SVG number lists. a=roc r=roc,longsonr,dholbert.
--HG--
extra : rebase_source : eabed292053e9f63e025dc44b9f5a6c2017f626a
2010-12-03 16:40:23 +00:00
Justin Lebar
43b18d2b18 Backed out changeset a5ec817740f0. a=orange 2010-11-29 09:08:24 -08:00
Oleg Romashin
233ef8a80c Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Robert Longson
41d05ab40a Bug 611975 - text with gradient on stroke breaks when fill of any kind exists r=roc,a=blocking-final+ 2010-11-27 09:24:32 +00:00
Dave Townsend
1244f0ae62 Backing out changeset 8fff1c186b30 from bug 607653 due to reftest failures on OSX. a=bustage 2010-11-24 16:19:41 -08:00
Oleg Romashin
a8abb4a458 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Markus Stange
94273719c4 Bug 610122 - Speed up nsSVGMaskFrame::ComputeMaskAlpha by drawing into the image surface directly. r=roc, a=roc 2010-11-24 10:44:34 +01:00
Ehsan Akhgari
f7d3bd395c Backed out changeset 86c3a0e9fa87 because of the Windows optimize reftest failure 2010-11-23 14:26:31 -05:00
Robert Longson
4a68c2a358 Bug 611975 - text with gradient on stroke breaks when fill of any kind exists r=roc,a=blocking-final+ 2010-11-22 22:59:03 +00:00
Daniel Holbert
2dfaaddc03 re-enable crashtests for bug 612662, with s/.html/.svg/. a=tests-only 2010-11-19 10:15:42 -08:00