Bug 1574391 - Move old MathML reftests into layout/reftests/mathml. r=emilio draft
authorpulselistener
Fri, 16 Aug 2019 13:29:24 +0000
changeset 2220748 c9a85a638075c9b897d648bb3904418d5c7cfd28
parent 2220470 5d4cbfe103bbc517599231eb33d4f3ebbbcede40
child 2220749 55fed3cf77888ddc18dfcdafa854f7128d5ca64e
push id407000
push userreviewbot
push dateFri, 16 Aug 2019 13:30:07 +0000
treeherdertry@55fed3cf7788 [default view] [failures only]
reviewersemilio
bugs1574391
milestone70.0a1
Bug 1574391 - Move old MathML reftests into layout/reftests/mathml. r=emilio Differential Revision: https://phabricator.services.mozilla.com/D42276 Differential Diff: PHID-DIFF-5wrxqbjqo4h7cadytzae
layout/reftests/bugs/345563-sub.xhtml
layout/reftests/bugs/345563-sup.xhtml
layout/reftests/bugs/347348-1-ref.xhtml
layout/reftests/bugs/347348-1.xhtml
layout/reftests/bugs/347496-1-ref.xhtml
layout/reftests/bugs/347496-1.xhtml
layout/reftests/bugs/355548-1-ref.xml
layout/reftests/bugs/355548-1.xml
layout/reftests/bugs/355548-2-ref.xml
layout/reftests/bugs/355548-2.xml
layout/reftests/bugs/355548-3-ref.xml
layout/reftests/bugs/355548-3.xml
layout/reftests/bugs/355548-4-ref.xml
layout/reftests/bugs/355548-4.xml
layout/reftests/bugs/355548-5-ref.xml
layout/reftests/bugs/355548-5.xml
layout/reftests/bugs/370692-1-ref.xhtml
layout/reftests/bugs/370692-1.xhtml
layout/reftests/bugs/373533-1.xhtml
layout/reftests/bugs/373533-2.xhtml
layout/reftests/bugs/373533-3.xhtml
layout/reftests/bugs/393760-1-ref.xml
layout/reftests/bugs/393760-1.xml
layout/reftests/bugs/393760-2-ref.xml
layout/reftests/bugs/393760-2.xml
layout/reftests/bugs/414123-ref.xhtml
layout/reftests/bugs/414123.xhtml
layout/reftests/bugs/reftest.list
layout/reftests/forms/input/number/number-reframe-anon-text-field-ref.html
layout/reftests/forms/input/number/number-reframe-anon-text-field.html
layout/reftests/mathml/162063-mathml.xhtml
layout/reftests/mathml/345563-sub.xhtml
layout/reftests/mathml/345563-sup.xhtml
layout/reftests/mathml/347348-1-ref.xhtml
layout/reftests/mathml/347348-1.xhtml
layout/reftests/mathml/347496-1-ref.xhtml
layout/reftests/mathml/347496-1.xhtml
layout/reftests/mathml/355548-1-ref.xml
layout/reftests/mathml/355548-1.xml
layout/reftests/mathml/355548-2-ref.xml
layout/reftests/mathml/355548-2.xml
layout/reftests/mathml/355548-3-ref.xml
layout/reftests/mathml/355548-3.xml
layout/reftests/mathml/355548-4-ref.xml
layout/reftests/mathml/355548-4.xml
layout/reftests/mathml/355548-5-ref.xml
layout/reftests/mathml/355548-5.xml
layout/reftests/mathml/370692-1-ref.xhtml
layout/reftests/mathml/370692-1.xhtml
layout/reftests/mathml/373533-1.xhtml
layout/reftests/mathml/373533-2.xhtml
layout/reftests/mathml/373533-3.xhtml
layout/reftests/mathml/393760-1-ref.xml
layout/reftests/mathml/393760-1.xml
layout/reftests/mathml/393760-2-ref.xml
layout/reftests/mathml/393760-2.xml
layout/reftests/mathml/414123-ref.xhtml
layout/reftests/mathml/414123.xhtml
layout/reftests/mathml/number-reframe-anon-text-field-ref.html
layout/reftests/mathml/number-reframe-anon-text-field.html
layout/reftests/mathml/reftest.list
layout/reftests/table-anonymous-boxes/162063-1.xhtml
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -467,22 +467,19 @@ fuzzy-if(skiaContent,0-2,0-3) == 339289-
 == 341043-1a.html 341043-1-ref.html
 != 341043-1b.html 341043-1-ref.html
 == 343538-1.html 343538-1-ref.html
 == 343540-1.html 343540-1-ref.html
 == 345267-1a.html 345267-1-ref.html
 == 345267-1b.html 345267-1-ref.html
 == 345267-1c.html 345267-1-ref.html
 == 345267-1d.html 345267-1-ref.html
