diff --git a/demos.json b/demos.json
index c018389..3f30cf2 100644
--- a/demos.json
+++ b/demos.json
@@ -9,6 +9,16 @@
},
"test": "typeof FileReader != 'undefined' && 'draggable' in document.createElement('span') && !!window.FormData && 'upload' in new XMLHttpRequest"
},
+ {
+ "desc": "Hidden property",
+ "url": "hidden",
+ "tags": "hidden",
+ "support": {
+ "live": "chrome firefox opera safari",
+ "nightly": ""
+ },
+ "test": "'hidden' in document.createElement('i')"
+ },
{
"desc": "Simple class manipulation",
"url": "classlist",
diff --git a/demos/hidden.html b/demos/hidden.html
new file mode 100644
index 0000000..6bbb102
--- /dev/null
+++ b/demos/hidden.html
@@ -0,0 +1,11 @@
+
Hidden
+
+
+ Welcome dear HTML5-er. You will be able to read this paragraph, but not the next. The next paragraph has the hidden property set on it. It's a boolean that uses the browsers own stylesheet to hide the element, which is nicer than having to dip in to the style
properties in JavaScript.
+ Sadly, your browser doesn't support the hidden property. Useful when you want to quickly do element.hidden
. Ah well, back to CSS.
+
+
\ No newline at end of file