Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
Passhidden-ua-stylesheet
Asserts runNo asserts ran
Passdiv.removeAttribute('hidden')
Asserts run
Pass
assert_equals("block", "block", "div.removeAttribute('hidden') should not affect the div's display property.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:36:5)
Pass
assert_equals("visible", "visible", "div.removeAttribute('hidden') should not affect the div's content-visibility property.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:38:5)
Passdiv.setAttribute('hidden', '')
Asserts run
Pass
assert_equals("none", "none", "div.setAttribute('hidden', '') should make the div display:none.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:18:5)
Pass
assert_equals("visible", "visible", "div.setAttribute('hidden', '') should not affect the div's content-visibility property.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:20:5)
Passdiv.setAttribute('hidden', 'asdf')
Asserts run
Pass
assert_equals("none", "none", "div.setAttribute('hidden', 'asdf') should make the div display:none.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:18:5)
Pass
assert_equals("visible", "visible", "div.setAttribute('hidden', 'asdf') should not affect the div's content-visibility property.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:20:5)
Passdiv.setAttribute('hidden', 'until-found')
Asserts run
Pass
assert_equals("block", "block", "div.setAttribute('hidden', 'until-found') should not affect the div's display property.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:27:5)
Pass
assert_equals("hidden", "hidden", "div.setAttribute('hidden', 'until-found') should make the div content-visibility:hidden.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:29:5)
Passdiv.setAttribute('hidden', 'UNTIL-FOUND')
Asserts run
Pass
assert_equals("block", "block", "div.setAttribute('hidden', 'UNTIL-FOUND') should not affect the div's display property.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:27:5)
Pass
assert_equals("hidden", "hidden", "div.setAttribute('hidden', 'UNTIL-FOUND') should make the div content-visibility:hidden.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:29:5)
Passdiv.setAttribute('hidden', 'UnTiL-FoUnD')
Asserts run
Pass
assert_equals("block", "block", "div.setAttribute('hidden', 'UnTiL-FoUnD') should not affect the div's display property.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:27:5)
Pass
assert_equals("hidden", "hidden", "div.setAttribute('hidden', 'UnTiL-FoUnD') should make the div content-visibility:hidden.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:29:5)
Passdiv.setAttribute('hidden', '0')
Asserts run
Pass
assert_equals("none", "none", "div.setAttribute('hidden', '0') should make the div display:none.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:18:5)
Pass
assert_equals("visible", "visible", "div.setAttribute('hidden', '0') should not affect the div's content-visibility property.")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-ua-stylesheet.html:20:5)