Bug 1464376 [wpt PR 11163] - [cssom] Add a few more historical tests., a=testonly
authorEmilio Cobos Álvarez <emilio@crisal.io>
Wed, 06 Jun 2018 15:01:01 +0000
changeset 422162 24e14dfd9d8d5a7092cb1266e76cdd872ae51d70
parent 422161 a06c3b14e999f2ac77a0d801aa449dcf6e135e0a
child 422163 69de9513368b9da0c3f36d55d19bb4bf9a095959
push id34122
push userebalazs@mozilla.com
push dateMon, 11 Jun 2018 09:37:00 +0000
treeherdermozilla-central@9941eb8c3b29 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1464376, 11163
milestone62.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 1464376 [wpt PR 11163] - [cssom] Add a few more historical tests., a=testonly Automatic update from web-platform-tests[cssom] Add a few more historical tests. (#11163) Adds tests for getPropertyCSSValue stuff, and also for https://github.com/w3c/csswg-drafts/issues/2680, while I was here. -- wpt-commits: 8111e49db7ed5ced2d44e974fcedaba6cd86e4a7 wpt-pr: 11163
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/cssom/historical.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -540877,17 +540877,17 @@
    "3f379487727d9730de9e3569b26632c35d602d9d",
    "testharness"
   ],
   "css/cssom/getComputedStyle-pseudo.html": [
    "d3ef09fb6092078562f8923879b9ece97938df47",
    "testharness"
   ],
   "css/cssom/historical.html": [
-   "89c506ea58f2ad38eb9ecc1e5f422b81a45b07fa",
+   "33372724bd11f4816a533e2656bbc993c922d987",
    "testharness"
   ],
   "css/cssom/inline-style-001.html": [
    "4c58b6153eabe796749dcaf181e03d7dce2c9c07",
    "testharness"
   ],
   "css/cssom/insertRule-charset-no-index.html": [
    "2be98274fe292089f381d216dc415ddc812a105f",
--- a/testing/web-platform/tests/css/cssom/historical.html
+++ b/testing/web-platform/tests/css/cssom/historical.html
@@ -18,16 +18,38 @@
     assert_false(name in document);
 
     var doc = document.implementation.createDocument(null, null, null);
     assert_false(name in doc);
   }, "Historical Document member: " + name);
 });
 
 [
+  "Rect",
+  "RGBColor",
+  "CSSValue",
+  "CSSPrimitiveValue",
+  "CSSValueList",
+].forEach(function(name) {
+  test(function() {
+    assert_false(name in window);
+  }, "Historical interface: " + name);
+});
+
+[
+  "getPropertyCSSValue",
+  "setPropertyValue",
+  "setPropertyPriority",
+].forEach(function(name) {
+  test(function() {
+    assert_false(name in document.body.style);
+  }, "Historical CSSStyleDeclaration member: " + name);
+});
+
+[
   "cascadedStyle",
   "defaultStyle",
   "rawComputedStyle",
   "usedStyle",
 ].forEach(function(name) {
   test(function() {
     assert_false(name in document.body);
     assert_false(name in document.createElement("test"));