diff --git a/layout/reftests/svg/smil/syncbase/sandwich-priority-1.svg b/layout/reftests/svg/smil/syncbase/sandwich-priority-1.svg
index a1cbdad1ead4..abe1e67c3388 100644
--- a/layout/reftests/svg/smil/syncbase/sandwich-priority-1.svg
+++ b/layout/reftests/svg/smil/syncbase/sandwich-priority-1.svg
@@ -12,6 +12,6 @@
-->
-
+
diff --git a/layout/reftests/svg/smil/syncbase/sandwich-priority-10.svg b/layout/reftests/svg/smil/syncbase/sandwich-priority-10.svg
index d1d0f59475b9..0732c695f574 100644
--- a/layout/reftests/svg/smil/syncbase/sandwich-priority-10.svg
+++ b/layout/reftests/svg/smil/syncbase/sandwich-priority-10.svg
@@ -19,8 +19,8 @@
priority.
-->
-
+
-
+
diff --git a/layout/reftests/svg/smil/syncbase/sandwich-priority-11.svg b/layout/reftests/svg/smil/syncbase/sandwich-priority-11.svg
index 3ba4386f6517..7f96942c43c5 100644
--- a/layout/reftests/svg/smil/syncbase/sandwich-priority-11.svg
+++ b/layout/reftests/svg/smil/syncbase/sandwich-priority-11.svg
@@ -11,7 +11,7 @@
-
diff --git a/layout/reftests/svg/smil/syncbase/sandwich-priority-2.svg b/layout/reftests/svg/smil/syncbase/sandwich-priority-2.svg
index 4a72ec6e9336..3d6d458f5070 100644
--- a/layout/reftests/svg/smil/syncbase/sandwich-priority-2.svg
+++ b/layout/reftests/svg/smil/syncbase/sandwich-priority-2.svg
@@ -9,10 +9,10 @@
A longer chain.
-->
-
+
-
-
-
+
+
+
diff --git a/layout/reftests/svg/smil/syncbase/sandwich-priority-3.svg b/layout/reftests/svg/smil/syncbase/sandwich-priority-3.svg
index 5050f2b14f2a..c566d8cd43c2 100644
--- a/layout/reftests/svg/smil/syncbase/sandwich-priority-3.svg
+++ b/layout/reftests/svg/smil/syncbase/sandwich-priority-3.svg
@@ -13,8 +13,8 @@
'a's end time and so shouldn't be given the higher priority.
-->
-
-
-
+
+
+
diff --git a/layout/reftests/svg/smil/syncbase/sandwich-priority-4.svg b/layout/reftests/svg/smil/syncbase/sandwich-priority-4.svg
index ce54ab6e8266..7ce158672af2 100644
--- a/layout/reftests/svg/smil/syncbase/sandwich-priority-4.svg
+++ b/layout/reftests/svg/smil/syncbase/sandwich-priority-4.svg
@@ -10,6 +10,6 @@
-->
-
+
diff --git a/layout/reftests/svg/smil/syncbase/sandwich-priority-5.svg b/layout/reftests/svg/smil/syncbase/sandwich-priority-5.svg
index a45da2dcb155..05d82ffdf13d 100644
--- a/layout/reftests/svg/smil/syncbase/sandwich-priority-5.svg
+++ b/layout/reftests/svg/smil/syncbase/sandwich-priority-5.svg
@@ -14,8 +14,7 @@
-->
-
-
+
+
diff --git a/layout/reftests/svg/smil/syncbase/sandwich-priority-6.svg b/layout/reftests/svg/smil/syncbase/sandwich-priority-6.svg
index 2545a04dedc1..a27b81dfab5e 100644
--- a/layout/reftests/svg/smil/syncbase/sandwich-priority-6.svg
+++ b/layout/reftests/svg/smil/syncbase/sandwich-priority-6.svg
@@ -11,7 +11,7 @@
-
diff --git a/layout/reftests/svg/smil/syncbase/sandwich-priority-7.svg b/layout/reftests/svg/smil/syncbase/sandwich-priority-7.svg
index 9a9090f5e041..db72072a752b 100644
--- a/layout/reftests/svg/smil/syncbase/sandwich-priority-7.svg
+++ b/layout/reftests/svg/smil/syncbase/sandwich-priority-7.svg
@@ -19,9 +19,9 @@
but it's not.
-->
-
+
-
-
+
+
diff --git a/layout/reftests/svg/smil/syncbase/sandwich-priority-8.svg b/layout/reftests/svg/smil/syncbase/sandwich-priority-8.svg
index 9ff2588fb7f6..338d49e8764b 100644
--- a/layout/reftests/svg/smil/syncbase/sandwich-priority-8.svg
+++ b/layout/reftests/svg/smil/syncbase/sandwich-priority-8.svg
@@ -20,6 +20,6 @@
-->
-
+
diff --git a/layout/reftests/svg/smil/syncbase/sandwich-priority-9.svg b/layout/reftests/svg/smil/syncbase/sandwich-priority-9.svg
index 42417c028932..d8ec1709cd6d 100644
--- a/layout/reftests/svg/smil/syncbase/sandwich-priority-9.svg
+++ b/layout/reftests/svg/smil/syncbase/sandwich-priority-9.svg
@@ -14,8 +14,8 @@
dependent elements.
-->
-
-
-
+
+
+