mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update CSS tests to revision 2baa72daab8bf37e3e910a9fd311a1eaa5b0f4a8
This commit is contained in:
parent
662c00a810
commit
df03062d62
10934 changed files with 428309 additions and 254265 deletions
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<title>CSSOM - Extensions to the Document Interface: StyleSheetList length is 0 when no sheets loaded</title>
|
||||
<link href="mailto:jesse@codeforamerica.org" rel="author" title="Jesse Bounds">
|
||||
<link href="mailto:ms2ger@gmail.com" rel="reviewer" title="Ms2ger"> <!-- 2012-06-17 -->
|
||||
<link href="http://www.w3.org/TR/cssom/#extensions-to-the-document-interface" rel="help">
|
||||
<link href="http://www.w3.org/TR/cssom/#the-stylesheetlist-sequence" rel="help">
|
||||
<meta content="dom" name="flags">
|
||||
<meta content="The styleSheets attribute must return a StyleSheetList sequence representing the document style sheets." name="assert">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
// Get the Document's styleSheets attribute
|
||||
var styleSheets = document.styleSheets;
|
||||
// Verify that the styleSheets list length is 0 because no stylesheets have been loaded
|
||||
test(function() {
|
||||
assert_equals(styleSheets.length, 0, "styleSheets.length is incorrect:");
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue