Commit Graph

918 Commits

Author SHA1 Message Date
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
Daniel Holbert
458d85ff5d Disable crashtests for bug 612662, due to "timed out waiting for onload to fire". a=orange DONTBUILD 2010-11-19 09:39:55 -08:00
Daniel Holbert
1f25975081 Bug 612662 patch 5: tests. r+a=tests 2010-11-19 08:56:06 -08:00
Daniel Holbert
d55cd7386a Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert
c8a54bc253 Backed out changeset 5a5ead36d721 (bug 610796) due to non-libxul-build bustage 2010-11-16 11:24:04 -08:00
Daniel Holbert
ff2dff48de Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert
ac71d9769e Bug 610954: Use first continuation frame in new code in nsSVGIntegrationUtils::GetInvalidAreaForChangedSource, to match old code. r=longsonr a=bsmedberg 2010-11-10 13:18:11 -08:00
Daniel Holbert
fa0ca3bdbe Bug 587336: Keep nsSVGIntegrationUtils::GetInvalidAreaForChangedSource from inadvertantly adding an observer relationship and potentially triggering an infinite loop a few stack-levels up. r=roc a=blocking-final+ 2010-11-09 21:50:29 -08:00
Daniel Holbert
79778bb3d0 Bug 601999: Skip reflow request on target frame if it's already reflowing, when invalidating an SVG filter. r=roc a=blocking-betaN+ 2010-11-09 21:50:29 -08:00
Jesse Ruderman
c390d8bb40 Bug 590291 - add crashtest 2010-11-06 13:30:32 -07:00
Robert Longson
86facd52c1 Bug 595209 patch 1 - stroke scales badly with positioned glyphs r=roc,a=blocking-final+ 2010-10-29 08:18:03 +01:00
Robert Longson
785fa4398d Bug 608653 - lacuna pattern width/height should be zero r+a=roc 2010-11-03 22:35:00 +00:00
Robert Longson
5f4593ff3d Bug 603584 - feDisplacementMap does not always create output in correct colour space r+a=roc 2010-10-26 09:23:41 +01:00
Robert Longson
0b5ec4c833 Bug 605626 - Prevent assertion when displaying an image that has no width or height r=dholbert a=roc 2010-10-26 09:19:31 +01:00
Markus Stange
f6193ef3ca Bug 586954 - Set a proper clip region so that PushGroup doesn't allocate a giant surface. This speeds up drawing of masked non-SVG elements. r+a=roc 2010-11-05 17:01:17 +01:00
Robert Longson
0201c82775 Bug 484953 - speed up display of text that is both stroked and filled r+a=roc 2010-11-02 05:40:30 +00:00
Colby Russell
5c9da2bfe5 Bug 606107: Remove comment about long-fixed bugs in svg.css. r=roc a=comments-only 2010-10-22 15:55:05 -07:00
Daniel Holbert
a313214d9f Bug 606360: Don't double-count full-page-zoom factor when drawing SVG <image> element. r=longsonr a=blocking-final+ 2010-10-22 15:55:04 -07:00
Daniel Holbert
0cba8fe605 Bug 605420: Adjust dirtyRect to the right coordinate system when drawing for the SVG <image> element. r=longsonr a=blocking-final 2010-10-22 09:52:41 -07:00
Daniel Holbert
27e28e68bf Bug 604723: Multiply onto (instead of replacing) our gfxContext matrix when painting SVG images. r=longsonr a=blocking 2010-10-19 13:48:02 -07:00
Robert Longson
5c344c53d9 Bug 599798 - Fix viewBox on pattern with patternContentUnits=objectBoundingBox r+a=roc 2010-10-18 23:08:52 +01:00
Takeshi KUROSAWA
c6fb9a1749 Bug 599798 - Make rotate attribute of SVG text live. r=longsonr a=roc 2010-10-17 17:27:49 +01:00
Robert Longson
4212366871 Bug 468035 - turn off optional ligatures when drawing textPaths or positioned glyphs r+a=roc 2010-10-17 17:27:48 +01:00
Alexander Surkov
8b53f409de Bug 604386 - Prune placeholder from text children, r=davidb, sr=bz, a=blocking 2010-10-16 00:34:35 +09:00
Markus Stange
e785f3e168 Bug 592118 - Don't stack-allocate gfxContexts that are passed to other functions. r=roc a=blocking2.0:final
--HG--
extra : rebase_source : efcf3b58c953ea8ec8cad45f4b0ffa0b898a2397
2010-10-15 12:20:22 +02:00
Timothy Nikkel
a08a617701 Bug 582476. Part 2. When painting SVG foreign objects make sure to set the painting to window flag correctly. r=roc a=blocking-betaN+ 2010-10-14 20:03:45 -05:00
Timothy Nikkel
9964c66014 Bug 582476. Part 1. Pass invalidation flags through SVG foreign objects. r=roc a=blocking-betaN+ 2010-10-14 20:03:45 -05:00
Daniel Holbert
c939ce85e2 Backed out changeset e16a93bf622d (bug 599798) on suspicion of causing reftest assertion failures (bug 604415) 2010-10-14 10:19:55 -07:00
Takeshi KUROSAWA
58bc490dd6 Bug 599798 - Make rotate attribute of SVG text live. r=longsonr a=roc 2010-10-13 21:20:37 +01:00
Robert Longson
9be7915c59 Bug 599813 - nsSVGGlyphFrame::getCharacterData is expensive avoid calling it too many times. r+a=roc 2010-10-14 05:16:48 +01:00
Daniel Holbert
b5aa5d79c6 Bug 598798 patch 5: Make nsSVGImageFrame::PaintSVG use nsLayoutUtils::DrawSingleImage. r=roc r=jwatt a=blocking-betaN 2010-10-11 13:08:19 -07:00
Robert Longson
c92d390c9d Bug 601406 - GetBBox crashes when called on an SVG a element r=jwatt a=blocking-final 2010-10-08 17:49:39 +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
L. David Baron
a56a24a514 Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:47 -07:00
L. David Baron
40d60928c6 Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
Daniel Holbert
27a432d4a3 Bug 600574 part 2: Check for SVG images with viewBox in nsStyleBackground::Layer::RenderingMightDependOnFrameSize. r=bz r=longsonr a=blocking-betaN+ 2010-10-06 15:18:52 -07:00
KUROSAWA, Takeshi
6692b57dcc Bug 333698 - Fix x and y positioning of nested tspans; r=longsonr; a=roc 2010-09-18 12:46:48 +09:00
Tom Brinkman
ceef26ba74 Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0 2010-09-16 14:34:53 -07:00
Markus Stange
0f5da2f8ac Bug 590404 - Crash [@ nsURIHashKey::HashKey] with -moz-element in data: document; r=roc a=blocking-final+ 2010-09-14 15:50:41 -04:00
Robert Longson
83b62023a0 Bug 590291. r=dholbert,a=blocking2.0 2010-09-10 20:58:48 +01:00
Felipe Corrêa da Silva Sanches
b290b3c8a6 Bug 421473: Move tests from layout/reftests/svg/bugs to layout/svg/crashtests. r=dholbert a=tests-only
--HG--
rename : layout/reftests/svg/bugs/bug314244.xul => layout/svg/crashtests/314244-1.xul
rename : layout/reftests/svg/bugs/bug327709.svg => layout/svg/crashtests/327709-1.svg
rename : layout/reftests/svg/bugs/bug337408.xul => layout/svg/crashtests/337408-1.xul
rename : layout/reftests/svg/bugs/bug367368.xhtml => layout/svg/crashtests/367368-1.xhtml
2010-09-09 15:49:41 -04:00
Daniel Holbert
fd2bfc1250 Bug 276431 Patch 12d: Make nsSVGOuterSVGFrame::ComputeSize use containing-block-size as its own size if we're in <img>, just like we do for <embed>. r=roc a=blocking 2010-09-08 13:40:39 -07:00
Daniel Holbert
2ac6d89f7e Bug 276431 patch 12c: Make nsSVGRenderingObserver into a generic interface, and rename the existing impl to nsSVGIDRenderingObserver. r=roc a=blocking 2010-09-08 13:40:39 -07:00
Daniel Holbert
b24a5d67c8 Bug 276431 Patch 5: Move two nsSVGUtils methods to header file so they can be inlined in non-gklayout code. r=roc a=blocking 2010-09-08 13:40:39 -07:00
Markus Stange
df248c791c Bug 591141. Protect against null pattern. r=roc
--HG--
extra : rebase_source : 51658e6b24a3c2b7857e44ab5880d240aacd8115
2010-09-06 15:12:46 +12:00
L. David Baron
6f943b1da3 Introduce nsStyleCoord::HasCoordOrNonPercentCalc to check for either a coord value or a calc() value not containing a percent. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
Ms2ger
27271a8a8f Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
Robert O'Callahan
812e6204ae Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
a581cd6197 Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Robert O'Callahan
8cbf8e9f2a Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-20 14:29:01 -05:00
Robert O'Callahan
06241c1e45 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-20 14:29:01 -05:00
Chris Jones
921ef38edc Backed out changeset 7b3726c3a580 2010-08-19 19:04:08 -05:00
Robert O'Callahan
210184cb84 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-19 13:49:35 -05:00
Daniel Holbert
5b754a5516 Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
Robert O'Callahan
f8dc984ede Backing out bug 584282 and bug 537890 2010-08-14 02:35:06 +12:00
Markus Stange
18bccb9bd9 Bug 572689 - Allow overriding ID targets with mozSetImageElement for the BackgroundImageProperty which is used for -moz-element drawing. r=roc 2010-08-13 15:36:05 +02:00
Markus Stange
c90a203b09 Bug 506826 - Add nsSVGIntegrationUtils::DrawPaintServer for use in -moz-element drawing. r=roc 2010-08-13 15:32:27 +02:00
Markus Stange
12b1bcc7b0 Bug 506826 - Use a frame state bit for recursion detection in SVG pattern drawing. r=roc 2010-08-13 15:32:15 +02:00
Markus Stange
2ea78354c5 Bug 572689 - Make nsSVGRenderingObservers observe elements instead of frames. r=roc 2010-08-13 15:31:31 +02:00
Markus Stange
d3a1fa6d47 Bug 572689 - Add an SVG property for -moz-element called BackgroundImageProperty and make it able to handle multiple observers with different observer URLs. r=roc 2010-08-13 15:30:45 +02:00
L. David Baron
ee89e22866 Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:53 -07:00
Dão Gottwald
f246f9a00f Backed out changeset cdd440adb726 2010-08-10 15:10:11 +02:00
Ms2ger
e0dc6046da Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-10 14:25:28 +02:00
Robert Longson
f8e75e6fb6 Bug 577850 - A gradient applied to SVG Text element should render as if the objectBoundingBox spans the entire Text content. r=roc 2010-08-07 10:38:11 +01:00
Robert O'Callahan
9eb991d75a Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron 2010-08-13 22:01:58 +12:00
Robert O'Callahan
6ea38bb418 Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron 2010-08-13 22:01:13 +12:00
Robert Longson
2316d387ff Backout Bug 578309 due to mochitest failures 2010-07-27 09:35:54 +01:00
Robert Longson
c28d8f49a4 Bug 578309 - mask and clipPath applied to foreignObject are translated. r=roc a=blocking 2010-07-27 08:33:01 +01:00
Craig Topper
432b14f38e Bug 580902 - Remove "using namespace mozilla;" from nsSVGElement.h and fixup the places that relied on it. r=jwatt 2010-07-25 17:25:38 -07:00
Craig Topper
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Henri Sivonen
5bf17b6fc0 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. (Also disable/tweak 2 broken tests) r=dholbert, sr=roc 2010-07-18 15:07:54 -07:00
Daniel Holbert
afe13ab23c Bug 578459: Add a comment to currently-unused file svgBindings.xml to indicate why it hasn't been removed. [comment-only change] r=jwatt 2010-07-18 15:07:54 -07:00
Robert Longson
f098d16c9b Bug 487649 - Markers handle viewBox and preserveAspectRatio badly. r=jwatt 2010-07-18 11:06:03 +01:00
Jonathan Watt
fe8a477f84 Bug 515116. DeCOMify SVG length-list, and implement SMIL animation of length-list. r=longsonr, r=dholbert, sr=roc 2010-07-16 22:42:12 +01:00
Michael Ventnor
8139bee929 Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel 2010-07-16 09:07:49 +12:00
Robert Longson
9c5cda0b67 Bug 576986 - Fix pointer-events on foreignObject with clip-path. r=roc 2010-07-15 09:10:59 +01:00
Jonathan Kew
1341e3f276 bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron 2010-07-13 21:30:42 +01:00
Benjamin Smedberg
a249678c04 Final merge and landing of bug 568691 and dependent bugs to mozilla-central on a CLOSED TREE.
* bug 568691, register XPCOM components statically using manifests. r=mossop, with some test and build stuff r=vlad,sdwilsh
* bug 573557, rename categories with spaces to use hypens. r=jst
* bug 573739, Don't get the private browsing service during layout module initialization, r=ehsan

