mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
13 lines
403 B
HTML
13 lines
403 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
try {
|
|
const sheet = new CSSStyleSheet();
|
|
sheet.insertRule(`@import url("style-sheet-with-byte-order-mark.css")`);
|
|
println("FAIL");
|
|
} catch (e) {
|
|
println(`Inserting an @import rule into a constructed stylesheet throws: ${e.name}`);
|
|
}
|
|
});
|
|
</script>
|