mirror of
https://github.com/servo/servo.git
synced 2025-06-28 11:03:39 +01:00
Update web-platform-tests to revision 5254eba7f17d10211b56c0d1958649bca29e8985
This commit is contained in:
parent
2eb7c8c080
commit
7da408021a
94 changed files with 1172 additions and 444 deletions
|
@ -22,13 +22,13 @@
|
|||
const iframe = document.createElement("iframe");
|
||||
iframe.src = "resources/css-module-at-import-iframe.html";
|
||||
iframe.onload = test.step_func_done(function () {
|
||||
assert_equals(iframe.contentDocument.load_error, "NotAllowedError");
|
||||
assert_equals(iframe.contentDocument.load_error, undefined);
|
||||
assert_not_equals(getComputedStyle(iframe.contentDocument.querySelector('#test'))
|
||||
.backgroundColor, "rgb(255, 0, 0)",
|
||||
"CSS module @import should not succeed");
|
||||
});
|
||||
document.body.appendChild(iframe);
|
||||
}, "An @import CSS Module should not load");
|
||||
}, "An @import CSS Module should not load, but should not throw an exception");
|
||||
|
||||
async_test(function (test) {
|
||||
const iframe = document.createElement("iframe");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue