gecko-dev/layout/svg
cku 2ccbd7a896 Bug 1325038 - Part 1. Correct assertion logic. r=heycam
In the test case of bug 1324809:
1. A span is been broken into two continuation frames: FA and FB. FA is the first
connituation
2. Adding a filter effect to this span.
3. FA::FinishAndStoreOverflow is called. This function will call ComputeEffect:
  if (nsSVGIntegrationUtils::UsingEffectsForFrame(aFrame)) {
    aFrame->Properties().
    Set(nsIFrame::PreEffectsBBoxProperty(), new nsRect(r)); // Now FA has
                                                            // PreEffectsBBoxProperty
                                                            // but FB does not
                                                            // have yet.
    // ComputePostEffectsVisualOverflowRect will iterate all continuations from
    // FA to FB. At this moment, FB does not carry PreEffectsBBoxProperty,
    // assertion failure.
    r = nsSVGIntegrationUtils::ComputePostEffectsVisualOverflowRect(aFrame, r);
  }
4. FB::FinishAndStoreOverflow is called. But already too late.


MozReview-Commit-ID: 2c8OFzSLhfD
***
merge

MozReview-Commit-ID: C0lYQkKCYT6

--HG--
extra : rebase_source : d4777d5b60c9df78fd2ee1d734649b76579644c3
2017-01-12 16:38:48 +08:00
..
crashtests Bug 1324663 - stylo: Adjust expectations now that we've disabled style context tree structure assertions. r=me 2017-01-11 20:35:12 +08:00
tests Bug 1216893 - Add in disabled namespace for SVG r=hsivonen,smaug 2016-12-01 07:41:22 +00:00
AutoReferenceLimiter.h
moz.build Bug 1216893 - Add in disabled namespace for SVG r=hsivonen,smaug 2016-12-01 07:41:22 +00:00
nsCSSClipPathInstance.cpp Backed out changeset ad8e7493c933 (bug 1311244) 2017-01-12 14:19:28 +01:00
nsCSSClipPathInstance.h Bug 1311270 - Part 1. Move geomery box computing from nsCSSClipPathInstance to nsLayoutUtils. 2016-11-22 11:19:11 +08:00
nsCSSFilterInstance.cpp Bug 1307740 - Properly handle filter input tainting with CSS filters and multiple filters. r=jwatt 2016-10-19 11:32:02 -04:00
nsCSSFilterInstance.h Bug 1307740 - Properly handle filter input tainting with CSS filters and multiple filters. r=jwatt 2016-10-19 11:32:02 -04:00
nsFilterInstance.cpp Bug 1321056: Add includes/namespaces to fix latent unified bustage in layout/svg. r=TYLin 2016-11-29 11:41:16 -08:00
nsFilterInstance.h Bug 1307740 - Properly handle filter input tainting with CSS filters and multiple filters. r=jwatt 2016-10-19 11:32:02 -04:00
nsISVGChildFrame.h Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange 2016-07-14 12:47:06 +08:00
nsISVGSVGFrame.h
nsSVGAFrame.cpp Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsSVGClipPathFrame.cpp Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv 2016-12-18 11:11:47 +00:00
nsSVGClipPathFrame.h Bug 1321056: Add includes/namespaces to fix latent unified bustage in layout/svg. r=TYLin 2016-11-29 11:41:16 -08:00
nsSVGContainerFrame.cpp Bug 1321056: Add includes/namespaces to fix latent unified bustage in layout/svg. r=TYLin 2016-11-29 11:41:16 -08:00
nsSVGContainerFrame.h Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange 2016-07-14 12:47:06 +08:00
nsSVGEffects.cpp Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv 2016-12-18 11:11:47 +00:00
nsSVGEffects.h Bug 1323157 - Rename HasNoFilterOrHasValidFilter as HasNoOrValidFilter. r=longsonr+218550 2016-12-13 19:40:27 +08:00
nsSVGFilterFrame.cpp Bug 1245751 - Part 4: Allow href without xlink on SVG <filter> elements. r=jwatt 2016-07-05 18:18:51 +08:00
nsSVGFilterFrame.h
nsSVGFilterInstance.cpp Bug 1321056: Add includes/namespaces to fix latent unified bustage in layout/svg. r=TYLin 2016-11-29 11:41:16 -08:00
nsSVGFilterInstance.h Bug 1307740 - Properly handle filter input tainting with CSS filters and multiple filters. r=jwatt 2016-10-19 11:32:02 -04:00
nsSVGFilterPaintCallback.h Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange 2016-07-14 12:47:06 +08:00
nsSVGForeignObjectFrame.cpp Bug 1058040, part 1 - Move gfxTextContextPaint to a separate file to enable use in imagelib. r=dholbert 2016-07-22 12:07:39 +01:00
nsSVGForeignObjectFrame.h Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron 2016-07-21 18:36:39 +08:00
nsSVGGenericContainerFrame.cpp
nsSVGGenericContainerFrame.h
nsSVGGFrame.cpp
nsSVGGFrame.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsSVGGradientFrame.cpp Bug 1245751 - Part 10: Allow href without xlink on SVG Gradient elements. r=jwatt 2016-07-07 14:26:57 +08:00
nsSVGGradientFrame.h
nsSVGImageFrame.cpp Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv 2016-12-18 11:11:47 +00:00
nsSVGInnerSVGFrame.cpp Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange 2016-07-14 12:47:06 +08:00
nsSVGInnerSVGFrame.h Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange 2016-07-14 12:47:06 +08:00
nsSVGIntegrationUtils.cpp Bug 1325038 - Part 1. Correct assertion logic. r=heycam 2017-01-12 16:38:48 +08:00
nsSVGIntegrationUtils.h Bug 1321056: Add includes/namespaces to fix latent unified bustage in layout/svg. r=TYLin 2016-11-29 11:41:16 -08:00
nsSVGMarkerFrame.cpp Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv 2016-12-18 11:11:47 +00:00
nsSVGMarkerFrame.h Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv 2016-12-18 11:11:47 +00:00
nsSVGMaskFrame.cpp Bug 1314536 - Part 3. Correct comment and add a test case for it. r=mstange 2016-11-18 22:06:51 +08:00
nsSVGMaskFrame.h Bug 1314536 - Part 1. Implement/use nsSVGMaskFrame::MaskParams and add a test case for nested mask-mode usage in SVG mask. r=mstange 2016-11-16 12:59:52 +08:00
nsSVGMaskFrameNEON.cpp
nsSVGMaskFrameNEON.h
nsSVGOuterSVGFrame.cpp Bug 1316556 - Remove zeroing allocation in class nsIPresShell. r=dbaron. 2016-12-01 09:06:50 +01:00
nsSVGOuterSVGFrame.h Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron 2016-07-21 18:36:39 +08:00
nsSVGPaintServerFrame.h
nsSVGPatternFrame.cpp Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv 2016-12-18 11:11:47 +00:00
nsSVGPatternFrame.h Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv 2016-12-18 11:11:47 +00:00
nsSVGStopFrame.cpp
nsSVGSwitchFrame.cpp Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange 2016-07-14 12:47:06 +08:00
nsSVGUseFrame.cpp Bug 1245751 - Part 2: Allow href without xlink on SVG <use> elements. r=jwatt 2016-07-05 16:37:17 +08:00
nsSVGUtils.cpp Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv 2016-12-18 11:11:47 +00:00
nsSVGUtils.h Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv 2016-12-18 11:11:47 +00:00
svg.css Bug 843579 - Unprefix -moz-any-link. r=bz 2016-07-19 23:13:13 -04:00
SVGContextPaint.cpp Bug 1298774 - Part 5: Make nsStyleSVGPaint use css::URLValue for url() storage instead of FragmentOrURL. r=cjku 2016-10-11 14:56:11 +08:00
SVGContextPaint.h Bug 1282408 - add ignore initialization check flag for mDashOffset mStrokeWidth from SVGContextPaint. r=dholbert 2016-09-13 14:59:33 +02:00
SVGFEContainerFrame.cpp
SVGFEImageFrame.cpp Bug 1284350. Backed out changeset 69abdc731a99 (Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange) 2016-09-12 00:19:08 -05:00
SVGFELeafFrame.cpp
SVGFEUnstyledLeafFrame.cpp
SVGGeometryFrame.cpp Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv 2016-12-18 11:11:47 +00:00
SVGGeometryFrame.h Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv 2016-12-18 11:11:47 +00:00
SVGImageContext.h Bug 1298318 followup - Add notice comment in SVGImageContext. r=dholbert 2016-09-14 12:28:54 -07:00
SVGTextFrame.cpp Bug 1321056: Add includes/namespaces to fix latent unified bustage in layout/svg. r=TYLin 2016-11-29 11:41:16 -08:00
SVGTextFrame.h Bug 1316556 - Remove zeroing allocation in class nsIPresShell. r=dbaron. 2016-12-01 09:06:50 +01:00
SVGViewFrame.cpp