Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

Commit

Permalink
Bug 1464376 [wpt PR 11163] - [cssom] Add a few more historical tests.…
Browse files Browse the repository at this point in the history
…, a=testonly

Automatic update from web-platform-tests[cssom] Add a few more historical tests. (#11163)

Adds tests for getPropertyCSSValue stuff, and also for
w3c/csswg-drafts#2680, while I was here.
--

wpt-commits: 8111e49db7ed5ced2d44e974fcedaba6cd86e4a7
wpt-pr: 11163
  • Loading branch information
emilio authored and jgraham committed Jun 10, 2018
1 parent 1406e83 commit 03960c4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion testing/web-platform/meta/MANIFEST.json
Expand Up @@ -540882,7 +540882,7 @@
"testharness"
],
"css/cssom/historical.html": [
"89c506ea58f2ad38eb9ecc1e5f422b81a45b07fa",
"33372724bd11f4816a533e2656bbc993c922d987",
"testharness"
],
"css/cssom/inline-style-001.html": [
Expand Down
22 changes: 22 additions & 0 deletions testing/web-platform/tests/css/cssom/historical.html
Expand Up @@ -22,6 +22,28 @@
}, "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",
Expand Down

0 comments on commit 03960c4

Please sign in to comment.