-!= 345563-sub.xhtml 345563-sup.xhtml
 fuzzy-if(skiaContent,0-4,0-2) == 346774-1a.html 346774-1-ref.html
 fuzzy-if(skiaContent,0-4,0-2) == 346774-1b.html 346774-1-ref.html
 fuzzy-if(skiaContent,0-4,0-2) == 346774-1c.html 346774-1-ref.html
-== 347348-1.xhtml 347348-1-ref.xhtml
-== 347496-1.xhtml 347496-1-ref.xhtml
 == 347912-1.html 347912-1-ref.html
 == 348049-1.xhtml 348049-1-ref.xhtml
 == 348516-1.html 348516-1-ref.html
 == 348516-2.html 348516-2-ref.html
 != 348516-2.html 348516-2-notref.html
 != 348516-3.html 348516-3-notref.html
 == 348597-1.html 348597-ref.html
 == 348809-1a.html 348809-1-ref.html
@@ -526,21 +523,16 @@ random-if(cocoaWidget) == 350506-1.html 
 == 352980-2e.html 352980-2-ref.html
 == 352980-2f.html 352980-2-ref.html
 == 352980-3a.html 352980-3-ref.html
 == 352980-3b.html 352980-3-ref.html
 == 352980-3c.html 352980-3-ref.html
 == 352980-3d.html 352980-3-ref.html
 == 352980-3e.html 352980-3-ref.html
 == 352980-3f.html 352980-3-ref.html
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 355548-1.xml 355548-1-ref.xml # Bug 1392106
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 355548-2.xml 355548-2-ref.xml # Bug 1392106
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 355548-3.xml 355548-3-ref.xml # Bug 1392106
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 355548-4.xml 355548-4-ref.xml # Bug 1392106
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 355548-5.xml 355548-5-ref.xml # Bug 1392106
 == 356774-1.html 356774-1-ref.html
 == 356775-1.html 356775-1-ref.html
 == 359869-1.html 359869-1-ref.html
 != 359903-1.html 359903-1-ref.html # erosion of padding removed in bug 1010675
 != 359903-2.html 359903-2-ref.html # erosion of padding removed in bug 1010675
 == 360065-1.html 360065-1-ref.html
 == 360746-1.html 360746-1-ref.html
 == 360757-1a.html 360757-1-ref.html
@@ -646,17 +638,16 @@ asserts(4) == 368155-negative-margins-1.
 == 370525-rowspan-2a.html 370525-rowspan-2a-ref.html
 == 370525-rowspan-2b.html 370525-rowspan-2b-ref.html
 == 370525-rowspan-3.html 370525-rowspan-3-ref.html
 == 370525-rowspan-4.html 370525-rowspan-4-ref.html
 == 370525-sib.html 370525-sib-ref.html
 == 370586-1.xhtml 370586-1-ref.xhtml
 == 370629-1.html 370629-1-ref.html
 == 370629-2.html 370629-2-ref.html
-== 370692-1.xhtml 370692-1-ref.xhtml
 pref(layout.css.line-height.normal-as-resolved-value.enabled,false) == 371041-1.html 371041-1-ref.html
 == 371043-1.html 371043-1-ref.html
 == 371354-1.html 371354-1-ref.html
 == 371483-1.html about:blank # assertion test
 fails-if(Android&&!asyncPan) == 371561-1.html 371561-1-ref.html
 != 371681-1.xhtml about:blank
 == 371925-1a.html 371925-1-ref.html
 == 371925-1b.html 371925-1-ref.html
