css: apply zig fmt to Element.zig

This commit is contained in:
Adrià Arrufat
2026-04-29 08:22:22 +02:00
parent dfa0ba778d
commit d92ebdeb89

View File

@@ -1667,8 +1667,20 @@ pub const Tag = enum {
// `.unknown`/`.custom` and aren't matched here.
pub fn isHiddenByUaStylesheet(self: Tag) bool {
return switch (self) {
.area, .base, .datalist, .head, .link, .meta, .noscript, .param,
.script, .source, .style, .template, .title, .track,
.area,
.base,
.datalist,
.head,
.link,
.meta,
.noscript,
.param,
.script,
.source,
.style,
.template,
.title,
.track,
=> true,
else => false,
};