gecko-dev/layout/svg
Timothy Nikkel 23ad6bdb31 Bug 1630900. Handle opacity correctly when creating web render commands for SVGGeometryFrame. r=nical,ahale
Very similar log to bug 1659788. CanOptimizeOpacity in this case means there is a wrapping opacity item that is handling our opacity. So if we try to handle it we would we double applying the opacity in the non-animated case. In the case where there is a compositor opacity animation we could draw the rect with 0 opacity and it won't be visible when the containing opacity is changed.

This mirrors how SVGUtils::ComputeOpacity handles opacity

https://searchfox.org/mozilla-central/rev/d6a131ceb435c03ccab2592578f6e2ebf12c1644/layout/svg/SVGUtils.cpp#389

Differential Revision: https://phabricator.services.mozilla.com/D166042
2024-04-15 20:41:20 +00:00
..
crashtests Bug 1882921: Initialize SVGTextDrawPathCallbacks:mPaintingShadows to false. r=longsonr,jfkthame 2024-03-01 16:09:25 +00:00
tests Bug 1855300 - convert .ini manifests to .toml: batch 11 remaining **/mochitest.ini r=jmaher,geckoview-reviewers,extension-reviewers,valentin,credential-management-reviewers,cookie-reviewers,sgalich,m_kato,robwu 2023-10-13 02:32:24 +00:00
AutoReferenceChainGuard.h
CSSClipPathInstance.cpp Bug 1884425 - Introduce PathOrShapeFunciton for path() and shape(). r=firefox-style-system-reviewers,zrhoffman 2024-03-28 19:42:13 +00:00
CSSClipPathInstance.h Bug 1823463 - Render clip-path:shape(). r=emilio 2024-03-18 21:20:29 +00:00
CSSFilterInstance.cpp
CSSFilterInstance.h
DisplaySVGItem.cpp
DisplaySVGItem.h
FilterInstance.cpp Bug 1875707 - Fix webrender filters when applied to continuation or split frames r=emilio 2024-01-23 11:41:23 +00:00
FilterInstance.h Bug 1868479 - Fix backdrop-filter with SVG filters r=dholbert 2023-12-07 14:35:13 +00:00
ISVGDisplayableFrame.h
ISVGSVGFrame.h
moz.build Bug 1855300 - convert .ini manifests to .toml: batch 11 remaining **/mochitest.ini r=jmaher,geckoview-reviewers,extension-reviewers,valentin,credential-management-reviewers,cookie-reviewers,sgalich,m_kato,robwu 2023-10-13 02:32:24 +00:00
svg.css Bug 1872907 - stop marking SVG symbol elements as display:none r=emilio 2024-01-09 22:02:13 +00:00
SVGAFrame.cpp Bug 1354393 - remove flush in SMILAnimationController::DoSample r=emilio 2024-04-09 15:35:30 +00:00
SVGClipPathFrame.cpp Bug 1869904 - Use range based for loops more r=TYLin 2023-12-18 16:24:11 +00:00
SVGClipPathFrame.h Bug 1765202 part 3 - ignore clip-path and mask properties that don't point to clipPath and mask elements r=emilio 2023-10-23 20:32:37 +00:00
SVGContainerFrame.cpp Bug 1872907 - stop marking SVG symbol elements as display:none r=emilio 2024-01-09 22:02:13 +00:00
SVGContainerFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
SVGContextPaint.cpp Bug 1885723 - Fix more jsm references in misc code. r=Gijs,necko-reviewers,dom-storage-reviewers,janv,kershaw 2024-03-19 08:59:11 +00:00
SVGContextPaint.h
SVGFEContainerFrame.cpp Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
SVGFEImageFrame.cpp Bug 1354393 - remove flush in SMILAnimationController::DoSample r=emilio 2024-04-09 15:35:30 +00:00
SVGFELeafFrame.cpp Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
SVGFEUnstyledLeafFrame.cpp Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
SVGFilterFrame.cpp Bug 1494263 part 1 - pass filterFrames around rather than getting them again and again r=emilio 2023-10-04 20:54:13 +00:00
SVGFilterFrame.h
SVGFilterInstance.cpp Bug 1862411 - simplify array access by using range based loops and LastElement r=emilio 2023-11-03 16:22:23 +00:00
SVGFilterInstance.h Bug 1862411 - simplify array access by using range based loops and LastElement r=emilio 2023-11-03 16:22:23 +00:00
SVGForeignObjectFrame.cpp Bug 1877850 Part 1 - Convert callers of ReflowInput physical size accessors to use logical ones. r=dholbert 2024-02-01 22:02:00 +00:00
SVGForeignObjectFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
SVGGeometryFrame.cpp Bug 1630900. Handle opacity correctly when creating web render commands for SVGGeometryFrame. r=nical,ahale 2024-04-15 20:41:20 +00:00
SVGGeometryFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
SVGGFrame.cpp
SVGGFrame.h
SVGGradientFrame.cpp Bug 1880669 - transform styles should apply to gradients and patterns r=emilio 2024-02-23 07:57:03 +00:00
SVGGradientFrame.h Bug 298281 - implement color-interpolation: linearRGB for gradients r=emilio 2023-12-18 21:41:50 +00:00
SVGImageContext.cpp
SVGImageContext.h
SVGImageFrame.cpp Bug 1354393 - remove flush in SMILAnimationController::DoSample r=emilio 2024-04-09 15:35:30 +00:00
SVGImageFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
SVGInnerSVGFrame.cpp
SVGInnerSVGFrame.h
SVGIntegrationUtils.cpp Bug 1871107 - Use do_AddRef more r=TYLin 2023-12-20 23:34:03 +00:00
SVGIntegrationUtils.h Bug 1868479 - Fix backdrop-filter with SVG filters r=dholbert 2023-12-07 14:35:13 +00:00
SVGMarkerFrame.cpp
SVGMarkerFrame.h
SVGMaskFrame.cpp Bug 1869904 - Use range based for loops more r=TYLin 2023-12-18 16:24:11 +00:00
SVGMaskFrame.h
SVGObserverUtils.cpp Bug 1861736 part 2 - explanation r=emilio DONTBUILD 2024-01-02 16:23:15 +00:00
SVGObserverUtils.h Bug 1870822 - Simplify referrer usage in SVGObserverUtils r=emilio 2023-12-19 17:13:59 +00:00
SVGOuterSVGFrame.cpp Bug 1888535 Part 5 - Remove DISPLAY_REFLOW. r=layout-reviewers,emilio 2024-04-02 19:03:05 +00:00
SVGOuterSVGFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
SVGPaintServerFrame.cpp
SVGPaintServerFrame.h
SVGPatternFrame.cpp Bug 1880669 - transform styles should apply to gradients and patterns r=emilio 2024-02-23 07:57:03 +00:00
SVGPatternFrame.h
SVGStopFrame.cpp Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
SVGSwitchFrame.cpp Bug 1876256 - simplify code in SVGSwitchFrame r=emilio 2024-01-24 10:43:33 +00:00
SVGSymbolFrame.cpp Bug 1872907 - stop marking SVG symbol elements as display:none r=emilio 2024-01-09 22:02:13 +00:00
SVGSymbolFrame.h Bug 1872907 - stop marking SVG symbol elements as display:none r=emilio 2024-01-09 22:02:13 +00:00
SVGTextFrame.cpp Bug 1882921 - Set mPaintingShadows to false in NotifySelectionBackgroundNeedsFill r=dholbert 2024-03-01 16:09:25 +00:00
SVGTextFrame.h Bug 1868049 - Use nsIMutationObserver's native callback optimisation mechanism r=emilio 2023-12-04 20:57:57 +00:00
SVGUseFrame.cpp Bug 1891002 - Make DidAnimateAttribute virtual rather than DidAnimateString r=emilio 2024-04-12 15:26:36 +00:00
SVGUseFrame.h Bug 1891002 - Make DidAnimateAttribute virtual rather than DidAnimateString r=emilio 2024-04-12 15:26:36 +00:00
SVGUtils.cpp Bug 1871412 - Fix scroll container checks for automatic minimum size and grid stretching checks. r=dholbert 2023-12-26 20:49:16 +00:00
SVGUtils.h Bug 1870200 - Break the cyclic dependency if any of the desendants uses non-scaling-stroke. r=emilio 2024-03-04 20:46:05 +00:00
SVGViewFrame.cpp Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
SVGViewportFrame.cpp
SVGViewportFrame.h