Bug 1425834: Update test expectations for partial ::slotted support. r=heycam
authorEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 18 Dec 2017 09:20:59 +0100
changeset 452701 1bc488833671751316d7a0e8c5afd899b195dc38
parent 452700 fc381f9fcf6823430f3e20ebbaa23a9ef77239fa
child 452702 b446fed39f0fff91c2e55baa2f7d00e39faa2f26
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1425834
milestone59.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 1425834: Update test expectations for partial ::slotted support. r=heycam On a CLOSED TREE, too. MozReview-Commit-ID: IOFneIgu7Rm
testing/web-platform/meta/css/css-scoping/css-scoping-shadow-slotted-nested.html.ini
testing/web-platform/meta/css/css-scoping/css-scoping-shadow-slotted-rule.html.ini
testing/web-platform/meta/css/css-scoping/shadow-cascade-order-001.html.ini
testing/web-platform/meta/css/css-scoping/slotted-parsing.html.ini
--- a/testing/web-platform/meta/css/css-scoping/css-scoping-shadow-slotted-nested.html.ini
+++ b/testing/web-platform/meta/css/css-scoping/css-scoping-shadow-slotted-nested.html.ini
@@ -1,3 +1,4 @@
 [css-scoping-shadow-slotted-nested.html]
   type: reftest
-  expected: FAIL
+  expected:
+    if not stylo: FAIL
--- a/testing/web-platform/meta/css/css-scoping/css-scoping-shadow-slotted-rule.html.ini
+++ b/testing/web-platform/meta/css/css-scoping/css-scoping-shadow-slotted-rule.html.ini
@@ -1,4 +1,4 @@
 [css-scoping-shadow-slotted-rule.html]
   type: reftest
-  expected: FAIL
-
+  expected:
+    if not stylo: FAIL
--- a/testing/web-platform/meta/css/css-scoping/shadow-cascade-order-001.html.ini
+++ b/testing/web-platform/meta/css/css-scoping/shadow-cascade-order-001.html.ini
@@ -1,31 +1,16 @@
 [shadow-cascade-order-001.html]
   type: testharness
-  [A4. ::slotted vs :host, earlier in tree-of-trees rule should win for open mode.]
-    expected: FAIL
-
-  [B4. ::slotted  with !important vs :host, earlier in tree-of-trees rule should win for open mode.]
-    expected: FAIL
-
-  [B5. ::slotted vs inline with !important, inline rule should win for open mode.]
-    expected: FAIL
-
-  [C1. document vs ::slotted with !important, ::slotted rule should win for open mode.]
-    expected: FAIL
+  disabled:
+    if not stylo: Shadow DOM is stylo-only
 
   [C2. document vs :host with !important, :host rule should win for open mode.]
     expected: FAIL
 
-  [C4. ::slotted vs :host with !important, later in tree-of-trees rule should win for open mode.]
-    expected: FAIL
-
-  [C5. ::slotted with !important vs inline, ::slotted rule should win for open mode.]
-    expected: FAIL
-
   [C6. :host with !important vs inline, :host rule should win for open mode.]
     expected: FAIL
 
   [D1. document vs ::slotted both with !important, ::slotted rule should win for open mode.]
     expected: FAIL
 
   [D2. document vs :host both with !important, :host rule should win for open mode.]
     expected: FAIL
@@ -37,49 +22,25 @@
     expected: FAIL
 
   [D6. :host vs inline both with !important, :host rule should win for open mode.]
     expected: FAIL
 
   [E2. all styles with !important applied, rule in the last tree-of-trees should win for open mode.]
     expected: FAIL
 
-  [F3. document vs ::slotted with !important, important rule should win for open mode.]
-    expected: FAIL
-
-  [F4. document vs ::slotted with !important, important rule should win for open mode.]
-    expected: FAIL
-
   [F5. document vs :host with !important, important rule should win for open mode.]
     expected: FAIL
 
   [F6. all rules with !important, the last rule in tree-of-trees should win for open mode.]
     expected: FAIL
 
-  [A4. ::slotted vs :host, earlier in tree-of-trees rule should win for closed mode.]
-    expected: FAIL
-
-  [B4. ::slotted  with !important vs :host, earlier in tree-of-trees rule should win for closed mode.]
-    expected: FAIL
-
-  [B5. ::slotted vs inline with !important, inline rule should win for closed mode.]
-    expected: FAIL
-
-  [C1. document vs ::slotted with !important, ::slotted rule should win for closed mode.]
-    expected: FAIL
-
   [C2. document vs :host with !important, :host rule should win for closed mode.]
     expected: FAIL
 
-  [C4. ::slotted vs :host with !important, later in tree-of-trees rule should win for closed mode.]
-    expected: FAIL
-
-  [C5. ::slotted with !important vs inline, ::slotted rule should win for closed mode.]
-    expected: FAIL
-
   [C6. :host with !important vs inline, :host rule should win for closed mode.]
     expected: FAIL
 
   [D1. document vs ::slotted both with !important, ::slotted rule should win for closed mode.]
     expected: FAIL
 
   [D2. document vs :host both with !important, :host rule should win for closed mode.]
     expected: FAIL
@@ -91,20 +52,14 @@
     expected: FAIL
 
   [D6. :host vs inline both with !important, :host rule should win for closed mode.]
     expected: FAIL
 
   [E2. all styles with !important applied, rule in the last tree-of-trees should win for closed mode.]
     expected: FAIL
 
-  [F3. document vs ::slotted with !important, important rule should win for closed mode.]
-    expected: FAIL
-
-  [F4. document vs ::slotted with !important, important rule should win for closed mode.]
-    expected: FAIL
-
   [F5. document vs :host with !important, important rule should win for closed mode.]
     expected: FAIL
 
   [F6. all rules with !important, the last rule in tree-of-trees should win for closed mode.]
     expected: FAIL
 
--- a/testing/web-platform/meta/css/css-scoping/slotted-parsing.html.ini
+++ b/testing/web-platform/meta/css/css-scoping/slotted-parsing.html.ini
@@ -1,20 +1,10 @@
 [slotted-parsing.html]
   type: testharness
-  [Should be a valid selector: '::slotted(*)']
-    expected: FAIL
-
-  [Should be a valid selector: '::slotted(div)']
-    expected: FAIL
-
-  [Should be a valid selector: '::slotted([attr\]:hover)']
-    expected: FAIL
-
-  [Should be a valid selector: '::slotted(:not(.a))']
-    expected: FAIL
-
+  disabled:
+    if not stylo: Shadow DOM is stylo-only
   [Should be a valid selector: '::slotted(*)::before']
     expected: FAIL
 
   [Should be a valid selector: '::slotted(*)::after']
     expected: FAIL