@@ -670,19 +661,16 @@ random-if(/^Windows\x20NT\x206\.1/.test(
 fuzzy-if(webrender&&winWidget,83-92,1-2) == 373295-1.html 373295-1-ref.html
 == 373298-1.html 373298-1-ref.html
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 373381-1.html 373381-1-ref.html # Bug 1392106
 fuzzy-if(skiaContent&&!Android,0-2,0-40) == 373381-2.html 373381-2-ref.html
 random-if(d2d) == 373381-3.html 373381-3-ref.html
 == 373381-4.html 373381-4-ref.html
 == 373383-1.html 373383-1-ref.html
 == 373433-1.html 373433-1-ref.html
-== 373533-1.xhtml about:blank
-== 373533-2.xhtml about:blank
-== 373533-3.xhtml about:blank
 == chrome://reftest/content/bugs/374038-1.xul chrome://reftest/content/bugs/374038-1-ref.xul
 == chrome://reftest/content/bugs/374038-2.xul chrome://reftest/content/bugs/374038-2-ref.xul
 random-if(d2d) == chrome://reftest/content/bugs/374719-1.xul chrome://reftest/content/bugs/374719-1-ref.xul
 fails == 374927-1.html 374927-1-ref.html # Was broken by patch for bug 368600; fails until bug 400776 is fixed
 == 375508-1.html 375508-1-ref.html
 == 375716-1.html 375716-1-ref.html
 == 375827-1.html 375827-1-ref.html
 == 376375-1.html 376375-1-ref.html
@@ -809,18 +797,16 @@ fuzzy-if(skiaContent,0-1,0-600) == 39364
 == 393655-1.html 393655-1-ref.html
 == 393655-2.html 393655-2-ref.html
 == 393655-3.html 393655-3-ref.html
 == 393655-4.html 393655-4-ref.html
 == 393655-5.html 393655-5-ref.html
 == 393671-1.html 393671-1-ref.html
 == 393671-2.html 393671-2-ref.html
 == 393671-3.html 393671-3-ref.html
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 393760-1.xml 393760-1-ref.xml # Bug 1392106
-fuzzy-if(skiaContent,0-2,0-500) == 393760-2.xml 393760-2-ref.xml
 == 394111-1.html about:blank  # Really an assertion test rather than a rendering test
 == 394534-1.html 394534-1-ref.html
 == 394676-1.xhtml 394676-1-ref.xhtml
 == 395107-1.html 395107-1-ref.html
 fuzzy-if(Android,0-4,0-2) == 395107-2.html 395107-2-ref.html # bug 1309533 fuzzy after test rebucketed
 fuzzy-if(skiaContent,0-1,0-118) fuzzy-if(geckoview,0-4,0-2) == 395107-3.html 395107-3-ref.html
 == 395107-4.html 395107-4-ref.html
 fuzzy-if(geckoview,0-4,0-1) == 395107-5.html 395107-5-ref.html
@@ -985,17 +971,16 @@ random-if(/^Windows\x20NT\x206\.1/.test(
 == 413292-1.html 413292-1-ref.html
 fuzzy-if(Android,0-11,0-17) fuzzy-if(webrender,0-1,0-10) == 413361-1.html 413361-1-ref.html # bug 1128229
 == 413840-background-unchanged.html 413840-background-unchanged-ref.html
 == 413840-ltr-offsets.html 413840-ltr-offsets-ref.html
 == 413840-rtl-offsets.html 413840-rtl-offsets-ref.html
 == 413840-pushed-line-bullet.html 413840-pushed-line-bullet-ref.html
 == 413840-bullet-first-line.html 413840-bullet-first-line-ref.html
 == 413982.html 413982-ref.html
-== 414123.xhtml 414123-ref.xhtml
 == 414638.html 414638-ref.html
 == 414851-1.html 414851-1-ref.html
 == 416106-1.xhtml 416106-1-ref.xhtml
 == 416752-1.html 416752-1-ref.html
 == 417178-1.html 417178-1-ref.html
 == 417246-1.html 417246-1-ref.html
 == 417676.html 417676-ref.html
 == 418574-1.html 418574-1-ref.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/mathml/162063-mathml.xhtml
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
+<head>
+<script type="text/javascript">
+/* <![CDATA[ */
+function boom()
+{
+   var q = document.getElementById("target");
+   remove(q);
+   document.documentElement.className = "";
+
+}
+
+function remove(n)
+{
+  n.parentNode.removeChild(n);
+}
+
+window.addEventListener("MozReftestInvalidate", boom);
+/* ]]> */
+</script>
+<title> test for pseudo removal</title>
+</head>
+
+<body>
+ <div style="display:table; border-spacing:10px; background-color:Maroon">
+     <math xmlns="http://www.w3.org/1998/Math/MathML" id="target">
+        <msup>
+          <mfenced>
+            <mrow>
+              <mi>a</mi>
+              <mo>+</mo>
+              <mi>b</mi>
+            </mrow>
+          </mfenced>
+          <mn>2</mn>
+        </msup>
+    </math>
+ </div>
+</body>
+</html>
rename from layout/reftests/bugs/345563-sub.xhtml
rename to layout/reftests/mathml/345563-sub.xhtml
rename from layout/reftests/bugs/345563-sup.xhtml
rename to layout/reftests/mathml/345563-sup.xhtml
rename from layout/reftests/bugs/347348-1-ref.xhtml
rename to layout/reftests/mathml/347348-1-ref.xhtml
rename from layout/reftests/bugs/347348-1.xhtml
rename to layout/reftests/mathml/347348-1.xhtml
rename from layout/reftests/bugs/347496-1-ref.xhtml
rename to layout/reftests/mathml/347496-1-ref.xhtml
rename from layout/reftests/bugs/347496-1.xhtml
rename to layout/reftests/mathml/347496-1.xhtml
rename from layout/reftests/bugs/355548-1-ref.xml
rename to layout/reftests/mathml/355548-1-ref.xml
rename from layout/reftests/bugs/355548-1.xml
rename to layout/reftests/mathml/355548-1.xml
rename from layout/reftests/bugs/355548-2-ref.xml
rename to layout/reftests/mathml/355548-2-ref.xml
rename from layout/reftests/bugs/355548-2.xml
rename to layout/reftests/mathml/355548-2.xml
rename from layout/reftests/bugs/355548-3-ref.xml
rename to layout/reftests/mathml/355548-3-ref.xml
rename from layout/reftests/bugs/355548-3.xml
rename to layout/reftests/mathml/355548-3.xml
rename from layout/reftests/bugs/355548-4-ref.xml
rename to layout/reftests/mathml/355548-4-ref.xml
rename from layout/reftests/bugs/355548-4.xml
rename to layout/reftests/mathml/355548-4.xml
rename from layout/reftests/bugs/355548-5-ref.xml
rename to layout/reftests/mathml/355548-5-ref.xml
rename from layout/reftests/bugs/355548-5.xml
rename to layout/reftests/mathml/355548-5.xml
rename from layout/reftests/bugs/370692-1-ref.xhtml
rename to layout/reftests/mathml/370692-1-ref.xhtml
rename from layout/reftests/bugs/370692-1.xhtml
rename to layout/reftests/mathml/370692-1.xhtml
rename from layout/reftests/bugs/373533-1.xhtml
rename to layout/reftests/mathml/373533-1.xhtml
rename from layout/reftests/bugs/373533-2.xhtml
rename to layout/reftests/mathml/373533-2.xhtml
rename from layout/reftests/bugs/373533-3.xhtml
rename to layout/reftests/mathml/373533-3.xhtml
rename from layout/reftests/bugs/393760-1-ref.xml
rename to layout/reftests/mathml/393760-1-ref.xml
rename from layout/reftests/bugs/393760-1.xml
rename to layout/reftests/mathml/393760-1.xml
rename from layout/reftests/bugs/393760-2-ref.xml
rename to layout/reftests/mathml/393760-2-ref.xml
rename from layout/reftests/bugs/393760-2.xml
rename to layout/reftests/mathml/393760-2.xml
rename from layout/reftests/bugs/414123-ref.xhtml
rename to layout/reftests/mathml/414123-ref.xhtml
rename from layout/reftests/bugs/414123.xhtml
rename to layout/reftests/mathml/414123.xhtml
rename from layout/reftests/forms/input/number/number-reframe-anon-text-field-ref.html
rename to layout/reftests/mathml/number-reframe-anon-text-field-ref.html
rename from layout/reftests/forms/input/number/number-reframe-anon-text-field.html
rename to layout/reftests/mathml/number-reframe-anon-text-field.html
--- a/layout/reftests/mathml/reftest.list
+++ b/layout/reftests/mathml/reftest.list
@@ -374,8 +374,24 @@ test-pref(font.minimum-size.x-math,40) =
 != radicalbar-2b.html about:blank
 != radicalbar-2c.html about:blank
 != radicalbar-2d.html about:blank
 != radicalbar-3.html about:blank
 != radicalbar-3a.html about:blank
 != radicalbar-3b.html about:blank
 != radicalbar-3c.html about:blank
 != radicalbar-3d.html about:blank
+== 347496-1.xhtml 347496-1-ref.xhtml
+!= 345563-sub.xhtml 345563-sup.xhtml
+== 347348-1.xhtml 347348-1-ref.xhtml
+random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 355548-1.xml 355548-1-ref.xml # Bug 1392106
+random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 355548-2.xml 355548-2-ref.xml # Bug 1392106
+random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 355548-3.xml 355548-3-ref.xml # Bug 1392106
+random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 355548-4.xml 355548-4-ref.xml # Bug 1392106
+random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 355548-5.xml 355548-5-ref.xml # Bug 1392106
+random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 393760-1.xml 393760-1-ref.xml # Bug 1392106
+fuzzy-if(skiaContent,0-2,0-500) == 393760-2.xml 393760-2-ref.xml
+== 414123.xhtml 414123-ref.xhtml
+== 370692-1.xhtml 370692-1-ref.xhtml
+== 373533-1.xhtml about:blank
+== 373533-2.xhtml about:blank
+== 373533-3.xhtml about:blank
+== 162063-mathml.xhtml about:blank
--- a/layout/reftests/table-anonymous-boxes/162063-1.xhtml
+++ b/layout/reftests/table-anonymous-boxes/162063-1.xhtml
@@ -1,16 +1,16 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
 <head>
 <script type="text/javascript">
 /* <![CDATA[ */
 function boom()
 {
-  var numTest = 17;
+  var numTest = 16;
   for (i = 1; i<= numTest; i++) {
     var target = "target" + i; 
     var q = document.getElementById(target);
     remove(q);
   }
    document.documentElement.className = "";
 
 }
@@ -66,59 +66,44 @@ window.addEventListener("MozReftestInval
  <div style="display:table; border-spacing:10px; background-color:navy">
  <div id="target9" style="display:-moz-column">target</div>
  </div>
  
  <div style="display:table; border-spacing:10px; background-color:teal">
  <div id="target10" style="display:-moz-popup">target</div>
  </div>
  
- <div style="display:table; border-spacing:10px; background-color:Maroon">
-     <math xmlns="http://www.w3.org/1998/Math/MathML" id="target11">
-        <msup>
-          <mfenced>
-            <mrow>
-              <mi>a</mi>
-              <mo>+</mo>
-              <mi>b</mi>
-            </mrow>
-          </mfenced>
-          <mn>2</mn>
-        </msup>
-    </math>
- </div>
- 
  <div style="display:table; border-spacing:10px; background-color:SkyBlue ">
-  <svg xmlns="http://www.w3.org/2000/svg" width="300" height="200" id="target12">
+  <svg xmlns="http://www.w3.org/2000/svg" width="300" height="200" id="target11">
       <circle cx="150" cy="100" r="50" />
     </svg>
 </div>
 
  
  <div style="display:table; border-spacing:10px; background-color:Peru">
   <div style="display:table-row;">
-  <div id="target13" style="display:table-row-group; overflow:scroll">target</div>
+  <div id="target12" style="display:table-row-group; overflow:scroll">target</div>
   </div>
 </div>
  
  <div style="display:table; border-spacing:10px; background-color:Tomato">
   <div style="display:table-row;">
-  <input type="button" value="OK" id="target14"></input>
+  <input type="button" value="OK" id="target13"></input>
   </div>
 </div>
  
  <div style="display:table; border-spacing:10px; background-color:DarkSeaGreen ">
   <div style="display:table-row;">
-   <div id="target15" style="display:table-column;"/>
+   <div id="target14" style="display:table-column;"/>
   </div>
 </div>
 
 <div style="display:table; border-spacing:10px; background-color:MistyRose">
   <div style="display:table-row;">
-   <div id="target16" style="display:table-column-group;"/>
+   <div id="target15" style="display:table-column-group;"/>
   </div>
 </div>
 
 <div style="display:table; border-spacing:10px; background-color:Indigo">
- <div id="target17" style="display:-moz-box">target</div>
+ <div id="target16" style="display:-moz-box">target</div>
  </div>
 </body>
 </html>