mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 388ba3a049a3473b1945b9f8f81e9d6e342a249e
This commit is contained in:
parent
43e21dc845
commit
bdaf11b099
139 changed files with 3089 additions and 807 deletions
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<title>@charset isn't a valid rule and should be dropped</title>
|
||||
<meta name="author" title="Tab Atkins-Bittner">
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax/#charset-rule">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
@charset "utf-8";
|
||||
@charset "utf-8";
|
||||
foo { color: blue; }
|
||||
@charset "utf-8";
|
||||
</style>
|
||||
<script>
|
||||
test(()=>{
|
||||
assert_true(document.styleSheets[0].cssRules.length == 1)
|
||||
}, "@charset isn't a valid rule and shouldn't show up in the OM");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue