mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 09:35:59 -04:00
css: apply zig fmt to Element.zig
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user