Skip to content

Commit

Permalink
Test that <style scoped> is not supported (#3685); r=Ms2ger
Browse files Browse the repository at this point in the history
Also remove existing test for <style scoped>.

See whatwg/html#552
  • Loading branch information
zcorpan authored and Ms2ger committed Sep 9, 2016
1 parent d0411c3 commit 575ecfe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 42 deletions.
14 changes: 14 additions & 0 deletions html/semantics/document-metadata/the-style-element/historical.html
@@ -0,0 +1,14 @@
<!doctype html>
<title>Historical style element features should not be supported</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
function t(property) {
test(function() {
assert_false(property in document.createElement('style'));
}, 'style.' + property + ' should not be supported');
}
// added in https://github.com/whatwg/html/commit/29cf39d2163cfc85b67409f4e10390619ffb2b40
// removed in https://github.com/whatwg/html/commit/c2a3b2a2e3db49c14b486a5e99acf7d10cfe8443
t('scoped');
</script>

This file was deleted.

0 comments on commit 575ecfe

Please sign in to comment.