mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
21
tests/content/test_document_characterSet.html
Normal file
21
tests/content/test_document_characterSet.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="UTF-8">
|
||||
<html>
|
||||
<head>
|
||||
<script src="harness.js"></script>
|
||||
<script>
|
||||
// test1: characterSet
|
||||
{
|
||||
is(document.characterSet, "utf-8", "test1-0, characterSet");
|
||||
|
||||
var xmldoc = new Document;
|
||||
is(xmldoc.characterSet, "utf-8", "test2-1, characterSet");
|
||||
|
||||
var htmldoc = document.implementation.createHTMLDocument("title");
|
||||
is(htmldoc.characterSet, "utf-8", "test2-2, characterSet");
|
||||
}
|
||||
|
||||
finish();
|
||||
</script>
|
||||
</head>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue