mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Move content tests to src/test/content for consistency
This commit is contained in:
parent
2238d81b53
commit
6f76244377
60 changed files with 2 additions and 2 deletions
21
src/test/content/test_document_characterSet.html
Normal file
21
src/test/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