[svg] fill-opacity should be clamped to the [0,1] range
Created attachment 453342 [details] Patch
Committed r290568 (247846@main): <https://commits.webkit.org/247846@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 453342 [details].
<rdar://problem/89531516>
Comment on attachment 453342 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=453342&action=review > Source/WebCore/rendering/style/SVGRenderStyle.h:285 > + auto clampedOpacity = clampTo<float>(opacity, 0.f, 1.f); Should have been able to use std::clamp instead of clampTo<float> here. But I suppose either is OK.