[mathml] Adjust padding for invalid fractions reftests

The invalid fraction reftests compare an <mfrac> with an invalid number
of children against an <mrow> with the same children, in order to test
this statement from [1]:

"If the <mfrac> element has less or more than two in-flow children, its
layout algorithm is the same as the <mrow> element."

However, the same section indicates just above a default padding for
mfrac elements, so the reftests can't match. This CL fixes that by
making the reference set these padding values to 1px.

[1] https://w3c.github.io/mathml-core/#fractions-mfrac

Bug: 6606
Change-Id: I598e2cdd743c440774ac3b3ecb43cb8c84c59b3e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3015322
Reviewed-by: Manuel Rego <rego@igalia.com>
Commit-Queue: Frédéric Wang <fwang@igalia.com>
Cr-Commit-Position: refs/heads/master@{#899960}
diff --git a/mathml/presentation-markup/fractions/frac-invalid-2-ref.html b/mathml/presentation-markup/fractions/frac-invalid-2-ref.html
index 5b1960d..d57c209 100644
--- a/mathml/presentation-markup/fractions/frac-invalid-2-ref.html
+++ b/mathml/presentation-markup/fractions/frac-invalid-2-ref.html
@@ -7,7 +7,7 @@
 <body>
   <p>This test passes if you see a single rectangle.</p>
   <math>
-    <mrow>
+    <mrow style="padding-inline-start: 1px; padding-inline-end: 1px;">
       <mspace width="200px" height="200px" style="background: green"></mspace>
     </mrow>
   </math>
diff --git a/mathml/presentation-markup/fractions/frac-invalid-3-ref.html b/mathml/presentation-markup/fractions/frac-invalid-3-ref.html
index 7cb95ac..703e4ae 100644
--- a/mathml/presentation-markup/fractions/frac-invalid-3-ref.html
+++ b/mathml/presentation-markup/fractions/frac-invalid-3-ref.html
@@ -7,7 +7,7 @@
 <body>
   <p>This test passes if you see a single rectangle.</p>
   <math>
-    <mrow>
+    <mrow style="padding-inline-start: 1px; padding-inline-end: 1px;">
       <mspace width="50px" height="200px" style="background: green"></mspace>
       <mspace width="50px" height="200px" style="background: green"></mspace>
       <mspace width="100px" height="200px" style="background: green"></mspace>
diff --git a/mathml/presentation-markup/fractions/frac-invalid-ref.html b/mathml/presentation-markup/fractions/frac-invalid-ref.html
index e1c44fe..beb3024 100644
--- a/mathml/presentation-markup/fractions/frac-invalid-ref.html
+++ b/mathml/presentation-markup/fractions/frac-invalid-ref.html
@@ -7,7 +7,7 @@
 <body>
   <p>This test passes if mfrac renders nothing.</p>
   <math>
-    <mrow>
+    <mrow style="padding-inline-start: 1px; padding-inline-end: 1px;">
     </mrow>
   </math>
 </body>