docs(html): add reference for boolean attributes

This commit is contained in:
Ika authored and GitHub committed 2018-09-15 22:02:36 +08:00
1 parent 5cd367e502
commit a5cecbdfee
1 file changed
+1
+1
View File
@@ -202,6 +202,7 @@ function genericPrint(path, options, print) {
}
}
// https://html.spec.whatwg.org/multipage/indices.html#attributes-3
function isBooleanAttributeNode(node) {
return (
node.type === "attribute" &&