diff --git a/layout/reftests/svg/smil/motion/animateMotion-rotate-2.svg b/layout/reftests/svg/smil/motion/animateMotion-rotate-2.svg
index da79360609b5..930493e2678a 100644
--- a/layout/reftests/svg/smil/motion/animateMotion-rotate-2.svg
+++ b/layout/reftests/svg/smil/motion/animateMotion-rotate-2.svg
@@ -14,11 +14,13 @@
-
+ in different colors. 2.83 is just over 2*sqrt(2), sqrt(2) being the
+ maximum distance from a path that antialiasing of square pixels can
+ cause the path to affect. -->
+ style="fill: currentColor; stroke: lime; stroke-width: 2.83px"/>