This initial merge does not include some work planned to land imminently:
* The extension manager still restarts. I need to solve a problem re-reading default preferences from extensions.
* MOZ_OMNIJAR is broken: there is a patch which I need to update in bug 568691.
* I will concurrently land a mobile-browser fix for component registration, but it may require some additional packaging changes.
2010-07-01 14:26:25 -04:00
Markus Stange
194000051b Bug 572697 - Teach SVG paint servers how to use arbitrary nsIFrames as the drawing target. r=longsonr
--HG--
extra : rebase_source : fea2f616f11668fccdc7d172b03e51c3f2b222cf
2010-07-01 18:40:30 +02:00
Markus Stange
5a166a073b Bug 572697 - Add frame types eSVGGeometry and eSVGPaintServer. r=roc
--HG--
extra : rebase_source : c4f39637b2e251d851cbbd3dadc91a516fd93e4b
2010-07-01 18:40:19 +02:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Robert Longson
5a4ce6bb1f Bug 573687 - Clamp radial gradients with small radii correctly. r=jwatt 2010-06-30 21:24:53 +01:00
Robert O'Callahan
6a21a7add0 Bug 572287. Fix leak of mThebesComputationalSurface. r=jwatt 2010-06-18 21:21:13 +12:00
Daniel Holbert
79fa9a7cdd Backed out changeset a8ac411e1653 (bug 552938) for causing some randomorange. 2010-06-09 17:16:25 -07:00
Henri Sivonen
8a99f75610 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. r=dholbert, sr=roc.
--HG--
extra : rebase_source : 6b4eb0b424b328cbb7853d767c2552ed01abc519
2010-05-25 14:57:58 +03:00
L. David Baron
d574dd00ce Use macros for frame state so that it's easy to change the size and easier to read the constants. (Bug 570837) r=roc 2010-06-08 22:28:14 -07:00
Jesse Ruderman
3dbc6bd8c8 Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Robert Longson
4be6c6e0c5 Bug 561726 - make animateTransform work on gradientTransform and patternTransform. r=jwatt 2010-05-28 13:15:56 +01:00
Boris Zbarsky
ae06132e92 Bug 566216. Our parent could be a document fragment. r=dholbert 2010-05-17 14:18:25 -04:00
Boris Zbarsky
ecc1fd2ec3 Bug 562700 part 2. Change the restyle-event functions to take Element. r=dbaron 2010-05-14 13:04:51 -04:00
Boris Zbarsky
45dd44b40c Bug 565826. Use Element in SMIL code as needed. r=dholbert 2010-05-14 13:04:51 -04:00
Boris Zbarsky
626e1bb052 Bug 565820. Use Element as the return value for ReferencedElement. r=roc 2010-05-14 13:04:51 -04:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Robert O'Callahan
5b63e43695 Bug 564993. Part 3: Split nsDisplayList::Paint into PaintForFrame and PaintRoot. Set the visible rect on the root layer from PaintRoot, let the visible rects of other layers be set when they're placed in their containers. r=mats 2010-03-11 09:55:05 +13:00
Robert Longson
1744d281b9 Bug 490003: Take outer <svg> element's border and padding into account, for invalidation and hit-testing. r=roc 2010-05-12 14:41:47 -07:00
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
L. David Baron
7c61f15cf1 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Boris Zbarsky
4625aac0dd Bug 560503. Don't check for mutation observer uniqueness; callers should handle that. r=sicking 2010-05-05 14:18:03 -04:00
timeless@mozdev.org
96aae71c09 Bug 562428 - comparison between signed and unsigned integer expressions in nsSVGGlyphFrame::GetCharNumAtPosition, r=roc 2010-04-28 12:46:00 -07:00
Boris Zbarsky
ca01cf3893 Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky
7773612f1a Bug 562688 part 12. Eliminate eELEMENT usage in the rest of layout except layout/style. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Daniel Holbert
49730afb12 Bug 436418, patch E: SVG/SMIL animateMotion - add support for <animateMotion> element and its core logic. r=roc 2010-04-28 16:00:54 -07:00
Jeff Muizelaar
f8ad58b7c9 Bug 542605. Use EXTEND_PAD_EDGE when painting svg images. r=jwatt
This was part of the cairo update, but I'm doing it separately to
minimize the amount of unrelated change.
2010-04-16 11:13:07 -04:00
Robert Longson
eb179fd968 Bug 456286 - support altGlyph elements as tspans. r=roc 2010-04-13 09:58:09 +01:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Jeff Muizelaar
d751aaf9e3 Backed out changeset 9480726de986
Rendering/Invalidation problems showed up.
2010-04-08 09:44:28 -04:00
Jeff Muizelaar
aff371e5cb Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
Reland after fixing quartz related clipping bug.
2010-04-05 22:28:54 -04:00
Felipe Gomes
960464193b Bug 489127 - nodesFromRect required for better usability on mobile devices (part 1+2) [r=roc] 2010-04-07 20:31:26 -04:00
Jeff Muizelaar
a7d2620943 Bug 542605. Backed out changeset 2b9a4c865737
Reftest failures that showed up at the last minute.
2010-04-06 00:14:30 -04:00
Jeff Muizelaar
6db34ced75 Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas 2010-04-05 22:28:54 -04:00
L. David Baron
f64f440371 Use the appropriate color based on visitedness for the color or fallback color parts of 'fill' and 'stroke'. (Bug 147777) r=jwatt 2010-04-02 18:58:26 -07:00
Zack Weinberg
ee4e0f1e56 Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc 2010-03-31 17:43:32 -07:00
Craig Topper
980fd2992c Bug 253889: DeCOMtaminate nsIPresShell - IsReflowLocked(). r=roc
--HG--
extra : rebase_source : 46adf0d5ad41602276c8bcded46e7dae0f399da9
2010-03-31 08:43:27 -04:00
Robert Longson
865f529f51 Bug 521636 - A single rotate number should rotate all glyphs. r=roc 2010-03-31 09:57:28 +01:00
Kyle Huey
53dc79a0f8 Backing out Bug 253889 to fix Bug 555727. 2010-03-30 19:57:12 -04:00
Kyle Huey
afc6c6ca2d Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Robert Longson
11cc4a0089 Bug 388547 - initial support for x,y,dx,dy,rotate lists on SVG text and tspan elements. r=roc 2010-03-30 11:21:19 +01:00
Craig Topper
6c9540a26d Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Daniel Holbert
d527d95aca Bug 555291: Replace multiple string-literals of SVG whitespace/comma delimeters with a single #define. r=jwatt 2010-03-26 20:55:28 -07:00
Robert O'Callahan
9a2ed61b34 Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron 2010-03-29 14:46:55 +13:00
Daniel Holbert
fa2294d8b4 Bug 553416: Make nsSVGClipPathFrame notify children when its transform attribute is animated. r=longsonr
--HG--
rename : layout/reftests/svg/smil/lime.svg => layout/reftests/svg/smil/transform/lime.svg
2010-03-24 09:54:48 -07:00
Robert O'Callahan
c11d039a6b Bug 538266. Part 3: move nsSVGUtils::GfxRectToIntRect to nsLayoutUtils. r=mats 2010-03-02 12:08:28 +13:00
Robert Longson
b14f3d12d5 Bug 550362 - Too much recursion through nsSVGEffects::InvalidateRenderingObservers with nested textPath. r=roc 2010-03-10 15:38:14 +00:00
Robert Longson
9d2bee7b70 Bug 547062 - Implement restrictions on clipPath content. r=roc 2010-03-02 09:31:07 +00:00
Robert O'Callahan
11a3d788af Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant. 2010-03-01 21:03:49 +13:00
Robert Longson
cad95ae0a9 Bug 534612 - clipPath references with clipPath elements do not work correctly. r=roc 2010-02-26 09:58:42 +00:00
Daniel Holbert
71488977d3 Bug 547333: Call FlushAnimations() in SVG DOM getters for animated values, and not in internal getters. r=jwatt 2010-02-25 10:20:43 -08:00
Jonathan Kew
3d28b28018 Bug 524107 - part 2 - store language as atom instead of string in gfxFontStyle. r=roc sr=mats 2010-02-24 09:57:57 -08:00
Jonathan Kew
e9d0f828e0 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Jonathan Kew
c3e4dd3c2e Bug 546813 - honor the language in the frame's styleContext when selecting fonts in SVG. r=jwatt 2010-02-21 11:13:54 -08:00
Alexander Surkov
be2b5e3966 Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz 2010-02-20 16:52:50 -08:00
Jonathan Watt
232dae9b42 Bug 541884. Add support for SMIL animation of the viewBox attribute in SVG. r=dholbert 2010-02-18 21:51:00 +00:00
Jonathan Watt
d8f45843d9 Bug 545042. Add support for SMIL animation of <angle> attributes in SVG. r=dholbert 2010-02-18 21:50:59 +00:00
Alexander Surkov
73e251f02b Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc 2010-02-12 01:34:01 +08:00
Robert Longson
1a51c439dc Bug 544742 - fePointLight does not work with primitiveUnits=objectBoundingBox. r=roc 2010-02-08 09:51:19 +00:00
Jonathan Watt
c9e50cb93c Bug 541882. Add support for SMIL animation of the preserveAspectRatio attribute in SVG. r=dholbert 2010-02-08 02:28:01 +00:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
L. David Baron
f60247a5cf Pass the dirty rect through, transformed appropriately, in nsSVGForeignObjectFrame::PaintSVG. (Bug 541188) r=jwatt sr=roc 2010-01-30 11:28:02 -08:00
L. David Baron
85280c6d89 No longer need to invalidate all of a foreignObject when there's an invalidate inside of it. (Bug 418063) r=jwatt 2010-01-26 12:39:56 -08:00
Jonathan Watt
b930b5ed27 Bug 540478, part 1 of 2. Make nsSVGEnum::GetAnimVal take its element as an argument in preparation for it needing to call FlushAnimations() on it. r=dholbert 2010-01-23 18:58:47 +00:00
Jonathan Watt
2a06aa219f Bug 540477. Add comments for nsSVGEffects::InvalidateRenderingObservers and others. r=longsonr 2010-01-23 18:47:53 +00:00
Jonathan Watt
51098080d7 Bug 522267, part 2 of 2. Add support for animating <number> attributes. r=dholbert 2009-12-29 07:34:27 +01:00
Jonathan Watt
4335bf355f Bug 522267, part 1 of 2. Make nsSVGNumber2::GetAnimVal take its element as an argument in preparation for it needing to call FlushAnimations() on it. r=dholbert 2009-12-29 07:32:03 +01:00
Robert Longson
29fa5a63d4 Bug 539122 - Stop restyling non-elements with SVG. r=roc 2010-01-13 11:09:58 +00:00
Daniel Holbert
f7436b6990 Bug 537313: Disable MSVC warning C4355 ('this' used in init list) in SVG's consumers of nsReferencedElement. r=roc 2010-01-13 00:18:48 -08:00
Jesse Ruderman
243c9242a9 Add crashtests 2010-01-10 19:50:41 -08:00
Robert Longson
f553d22ebd Bug 495968 - Only update the active switch child in nsSVGSwitchFrame::UpdateCoveredRegion. r=roc 2010-01-08 11:35:18 +00:00
Robert Longson
26ce10b388 Bug 536677 - fill with url to gradient not inherited when dynamically switched more than once. r=roc 2010-01-07 19:07:30 +00:00
Olli Pettay
63fd91b1fa Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Robert Longson
e57814fb2d Bug 519368 - pattern with viewBox not treated correctly. r=jwatt 2009-12-29 09:56:25 +00:00
Robert Longson
f63b60bea3 Bug 536444 - mochitest thebes crashtests: "<Error> doClip: empty path." followed by a hang (after 385228-1.svg).
r=roc.
2009-12-28 10:49:08 +01:00
Boris Zbarsky
b3883855ac Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
fantasai
1ffb0c06ef Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc 2009-12-24 00:21:15 -05:00
Robert Longson
a7156bee11 Bug 535185 - patterns of non-integer scaled size have seams. r=roc 2009-12-23 11:30:44 +00:00
Robert Longson
abf32eb824 Bug 510177 - path with a single point not rendered. r=jwatt 2009-12-21 22:10:34 +00:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Robert Longson
82d6c026db backout Bug 510177 (reftest failure) 2009-12-19 19:28:48 +00:00
Robert Longson
1b9b5b1ed5 Bug 510177 - path with a single point not rendered. r=jwatt 2009-12-19 17:00:58 +00:00
Daniel Holbert
4c5f0da0ed Bug 534156: Make sure to initialize local variable "axis" in nsSVGUtils::ObjectSpace. r=jwatt 2009-12-12 22:27:30 -08:00
Robert Longson
09b236ef87 Bug 534216 - Text in anchor tags not placed correctly if viewBox present. r=roc 2009-12-12 14:37:20 +00:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Boris Zbarsky
cc6eb188e6 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Robert Longson
3813a31710 Bug 520506 - Incorrect text getBBox in SVG. r=jwatt 2009-11-18 20:59:24 +00:00
Jesse Ruderman
42912e83cd Add crashtests for bug 466945, bug 464197, and bug 467323 2009-10-31 19:35:39 -07:00
Robert Longson
f575594f5e Bug 525363 - clipPath winding-mode is broken. r=roc 2009-10-30 20:21:49 +00:00
Robert O'Callahan
f29db2066b Bug 522767, fixing WinMo bustage 2009-10-27 15:16:35 +13:00
Robert O'Callahan
bf503ccbd8 Bug 522394. Make nsSVGUtils::ConvertToSurfaceSize more robust, and don't assert needlessly when we adjust filterRes to account for over-large filter sizes. r=jwatt 2009-10-27 14:43:55 +13:00
Robert Longson
0edaf9a46e Bug 448906 - linked patterns are not scaled correctly. r=roc 2009-10-26 19:37:31 +00:00
Jonathan Watt
88596a0dc1 Bug 524104. Markers should be affected by group opacity on the marked element. r=longsonr@gmail.com 2009-10-26 18:17:49 +01:00
Robert Longson
3635446381 Bug 521759 - patterns incorrect with viewBox and percentage widths or heights. r=roc 2009-10-25 13:05:33 +00:00
Jonathan Watt
6fd3e51824 Bug 523481. Restore the group opacity optimization that was broken by the patch for bug 455984. r=longsonr@gmail.com 2009-10-21 13:32:57 +02:00
Robert Longson
1507843db2 Backout Bug 388547 due to Mac test orange 2009-10-11 14:03:06 +01:00
Robert Longson
bbaa60b7ef Bug 388547 - Initial support for x,y,dx,dy,rotate lists on SVG text and tspan elements. r=roc 2009-10-11 12:44:33 +01:00
Boris Zbarsky
b12afecb76 Bug 512338. Make HitTestChildren use GetPrevSibling. r=jwatt 2009-10-02 12:31:45 -04:00
Robert O'Callahan
d56dfa741e Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Mats Palmgren
90fe0851f3 Bug 233463, patch 4 - Make nsIFrame::mNextSibling private. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
7ca7fe2f91 Bug 233463, patch 3 - Make Destroy/RemoveFrame() methods void and assert that the frame to remove is present. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
948203eb7d Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Robert Longson
84ff613d07 Bug 512890 - crashtest for ABORT: NULL content node with SVG filter, em units. 2009-09-14 21:19:46 +01:00
Robert Longson
806975ddab Bug 512890 - ABORT: NULL content node with SVG filter, em units. r=roc 2009-09-14 21:12:37 +01:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06: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
Paul Nickerson
9b57e868e6 Bug 515288 - crashtest for SVG element without current doc in getCTM. 2009-09-10 21:37:56 +01:00
Robert Longson
b0f7801cf3 Bug 515288 - Crash with getScreenCTM() on outer svg with no current document. r=roc 2009-09-10 21:25:48 +01:00
Martijn Wargers
a052c8af96 Bug 508247 - crashtest for non SVG element in path for getCTM. 2009-09-08 20:34:16 +01:00
Robert Longson
e22fe524e4 Bug 509940 - Images with fill=none are not displayed. r=jwatt 2009-08-31 12:26:23 +01:00
Robert Longson
666c268994 Bug 508247 - Crash if non SVG element encountered in path for getCTM. r=jwatt 2009-08-31 11:33:29 +01:00
Daniel Holbert
3da6629849 Bug 513262 - Remove unused helper function "GetFrameForContent" from nsSVGUtils. r=roc 2009-08-28 11:02:58 -07:00
Jonathan Watt
ed42a30cb8 Bug 508179. Implement 'pointer-events:none;' for all elements. r=roc, r=dbaron. 2009-08-26 20:53:35 -07:00
Robert O'Callahan
75dc1beb9c Backed out changeset e2927bb26412 2009-08-26 14:49:18 -07:00
Zack Weinberg
18c763f2c5 Bug 497495 part 3a: rationalize the queryframe-implementation macro naming scheme, restructure the implementation to detect duplicate entries, and a couple fixes to the frame ID enumeration. r=dbaron sr=roc
Bug 497495 part 3b: update users of queryframe macros (strictly mechanical change). r=dbaron

--HG--
extra : rebase_source : ee672a17934227b408b83dc6b5cc4e4909652f72
2009-08-26 09:27:42 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00