Files
servo/tests/wpt/metadata-css/cssom-1_dev/html/interfaces.htm.ini
Jonathan Chan 92ec8f15f0 Implement CSSStyleRule.selectorText.
We parse when assigning using the namespaces of the stylesheet. It isn't
clear if the spec says to do that (Firefox doesn't support the setter at
all, Chrome does, Safari doesn't); the spec issue is here:
https://github.com/w3c/csswg-drafts/issues/1511

Also fix ToCss implementation of AttrSelectorOperator to not pad with
spaces, to conform with CSSOM. This means we have to update some unit
tests that expect operators with spaces around them in attribute
selectors to roundtrip.

See the "attribute selector" section of "Serializing Selectors" here:
https://drafts.csswg.org/cssom/#serializing-selectors

CSSStyleRule.selectorText is specified here:
https://drafts.csswg.org/cssom/#dom-cssstylerule-selectortext
2017-07-12 01:03:58 -07:00

216 lines
6.3 KiB
INI

[interfaces.htm]
type: testharness
[Document interface: attribute selectedStyleSheetSet]
expected: FAIL
[Document interface: attribute lastStyleSheetSet]
expected: FAIL
[Document interface: attribute preferredStyleSheetSet]
expected: FAIL
[Document interface: attribute styleSheetSets]
expected: FAIL
[Document interface: operation enableStyleSheetsForSet(DOMString)]
expected: FAIL
[Document interface: document must inherit property "selectedStyleSheetSet" with the proper type (1)]
expected: FAIL
[Document interface: document must inherit property "lastStyleSheetSet" with the proper type (2)]
expected: FAIL
[Document interface: document must inherit property "preferredStyleSheetSet" with the proper type (3)]
expected: FAIL
[Document interface: document must inherit property "styleSheetSets" with the proper type (4)]
expected: FAIL
[Document interface: document must inherit property "enableStyleSheetsForSet" with the proper type (5)]
expected: FAIL
[Document interface: calling enableStyleSheetsForSet(DOMString) on document with too few arguments must throw TypeError]
expected: FAIL
[Document interface: new Document() must inherit property "selectedStyleSheetSet" with the proper type (1)]
expected: FAIL
[Document interface: new Document() must inherit property "lastStyleSheetSet" with the proper type (2)]
expected: FAIL
[Document interface: new Document() must inherit property "preferredStyleSheetSet" with the proper type (3)]
expected: FAIL
[Document interface: new Document() must inherit property "styleSheetSets" with the proper type (4)]
expected: FAIL
[Document interface: new Document() must inherit property "enableStyleSheetsForSet" with the proper type (5)]
expected: FAIL
[Document interface: calling enableStyleSheetsForSet(DOMString) on new Document() with too few arguments must throw TypeError]
expected: FAIL
[ProcessingInstruction interface: attribute sheet]
expected: FAIL
[Element interface: operation pseudo(DOMString)]
expected: FAIL
[Element interface: attribute cascadedStyle]
expected: FAIL
[Element interface: attribute defaultStyle]
expected: FAIL
[Element interface: attribute rawComputedStyle]
expected: FAIL
[Element interface: attribute usedStyle]
expected: FAIL
[HTMLElement interface: attribute style]
expected: FAIL
[SVGElement interface: attribute style]
expected: FAIL
[MediaList interface: existence and properties of interface prototype object]
expected: FAIL
[StyleSheet interface: attribute type]
expected: FAIL
[StyleSheet interface: attribute ownerNode]
expected: FAIL
[StyleSheet interface: attribute parentStyleSheet]
expected: FAIL
[StyleSheet interface: attribute media]
expected: FAIL
[CSSStyleSheet interface: attribute ownerRule]
expected: FAIL
[CSSStyleSheet interface: style_element.sheet must inherit property "ownerRule" with the proper type (0)]
expected: FAIL
[StyleSheet interface: style_element.sheet must inherit property "type" with the proper type (0)]
expected: FAIL
[StyleSheet interface: style_element.sheet must inherit property "ownerNode" with the proper type (2)]
expected: FAIL
[StyleSheet interface: style_element.sheet must inherit property "parentStyleSheet" with the proper type (3)]
expected: FAIL
[StyleSheet interface: style_element.sheet must inherit property "media" with the proper type (5)]
expected: FAIL
[StyleSheetList interface: existence and properties of interface prototype object]
expected: FAIL
[CSSRuleList interface: existence and properties of interface prototype object]
expected: FAIL
[CSSRule interface: attribute parentRule]
expected: FAIL
[CSSRule interface: style_element.sheet.cssRules[0\] must inherit property "parentRule" with the proper type (10)]
expected: FAIL
[CSSImportRule interface: attribute href]
expected: FAIL
[CSSImportRule interface: attribute media]
expected: FAIL
[CSSImportRule interface: attribute styleSheet]
expected: FAIL
[CSSPageRule interface: existence and properties of interface object]
expected: FAIL
[CSSPageRule interface object length]
expected: FAIL
[CSSPageRule interface: existence and properties of interface prototype object]
expected: FAIL
[CSSPageRule interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[CSSPageRule interface: attribute selectorText]
expected: FAIL
[CSSPageRule interface: attribute style]
expected: FAIL
[CSSMarginRule interface: existence and properties of interface object]
expected: FAIL
[CSSMarginRule interface object length]
expected: FAIL
[CSSMarginRule interface: existence and properties of interface prototype object]
expected: FAIL
[CSSMarginRule interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[CSSMarginRule interface: attribute name]
expected: FAIL
[CSSMarginRule interface: attribute style]
expected: FAIL
[CSSStyleDeclaration interface: attribute parentRule]
expected: FAIL
[CSSStyleDeclaration interface: attribute camel_cased_attribute]
expected: FAIL
[CSSStyleDeclaration interface: attribute dashed_attribute]
expected: FAIL
[PseudoElement interface: existence and properties of interface object]
expected: FAIL
[PseudoElement interface object length]
expected: FAIL
[PseudoElement interface: existence and properties of interface prototype object]
expected: FAIL
[PseudoElement interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[PseudoElement interface: attribute cascadedStyle]
expected: FAIL
[PseudoElement interface: attribute defaultStyle]
expected: FAIL
[PseudoElement interface: attribute rawComputedStyle]
expected: FAIL
[PseudoElement interface: attribute usedStyle]
expected: FAIL
[CSSMediaRule interface: existence and properties of interface object]
expected: FAIL
[CSSMediaRule interface: existence and properties of interface prototype object]
expected: FAIL
[CSSPageRule interface object name]
expected: FAIL
[CSSMarginRule interface object name]
expected: FAIL
[PseudoElement interface object name]
expected: FAIL