Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test that <style scoped> is not supported (#3685); r=Ms2ger
Also remove existing test for <style scoped>. See whatwg/html#552
- Loading branch information
Showing
2 changed files
with
14 additions
and
42 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
html/semantics/document-metadata/the-style-element/historical.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
42 changes: 0 additions & 42 deletions
42
html/semantics/document-metadata/the-style-element/style_scoped.html
This file was deleted.
Oops, something went wrong.