Skip to content

Commit 440e699

Browse files
authored
html: fix svg categorization (#146)
1 parent 090f80d commit 440e699

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/html/elements/svg.zig

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@ const Element = @import("../Element.zig");
44
pub const svg: Element = .{
55
.tag = .svg,
66
.model = .{
7-
.categories = .{ .flow = true },
7+
.categories = .{
8+
.flow = true,
9+
.phrasing = true,
10+
},
811
.content = .none,
912
},
1013
.meta = .{
11-
.categories_superset = .{ .flow = true },
14+
.categories_superset = .{
15+
.flow = true,
16+
.phrasing =true,
17+
},
1218
},
1319
.attributes = .manual, // we just don't do it
1420
.content = .model,

0 commit comments

Comments
 (0)