Enable CSSOM tests

This commit is contained in:
David Zbarsky 2015-08-10 00:18:14 -04:00
parent e24cf8bd9f
commit fef2a33043
70 changed files with 703 additions and 0 deletions

View file

@ -0,0 +1,3 @@
[MediaList.xht]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,8 @@
[computed-style-001.xht]
type: testharness
[read_only]
expected: FAIL
[relative_property_values]
expected: FAIL

View file

@ -0,0 +1,3 @@
[css-style-declaration-modifications.xht]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[cssimportrule.xht]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[cssom-cssText-serialize.xht]
type: testharness
[CSSStyleDeclaration cssText serializes declaration blocks.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[cssom-setProperty-shorthand.xht]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[cssstyledeclaration-mutability.xht]
type: testharness
expected: CRASH

View file

@ -0,0 +1,3 @@
[cssstylerule.xht]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[index-001.xht]
type: testharness
[margin_20px_20px]
expected: FAIL

View file

@ -0,0 +1,3 @@
[index-002.xht]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[inline-style-001.xht]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[matchMedia.xht]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,14 @@
[medialist-interfaces-001.xht]
type: testharness
[mediatest_medialist_serialize_element]
expected: FAIL
[mediatest_medialist_serialize_comma]
expected: FAIL
[mediatest_medialist_serialize_empty]
expected: FAIL
[mediatest_medialist_serialize_lexicographical]
expected: FAIL

View file

@ -0,0 +1,11 @@
[medialist-interfaces-002.xht]
type: testharness
[deleteMedium_called_without_argument]
expected: FAIL
[deleteMedium_removes_correct_medium]
expected: FAIL
[deleteMedium_no_matching_medium_to_remove]
expected: FAIL

View file

@ -0,0 +1,8 @@
[medialist-interfaces-003.xht]
type: testharness
[mediatest_mediaquery_serialize_1]
expected: FAIL
[mediatest_mediaquery_serialize_2]
expected: FAIL

View file

@ -0,0 +1,8 @@
[medialist-interfaces-004.xht]
type: testharness
[appendMedium_correctly_appends_medium_to_empty_MediaList]
expected: FAIL
[appendMedium_correctly_appends_medium_to_nonempty_MediaList]
expected: FAIL

View file

@ -0,0 +1,32 @@
[shape-outside-shape-arguments-000.xht]
type: testharness
[0-valued - inline]
expected: FAIL
[Font relative units - inline]
expected: FAIL
[View relative units - inline]
expected: FAIL
[Fixed units - inline]
expected: FAIL
[Percentage units - inline]
expected: FAIL
[0-valued - computed]
expected: FAIL
[Font relative units - computed]
expected: FAIL
[View relative units - computed]
expected: FAIL
[Fixed units - computed]
expected: FAIL
[Percentage units - computed]
expected: FAIL

View file

@ -0,0 +1,14 @@
[shape-outside-shape-arguments-001.xht]
type: testharness
[Positive number variations - inline]
expected: FAIL
[Negative number variations - inline]
expected: FAIL
[Positive number variations - computed]
expected: FAIL
[Negative number variations - computed]
expected: FAIL

View file

@ -0,0 +1,14 @@
[shape-outside-shape-notation-000.xht]
type: testharness
[No whitespace - inline]
expected: FAIL
[Extra whitespace - inline]
expected: FAIL
[No whitespace - computed]
expected: FAIL
[Extra whitespace - computed]
expected: FAIL

View file

@ -0,0 +1,8 @@
[style-sheet-interfaces-002.xht]
type: testharness
[add_rule]
expected: FAIL
[delete_rule]
expected: FAIL

View file

@ -0,0 +1,11 @@
[ttwf-cssom-doc-ext-load-count.xht]
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

View file

@ -0,0 +1,20 @@
[ttwf-cssom-doc-ext-load-tree-order.xht]
type: testharness
[styleSheets.length must be 5]
expected: FAIL
[styleSheets item 0 title must be aaa]
expected: FAIL
[styleSheets item 1 title must be zebra]
expected: FAIL
[styleSheets item 0 title must be kilo]
expected: FAIL
[styleSheets item 0 title must be alpha]
expected: FAIL
[styleSheets item 0 title must be zebra]
expected: FAIL

View file

@ -0,0 +1,5 @@
[ttwf-cssom-document-extension.xht]
type: testharness
[CSSOM - Extensions to the Document Interface: StyleSheetList length is 0 when no sheets loaded]
expected: FAIL