diff --git a/src/html5shiv-printshiv.js b/src/html5shiv-printshiv.js
index bc7fb34..a316e05 100644
--- a/src/html5shiv-printshiv.js
+++ b/src/html5shiv-printshiv.js
@@ -359,7 +359,7 @@
// copy element attributes to the wrapper
while (index--) {
node = nodes[index];
- node.specified && wrapper.setAttribute(node.nodeName, node.nodeValue);
+ if (node.specified) wrapper.setAttribute(node.nodeName, node.nodeValue);
}
// copy element styles to the wrapper
wrapper.style.cssText = element.style.cssText;