mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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_compatMode.html
Normal file
21
tests/content/test_document_compatMode.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<html>
|
||||
<head>
|
||||
<script src="harness.js"></script>
|
||||
<script>
|
||||
// test1: BackCompat
|
||||
{
|
||||
is(document.compatMode, "BackCompat", "test1-0, BackCompat");
|
||||
}
|
||||
|
||||
// test2: Non-parsed documents
|
||||
{
|
||||
var xmldoc = new Document;
|
||||
is(xmldoc.compatMode, "CSS1Compat", "test2-0, Non-parsed documents");
|
||||
|
||||
var htmldoc = document.implementation.createHTMLDocument("title");
|
||||
is(htmldoc.compatMode, "CSS1Compat", "test2-1, Non-parsed documents");
|
||||
}
|
||||
finish();
|
||||
</script>
|
||||
</head>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue