Bug 1290813 - Include <ol reversed> reftests in wpt manifest, add test for nested div; r=xidorn
authorManish Goregaokar <manishearth@gmail.com>
Mon, 01 Aug 2016 16:41:40 +0530
changeset 307520 738847eb38313539c6efc7678a53d84ee9fb0266
parent 307519 2248a75304770fcb2b0eba29c7eb73a5a19fea43
child 307521 192c7f9edb1cfbb7d6cfdd9e526ac0a766a9156b
push id30514
push usercbook@mozilla.com
push dateTue, 02 Aug 2016 15:04:11 +0000
treeherdermozilla-central@ea6e87bbd03e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersxidorn
bugs1290813
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1290813 - Include <ol reversed> reftests in wpt manifest, add test for nested div; r=xidorn MozReview-Commit-ID: HtyLrSiX0KS
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1a.html
testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1b.html
testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1c.html
testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1d.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -36095,16 +36095,66 @@
       "WebCryptoAPI/generateKey/test_failures.html",
       "web-animations/interfaces/AnimationTimeline/document-timeline.html",
       "web-animations/interfaces/AnimationTimeline/idlharness.html",
       "WebCryptoAPI/generateKey/failures.worker.js",
       "WebCryptoAPI/generateKey/test_successes.html"
     ],
     "deleted_reftests": {},
     "items": {
+      "reftest": {
+        "html/semantics/grouping-content/the-ol-element/reversed-1a.html": [
+          {
+            "path": "html/semantics/grouping-content/the-ol-element/reversed-1a.html",
+            "references": [
+              [
+                "/html/semantics/grouping-content/the-ol-element/reversed-1-ref.html",
+                "=="
+              ]
+            ],
+            "url": "/html/semantics/grouping-content/the-ol-element/reversed-1a.html"
+          }
+        ],
+        "html/semantics/grouping-content/the-ol-element/reversed-1b.html": [
+          {
+            "path": "html/semantics/grouping-content/the-ol-element/reversed-1b.html",
+            "references": [
+              [
+                "/html/semantics/grouping-content/the-ol-element/reversed-1-ref.html",
+                "=="
+              ]
+            ],
+            "url": "/html/semantics/grouping-content/the-ol-element/reversed-1b.html"
+          }
+        ],
+        "html/semantics/grouping-content/the-ol-element/reversed-1c.html": [
+          {
+            "path": "html/semantics/grouping-content/the-ol-element/reversed-1c.html",
+            "references": [
+              [
+                "/html/semantics/grouping-content/the-ol-element/reversed-1-ref.html",
+                "=="
+              ]
+            ],
+            "url": "/html/semantics/grouping-content/the-ol-element/reversed-1c.html"
+          }
+        ],
+        "html/semantics/grouping-content/the-ol-element/reversed-1d.html": [
+          {
+            "path": "html/semantics/grouping-content/the-ol-element/reversed-1d.html",
+            "references": [
+              [
+                "/html/semantics/grouping-content/the-ol-element/reversed-1-ref.html",
+                "=="
+              ]
+            ],
+            "url": "/html/semantics/grouping-content/the-ol-element/reversed-1d.html"
+          }
+        ]
+      },
       "testharness": {
         "2dcontext/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.NaN.html": [
           {
             "path": "2dcontext/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.NaN.html",
             "url": "/2dcontext/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.NaN.html"
           }
         ],
         "WebCryptoAPI/generateKey/failures_AES-CBC.worker.js": [
@@ -36494,17 +36544,66 @@
         "webaudio/the-audio-api/the-pannernode-interface/test-pannernode-automation.html": [
           {
             "path": "webaudio/the-audio-api/the-pannernode-interface/test-pannernode-automation.html",
             "url": "/webaudio/the-audio-api/the-pannernode-interface/test-pannernode-automation.html"
           }
         ]
       }
     },
-    "reftest_nodes": {}
+    "reftest_nodes": {
+      "html/semantics/grouping-content/the-ol-element/reversed-1a.html": [
+        {
+          "path": "html/semantics/grouping-content/the-ol-element/reversed-1a.html",
+          "references": [
+            [
+              "/html/semantics/grouping-content/the-ol-element/reversed-1-ref.html",
+              "=="
+            ]
+          ],
+          "url": "/html/semantics/grouping-content/the-ol-element/reversed-1a.html"
+        }
+      ],
+      "html/semantics/grouping-content/the-ol-element/reversed-1b.html": [
+        {
+          "path": "html/semantics/grouping-content/the-ol-element/reversed-1b.html",
+          "references": [
+            [
+              "/html/semantics/grouping-content/the-ol-element/reversed-1-ref.html",
+              "=="
+            ]
+          ],
+          "url": "/html/semantics/grouping-content/the-ol-element/reversed-1b.html"
+        }
+      ],
+      "html/semantics/grouping-content/the-ol-element/reversed-1c.html": [
+        {
+          "path": "html/semantics/grouping-content/the-ol-element/reversed-1c.html",
+          "references": [
+            [
+              "/html/semantics/grouping-content/the-ol-element/reversed-1-ref.html",
+              "=="
+            ]
+          ],
+          "url": "/html/semantics/grouping-content/the-ol-element/reversed-1c.html"
+        }
+      ],
+      "html/semantics/grouping-content/the-ol-element/reversed-1d.html": [
+        {
+          "path": "html/semantics/grouping-content/the-ol-element/reversed-1d.html",
+          "references": [
+            [
+              "/html/semantics/grouping-content/the-ol-element/reversed-1-ref.html",
+              "=="
+            ]
+          ],
+          "url": "/html/semantics/grouping-content/the-ol-element/reversed-1d.html"
+        }
+      ]
+    }
   },
   "reftest_nodes": {
     "2dcontext/building-paths/canvas_complexshapes_arcto_001.htm": [
       {
         "path": "2dcontext/building-paths/canvas_complexshapes_arcto_001.htm",
         "references": [
           [
             "/2dcontext/building-paths/canvas_complexshapes_arcto_001-ref.htm",
--- a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1a.html
+++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1a.html
@@ -1,6 +1,10 @@
 <!DOCTYPE html>
+<meta charset=utf-8>
+<title>`reversed` should reverse the numbering correctly</title>
+<link rel=match href="reversed-1-ref.html">
+<link rel=help href="https://html.spec.whatwg.org/#attr-ol-reversed">
 <ol reversed>
   <li>Three</li>
   <li>Two</li>
   <li>One</li>
 </ol>
--- a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1b.html
+++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1b.html
@@ -1,9 +1,13 @@
 <!DOCTYPE html>
+<meta charset=utf-8>
+<title>Dynamically setting `reversed` should update the numbering</title>
+<link rel=match href="reversed-1-ref.html">
+<link rel=help href="https://html.spec.whatwg.org/#attr-ol-reversed">
 <ol id="x">
   <li>Three</li>
   <li>Two</li>
   <li>One</li>
 </ol>
 <script>
   var l = document.getElementById("x");
   var w = l.offsetWidth;
--- a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1c.html
+++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1c.html
@@ -1,9 +1,13 @@
 <!DOCTYPE html>
+<meta charset=utf-8>
+<title>Reversed numbering should update on dynamic addition of child nodes</title>
+<link rel=match href="reversed-1-ref.html">
+<link rel=help href="https://html.spec.whatwg.org/#attr-ol-reversed">
 <ol id="x" reversed>
   <li>Three</li>
   <li>Two</li>
 </ol>
 <script>
   var l = document.getElementById("x");
   var w = l.offsetWidth;
   var li = document.createElement("li");
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1d.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<meta charset=utf-8>
+<title>Reverse numbering should not be affected by nested div</title>
+<link rel=match href="reversed-1-ref.html">
+<link rel=help href="https://html.spec.whatwg.org/#attr-ol-reversed">
+<ol reversed>
+  <li>Three</li>
+  <div>
+      <li>Two</li>
+      <li>One</li>
+  </div>
+</ol>