Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
FailThe LinkStyle interface's sheet attribute must return null; the disabled attribute must be falseassert_equals: The sheet attribute of style2 should be null. expected null but got object "[object CSSStyleSheet]"
    at Test.<anonymous> (https://wpt.live/html/semantics/document-metadata/styling/LinkStyle.html:48:13)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at https://wpt.live/resources/testharness.js:2689:35
Asserts run
Pass
assert_equals(null, null, "The sheet attribute of style1 should be null.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:48:13)
Pass
assert_false(false, "The disabled attribute of style1 should be false.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:49:13)
Fail
assert_equals(object "[object CSSStyleSheet]", null, "The sheet attribute of style2 should be null.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:48:13)
PassThe LinkStyle interface's sheet attribute must return null if the corresponding element is not in a Document
Asserts run
Pass
assert_equals(null, null, "The sheet attribute of the style element not in a document should be null.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:58:9)
Pass
assert_equals(null, null, "The sheet attribute of the link element not in a document should be null.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:59:9)
PassThe LinkStyle interface's sheet attribute must return StyleSheet object; the disabled attribute must be same as the StyleSheet's disabled attribute
Asserts run
Pass
assert_true(true, "The sheet attribute of style5 should be a StyleSheet object.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:68:13)
Pass
assert_equals(false, false, "The disabled attribute of style5 should equal to the same attribute of StyleSheet.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:69:13)
Pass
assert_true(true, "The sheet attribute of style6 should be a StyleSheet object.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:68:13)
Pass
assert_equals(false, false, "The disabled attribute of style6 should equal to the same attribute of StyleSheet.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:69:13)
Pass
assert_true(true, "The sheet attribute of style7 should be a StyleSheet object.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:68:13)
Pass
assert_equals(false, false, "The disabled attribute of style7 should equal to the same attribute of StyleSheet.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:69:13)
PassThe title must be the same as the value of the element's title content attribute
Asserts run
Pass
assert_equals("", "", "The title attribute of style2 is incorrect.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:76:9)
Pass
assert_equals("", "", "The title attribute of style5 is incorrect.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:77:9)
Pass
assert_equals("./support/alternate.css", "./support/alternate.css", "The title attribute of style6 is incorrect.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:78:9)
Pass
assert_equals("./support/alternate.css", "./support/alternate.css", "The title attribute of style7 is incorrect.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:79:9)
PassThe media must be the same as the value of the element's media content attribute, or the empty string if it is omitted
Asserts run
Pass
assert_equals("", "", "The media attribute of style5 is incorrect.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:83:9)
Pass
assert_equals("all", "all", "The media attribute of style7 is incorrect.")
    at Test.<anonymous> ( /html/semantics/document-metadata/styling/LinkStyle.html:84:9)