Implements Stylesheet.ownerNode

This commit is contained in:
Vincent Ricard 2020-10-08 22:30:22 +02:00
parent 406d15974f
commit e7199c029f
14 changed files with 72 additions and 39 deletions

View file

@ -1,4 +1,12 @@
[MediaList2.xhtml]
[MediaList]
[MediaList.mediaText]
expected: FAIL
[MediaList.length]
expected: FAIL
[MediaList getter]
expected: FAIL
[MediaList.item]
expected: FAIL

View file

@ -35,9 +35,6 @@
[CSSStyleDeclaration interface: calling getPropertyPriority(CSSOMString) on sheet.cssRules[2\].cssRules[0\].style with too few arguments must throw TypeError]
expected: FAIL
[StyleSheet interface: attribute ownerNode]
expected: FAIL
[CSSRule interface: sheet.cssRules[2\].cssRules[0\] must inherit property "STYLE_RULE" with the proper type]
expected: FAIL
@ -338,9 +335,6 @@
[StyleSheet interface: sheet must inherit property "type" with the proper type]
expected: FAIL
[StyleSheet interface: sheet must inherit property "ownerNode" with the proper type]
expected: FAIL
[CSSStyleDeclaration interface: sheet.cssRules[2\].cssRules[0\].style must inherit property "cssText" with the proper type]
expected: FAIL

View file

@ -1,4 +1,4 @@
[ttwf-cssom-doc-ext-load-count.html]
[stylesheet.css should be unloaded and styleSheets.length === 0]
[stylesheet-1.css should be loaded and styleSheets.length === 1]
expected: FAIL

View file

@ -1,4 +1,12 @@
[MediaList2.xhtml]
[MediaList]
[MediaList.mediaText]
expected: FAIL
[MediaList.length]
expected: FAIL
[MediaList getter]
expected: FAIL
[MediaList.item]
expected: FAIL

View file

@ -38,9 +38,6 @@
[CSSStyleDeclaration interface: calling getPropertyPriority(CSSOMString) on sheet.cssRules[2\].cssRules[0\].style with too few arguments must throw TypeError]
expected: FAIL
[StyleSheet interface: attribute ownerNode]
expected: FAIL
[CSSRule interface: sheet.cssRules[2\].cssRules[0\] must inherit property "STYLE_RULE" with the proper type]
expected: FAIL
@ -350,9 +347,6 @@
[StyleSheet interface: sheet must inherit property "type" with the proper type]
expected: FAIL
[StyleSheet interface: sheet must inherit property "ownerNode" with the proper type]
expected: FAIL
[CSSStyleDeclaration interface: sheet.cssRules[2\].cssRules[0\].style must inherit property "cssText" with the proper type]
expected: FAIL

View file

@ -1,5 +1,5 @@
[ttwf-cssom-doc-ext-load-count.html]
type: testharness
[stylesheet.css should be unloaded and styleSheets.length === 0]
[stylesheet-1.css should be loaded and styleSheets.length === 1]
expected: FAIL