Bug 1307484 - Reapply missing <ol reversed> tests from bug 1290813 ; r=jgraham
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 04 Oct 2016 20:57:33 +0530
changeset 316404 baa5349a1621b63cbdfdcf3895003f347a815097
parent 316403 067c15e2620f0f518d7ee70a06cdfd226f13b3f2
child 316405 c900a87c5e1f607ec09ef598ecc4e22b7edeed41
push id30770
push userkwierso@gmail.com
push dateWed, 05 Oct 2016 00:00:48 +0000
treeherdermozilla-central@3470e326025c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgraham
bugs1307484, 1290813
milestone52.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 1307484 - Reapply missing <ol reversed> tests from bug 1290813 ; r=jgraham MozReview-Commit-ID: KrNUnkLb6bl
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
@@ -37260,16 +37260,64 @@
         "pointerevents/pointerevent_setpointercapture_to_same_element_twice-manual.html": [
           {
             "path": "pointerevents/pointerevent_setpointercapture_to_same_element_twice-manual.html",
             "url": "/pointerevents/pointerevent_setpointercapture_to_same_element_twice-manual.html"
           }
         ]
       },
       "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"
+          }
+        ],
         "svg/linking/reftests/href-a-element-attr-change.html": [
           {
             "path": "svg/linking/reftests/href-a-element-attr-change.html",
             "references": [
               [
                 "/svg/linking/reftests/href-a-element-ref.html",
                 "=="
               ]
@@ -37512,16 +37560,64 @@
           {
             "path": "workers/Worker_ErrorEvent_error.htm",
             "url": "/workers/Worker_ErrorEvent_error.htm"
           }
         ]
       }
     },
     "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"
+        }
+      ],
       "svg/linking/reftests/href-a-element-attr-change.html": [
         {
           "path": "svg/linking/reftests/href-a-element-attr-change.html",
           "references": [
             [
               "/svg/linking/reftests/href-a-element-ref.html",
               "=="
             ]
--- 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>