hello

Summary

Harness status: OK

Found 17 tests

Details

ResultTest NameMessage
Passdiv.hidden = false
Asserts run
Pass
assert_equals(false, false, "div.hidden = false should return false")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals(null, null, "div.hidden = false should set the hidden attribute to null")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.hidden = true
Asserts run
Pass
assert_equals(true, true, "div.hidden = true should return true")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals("", "", "div.hidden = true should set the hidden attribute to \"\"")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.hidden = "foo"
Asserts run
Pass
assert_equals(true, true, "div.hidden = \"foo\" should return true")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals("", "", "div.hidden = \"foo\" should set the hidden attribute to \"\"")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.hidden = "false"
Asserts run
Pass
assert_equals(true, true, "div.hidden = \"false\" should return true")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals("", "", "div.hidden = \"false\" should set the hidden attribute to \"\"")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.hidden = ""
Asserts run
Pass
assert_equals(false, false, "div.hidden = \"\" should return false")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals(null, null, "div.hidden = \"\" should set the hidden attribute to null")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.setAttribute('hidden', "false") should make div.hidden return true
Asserts run
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:24:5)
Passdiv.setAttribute('hidden', "foo") should make div.hidden return true
Asserts run
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:24:5)
Passdiv.hidden = "until-found"
Asserts run
Pass
assert_equals("until-found", "until-found", "div.hidden = \"until-found\" should return \"until-found\"")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals("until-found", "until-found", "div.hidden = \"until-found\" should set the hidden attribute to \"until-found\"")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.hidden = "UNTIL-FOUND"
Asserts run
Pass
assert_equals("until-found", "until-found", "div.hidden = \"UNTIL-FOUND\" should return \"until-found\"")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals("until-found", "until-found", "div.hidden = \"UNTIL-FOUND\" should set the hidden attribute to \"until-found\"")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.hidden = "UnTiL-FoUnD"
Asserts run
Pass
assert_equals("until-found", "until-found", "div.hidden = \"UnTiL-FoUnD\" should return \"until-found\"")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals("until-found", "until-found", "div.hidden = \"UnTiL-FoUnD\" should set the hidden attribute to \"until-found\"")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.hidden = "untıl-found"
Asserts run
Pass
assert_equals(true, true, "div.hidden = \"untıl-found\" should return true")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals("", "", "div.hidden = \"untıl-found\" should set the hidden attribute to \"\"")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.hidden = "untİl-found"
Asserts run
Pass
assert_equals(true, true, "div.hidden = \"untİl-found\" should return true")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals("", "", "div.hidden = \"untİl-found\" should set the hidden attribute to \"\"")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.hidden = null
Asserts run
Pass
assert_equals(false, false, "div.hidden = null should return false")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals(null, null, "div.hidden = null should set the hidden attribute to null")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.hidden = undefined
Asserts run
Pass
assert_equals(false, false, "div.hidden = undefined should return false")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals(null, null, "div.hidden = undefined should set the hidden attribute to null")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.hidden = 1
Asserts run
Pass
assert_equals(true, true, "div.hidden = 1 should return true")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals("", "", "div.hidden = 1 should set the hidden attribute to \"\"")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.hidden = 0
Asserts run
Pass
assert_equals(false, false, "div.hidden = 0 should return false")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals(null, null, "div.hidden = 0 should set the hidden attribute to null")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)
Passdiv.hidden = NaN
Asserts run
Pass
assert_equals(false, false, "div.hidden = null should return false")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:14:5)
Pass
assert_equals(null, null, "div.hidden = null should set the hidden attribute to null")
    at Test.<anonymous> ( /html/editing/the-hidden-attribute/hidden-idl.html:16:5)