mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Initial steps for CSSOM API
This commit is contained in:
parent
e551ea7322
commit
b7a57ef487
15 changed files with 159 additions and 77 deletions
|
@ -1,8 +1,5 @@
|
|||
[interfaces.htm]
|
||||
type: testharness
|
||||
[Document interface: attribute styleSheets]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute selectedStyleSheetSet]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -18,9 +15,6 @@
|
|||
[Document interface: operation enableStyleSheetsForSet(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document must inherit property "styleSheets" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document must inherit property "selectedStyleSheetSet" with the proper type (1)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -39,9 +33,6 @@
|
|||
[Document interface: calling enableStyleSheetsForSet(DOMString) on document with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "styleSheets" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "selectedStyleSheetSet" with the proper type (1)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -114,33 +105,15 @@
|
|||
[MediaList interface: operation deleteMedium(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheet interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheet interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheet interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheet interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheet interface: attribute type]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheet interface: attribute href]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheet interface: attribute ownerNode]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheet interface: attribute parentStyleSheet]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheet interface: attribute title]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheet interface: attribute media]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -216,39 +189,9 @@
|
|||
[StyleSheet interface: style_element.sheet must inherit property "disabled" with the proper type (6)]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheetList interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheetList interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheetList interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheetList interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheetList interface: operation item(unsigned long)]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheetList interface: attribute length]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheetList must be primary interface of document.styleSheets]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of document.styleSheets]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheetList interface: document.styleSheets must inherit property "item" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheetList interface: calling item(unsigned long) on document.styleSheets with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheetList interface: document.styleSheets must inherit property "length" with the proper type (1)]
|
||||
expected: FAIL
|
||||
|
||||
[CSSRuleList interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,11 +1,4 @@
|
|||
[ttwf-cssom-doc-ext-load-count.htm]
|
||||
type: testharness
|
||||
[stylesheet.css should be loaded and styleSheets.length === 1]
|
||||
expected: FAIL
|
||||
|
||||
[stylesheet.css should be unloaded and styleSheets.length === 0]
|
||||
expected: FAIL
|
||||
|
||||
[stylesheet-1.css should be loaded and styleSheets.length === 1]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
[ttwf-cssom-doc-ext-load-tree-order.htm]
|
||||
type: testharness
|
||||
[styleSheets.length must be 5]
|
||||
expected: FAIL
|
||||
|
||||
[styleSheets item 0 title must be aaa]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
[ttwf-cssom-document-extension.htm]
|
||||
type: testharness
|
||||
[CSSOM - Extensions to the Document Interface: StyleSheetList length is 0 when no sheets loaded]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue