1 Various tests for the the hidden IDL attribute.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 The IDL attribute reflects what is present in markup:
10 PASS s1.hidden is false
11 Changes via DOM Core are reflected through the IDL attribute:
12 PASS (h1.removeAttribute("hidden"), h1.hidden) is false
13 PASS (h1.setAttribute("hidden", ""), h1.hidden) is true
14 PASS (h2.setAttribute("hidden", ""), h2.hidden) is true
15 PASS (s1.setAttribute("hidden", ""), s1.hidden) is true
16 Changes via IDL attribute are reflected in the core DOM:
17 PASS (h3.hidden = false, h3.getAttribute("hidden")) is null
18 PASS (h3.hidden = true, h3.getAttribute("hidden")) is ""
19 PASS successfullyParsed is true