gecko-dev/layout/svg
Markus Stange 51c046a07a Bug 997735 - Rename nsSVGIntegrationUtils::GetOffsetToUserSpace to GetOffsetToBoundingBox. r=roc
There are three spaces that nsSVGIntegrationUtils needs to convert between. I'll call them "frame space", "bounding box frame space" and "user space".

"Bounding box frame space" has its origin at the top left of the union of a frame's border boxes over all continuations.

For SVG frames, "frame space" and "bounding box frame space" are the same because SVG frames don't have multiple continuations.

For non-SVG frames, "bounding box frame space" and "user space" are the same.

However, for SVG frames, "bounding box frame space" and "user space" are different! For example, for a <rect x="100" y="100">, the point 0,0 in frame space is at the rect's top left corner, but the point 0,0 in user space is 100,100 pixels away from the rect's corner.

nsSVGIntegrationUtils::GetOffsetToUserSpace took the non-SVG viewpoint, but it's misleading for SVG frames.
2014-04-23 11:47:31 +02:00
..
crashtests Bug 993443 - Relax the assertion in ConstrainToCoordValues to allow aSize to also be zero. r=longsonr 2014-04-13 11:07:10 +01:00
resources/content Bug 596753: Flatten layout/svg/base/src into layout/svg. r=dholbert 2012-09-24 23:01:21 +02:00
tests
SVGFEContainerFrame.cpp Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
SVGFEImageFrame.cpp Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
SVGFELeafFrame.cpp Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
SVGFEUnstyledLeafFrame.cpp Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
SVGImageContext.h Bug 764299 (Part 1) - Add hashing to SVGImageContext. r=dholbert 2013-10-22 13:37:57 +02:00
SVGTextFrame.cpp Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc 2014-04-14 21:30:25 -07:00
SVGTextFrame.h Bug 974135: Get rid of NS_IMETHOD in nsISVGChildFrame.h and its implementations r=dholbert 2014-02-19 14:34:31 -08:00
SVGViewFrame.cpp Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
moz.build Bug 948265 - Split out rendering code from nsSVGFilterInstance into nsFilterInstance. r=roc 2014-02-24 10:22:58 -05:00
nsFilterInstance.cpp Bug 991285 part 1: Consistently allocate nsRenderingContext instances on the heap. r=roc 2014-04-15 12:54:10 -07:00
nsFilterInstance.h Bug 948265 - Rename intermediate space to filter space and change filter space origin to user space origin. r=mstange, r=longsonr 2014-03-26 16:21:48 -07:00
nsISVGChildFrame.h Bug 974135: Get rid of NS_IMETHOD in nsISVGChildFrame.h and its implementations r=dholbert 2014-02-19 14:34:31 -08:00
nsISVGSVGFrame.h Bug 596753: Flatten layout/svg/base/src into layout/svg. r=dholbert 2012-09-24 23:01:21 +02:00
nsSVGAFrame.cpp Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
nsSVGClipPathFrame.cpp Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert 2014-02-17 23:47:48 -08:00
nsSVGClipPathFrame.h Bug 919806 followup: Reindent method declarations affected by NS_IMETHOD-removal. (whitespace-only; no review) DONTBUILD 2014-02-18 00:36:33 -08:00
nsSVGContainerFrame.cpp Bug 974135: Get rid of NS_IMETHOD in nsISVGChildFrame.h and its implementations r=dholbert 2014-02-19 14:34:31 -08:00
nsSVGContainerFrame.h Bug 974135: Get rid of NS_IMETHOD in nsISVGChildFrame.h and its implementations r=dholbert 2014-02-19 14:34:31 -08:00
nsSVGEffects.cpp Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz 2014-03-25 09:25:47 -04:00
nsSVGEffects.h Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg 2014-02-26 13:36:35 -08:00
nsSVGFilterFrame.cpp Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
nsSVGFilterFrame.h Bug 948265 - Remove deprecated filterRes attribute from SVG filters. r=roc, r=hsivonen 2014-03-10 08:55:25 -04:00
nsSVGFilterInstance.cpp Bug 948265 - Rename intermediate space to filter space and change filter space origin to user space origin. r=mstange, r=longsonr 2014-03-26 16:21:48 -07:00
nsSVGFilterInstance.h Bug 948265 - Rename intermediate space to filter space and change filter space origin to user space origin. r=mstange, r=longsonr 2014-03-26 16:21:48 -07:00
nsSVGFilterPaintCallback.h bug 875329 - don't ignore transforms when rendering SVG-in-OT glyphs. r=heycam 2013-09-11 08:27:45 +01:00
nsSVGForeignObjectFrame.cpp Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc 2014-04-14 21:30:25 -07:00
nsSVGForeignObjectFrame.h Bug 974135: Get rid of NS_IMETHOD in nsISVGChildFrame.h and its implementations r=dholbert 2014-02-19 14:34:31 -08:00
nsSVGGFrame.cpp Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert 2014-02-17 23:47:48 -08:00
nsSVGGFrame.h Bug 919806 followup: Reindent method declarations affected by NS_IMETHOD-removal. (whitespace-only; no review) DONTBUILD 2014-02-18 00:36:33 -08:00
nsSVGGenericContainerFrame.cpp Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert 2014-02-17 23:47:48 -08:00
nsSVGGenericContainerFrame.h Bug 919806 followup: Reindent method declarations affected by NS_IMETHOD-removal. (whitespace-only; no review) DONTBUILD 2014-02-18 00:36:33 -08:00
nsSVGGradientFrame.cpp Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert 2014-02-17 23:47:48 -08:00
nsSVGGradientFrame.h Bug 919806 followup: Reindent method declarations affected by NS_IMETHOD-removal. (whitespace-only; no review) DONTBUILD 2014-02-18 00:36:33 -08:00
nsSVGImageFrame.cpp Bug 988818 - Stop creating a Thebes (gfxASurface) backed gfxContext in nsSVGImageFrame (Moz2D migration). r=longsonr 2014-03-31 12:53:54 +01:00
nsSVGInnerSVGFrame.cpp Bug 974135: Get rid of NS_IMETHOD in nsISVGChildFrame.h and its implementations r=dholbert 2014-02-19 14:34:31 -08:00
nsSVGInnerSVGFrame.h Bug 974135: Get rid of NS_IMETHOD in nsISVGChildFrame.h and its implementations r=dholbert 2014-02-19 14:34:31 -08:00
nsSVGIntegrationUtils.cpp Bug 997735 - Rename nsSVGIntegrationUtils::GetOffsetToUserSpace to GetOffsetToBoundingBox. r=roc 2014-04-23 11:47:31 +02:00
nsSVGIntegrationUtils.h Bug 997735 - Rename nsSVGIntegrationUtils::GetOffsetToUserSpace to GetOffsetToBoundingBox. r=roc 2014-04-23 11:47:31 +02:00
nsSVGMarkerFrame.cpp Bug 979407 - Fix ASSERTION: viewport height must be nonnegative, with negative markerHeight or markerWidth attribute. r=dholbert 2014-03-05 21:28:12 +00:00
nsSVGMarkerFrame.h Bug 919806 followup: Reindent method declarations affected by NS_IMETHOD-removal. (whitespace-only; no review) DONTBUILD 2014-02-18 00:36:33 -08:00
nsSVGMaskFrame.cpp Bug 991285 part 1: Consistently allocate nsRenderingContext instances on the heap. r=roc 2014-04-15 12:54:10 -07:00
nsSVGMaskFrame.h Bug 919806 followup: Reindent method declarations affected by NS_IMETHOD-removal. (whitespace-only; no review) DONTBUILD 2014-02-18 00:36:33 -08:00
nsSVGOuterSVGFrame.cpp Bug 974687 - Part 2: Fix more than 80cols issues caused by MOZ_OVERRIDE annotation. r=dholbert 2014-02-24 09:41:56 -05:00
nsSVGOuterSVGFrame.h Bug 974135: Get rid of NS_IMETHOD in nsISVGChildFrame.h and its implementations r=dholbert 2014-02-19 14:34:31 -08:00
nsSVGPaintServerFrame.cpp Bug 956311 - Remove nsSVGGeometryFrame. r=dholbert 2014-01-04 08:29:02 +00:00
nsSVGPaintServerFrame.h Bug 956311 - Remove nsSVGGeometryFrame. r=dholbert 2014-01-04 08:29:02 +00:00
nsSVGPathGeometryFrame.cpp Bug 959128 - Fix transforms of clipPath content for clipPath being used within SVG-in-OpenType glyph. r=heycam 2014-03-25 08:51:10 +00:00
nsSVGPathGeometryFrame.h Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
nsSVGPatternFrame.cpp Bug 991285 part 1: Consistently allocate nsRenderingContext instances on the heap. r=roc 2014-04-15 12:54:10 -07:00
nsSVGPatternFrame.h Bug 919806 followup: Reindent method declarations affected by NS_IMETHOD-removal. (whitespace-only; no review) DONTBUILD 2014-02-18 00:36:33 -08:00
nsSVGStopFrame.cpp Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
nsSVGSwitchFrame.cpp Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04:00
nsSVGUseFrame.cpp Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
nsSVGUtils.cpp Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
nsSVGUtils.h Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
svg.css Backout changesets 37f9a5424227, c1578a4fc86d and a417424f9213 (for bugs 933354, 929021 and 923193 respectively) while we figure out performance regressions 2013-11-11 15:23:56 +13:00