mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
Update CSS tests to revision aac1cd51245c0c469325988a0446985a2f1e476c
This commit is contained in:
parent
1a6245828a
commit
7deaeea707
540 changed files with 24009 additions and 6637 deletions
|
@ -2,7 +2,7 @@
|
|||
<html><head>
|
||||
<title>CSS Test: CSSOM StyleSheet Initial Values</title>
|
||||
<link href="mailto:betravis@adobe.com" rel="author" title="Bear Travis">
|
||||
<link href="http://www.w3.org/TR/cssom/#css-style-sheets" rel="help">
|
||||
<link href="http://www.w3.org/TR/cssom-1/#css-style-sheets" rel="help">
|
||||
<meta content="dom" name="flags">
|
||||
<meta content="StyleSheet and CSSStyleSheet objects have the properties specified in their interfaces" name="assert">
|
||||
<script src="/resources/testharness.js" type="text/javascript"></script>
|
||||
|
@ -15,7 +15,7 @@
|
|||
<script id="metadata_cache">/*
|
||||
{
|
||||
"sheet_property": {
|
||||
"help": "http://www.w3.org/TR/cssom/#the-linkstyle-interface",
|
||||
"help": "http://www.w3.org/TR/cssom-1/#the-linkstyle-interface",
|
||||
"assert": ["styleElement.sheet exists",
|
||||
"styleElement.sheet is a CSSStyleSheet",
|
||||
"linkElement.sheet exists",
|
||||
|
@ -26,8 +26,8 @@
|
|||
"ownerRule, cssRules are read only"]
|
||||
},
|
||||
"CSSStyleSheet_property_values": {
|
||||
"help": ["http://www.w3.org/TR/cssom/#css-style-sheets",
|
||||
"http://www.w3.org/TR/cssom/#cssimportrule"],
|
||||
"help": ["http://www.w3.org/TR/cssom-1/#css-style-sheets",
|
||||
"http://www.w3.org/TR/cssom-1/#cssimportrule"],
|
||||
"assert": "CSSStyleSheet initial property values are correct"
|
||||
},
|
||||
"StyleSheet_properties": {
|
||||
|
@ -56,7 +56,7 @@
|
|||
linkSheet = linkElement.sheet;
|
||||
assert_true(linkSheet instanceof CSSStyleSheet);
|
||||
}, "sheet_property",
|
||||
{ help: "http://www.w3.org/TR/cssom/#the-linkstyle-interface",
|
||||
{ help: "http://www.w3.org/TR/cssom-1/#the-linkstyle-interface",
|
||||
assert: [ "styleElement.sheet exists", "styleElement.sheet is a CSSStyleSheet",
|
||||
"linkElement.sheet exists", "linkElement.sheet is a CSSStyleSheet"] });
|
||||
|
||||
|
@ -79,8 +79,8 @@
|
|||
assert_true(styleSheet.cssRules.item(0) instanceof CSSImportRule);
|
||||
importSheet = styleSheet.cssRules.item(0).styleSheet;
|
||||
}, "CSSStyleSheet_property_values",
|
||||
{ help: [ "http://www.w3.org/TR/cssom/#css-style-sheets",
|
||||
"http://www.w3.org/TR/cssom/#cssimportrule" ],
|
||||
{ help: [ "http://www.w3.org/TR/cssom-1/#css-style-sheets",
|
||||
"http://www.w3.org/TR/cssom-1/#cssimportrule" ],
|
||||
assert: "CSSStyleSheet initial property values are correct" });
|
||||
|
||||
test(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue