docs(html): add reference for boolean attributes
This commit is contained in:
1 file changed
+1
@@ -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" &&
|
||||
|
||||
Reference in new issue
Block a user