@@ -10,6 +10,7 @@ pub const Interfaces = .{
1010 HTMLAnchorElement ,
1111 HTMLAreaElement ,
1212 HTMLAudioElement ,
13+ HTMLAppletElement ,
1314 HTMLBRElement ,
1415 HTMLBaseElement ,
1516 HTMLBodyElement ,
@@ -113,6 +114,12 @@ pub const HTMLAnchorElement = struct {
113114 pub const mem_guarantied = true ;
114115};
115116
117+ pub const HTMLAppletElement = struct {
118+ pub const Self = parser .Applet ;
119+ pub const prototype = * HTMLElement ;
120+ pub const mem_guarantied = true ;
121+ };
122+
116123pub const HTMLAreaElement = struct {
117124 pub const Self = parser .Area ;
118125 pub const prototype = * HTMLElement ;
@@ -495,8 +502,9 @@ pub fn toInterface(comptime T: type, e: *parser.Element) !T {
495502 const elem : * align (@alignOf (* parser .Element )) parser.Element = @alignCast (e );
496503 const tag = try parser .elementHTMLGetTagType (@as (* parser .ElementHTML , @ptrCast (elem )));
497504 return switch (tag ) {
498- .abbr , .acronym , .address , .article , .aside , .b , .bdi , .bdo , .bgsound , .big , .center , .cite , .code , .dd , .details , .dfn , .dt , .em , .figcaption , .figure , .footer , .header , .hgroup , .i , .isindex , .kbd , .main , .mark , .marquee , .menu , .menuitem , .nav , .nobr , .noframes , .noscript , .rp , .rt , .ruby , .s , .samp , .section , .small , .spacer , .strike , .strong , .sub , .summary , .sup , .tt , .u , .wbr , ._var = > .{ .HTMLElement = @as (* parser .ElementHTML , @ptrCast (elem )) },
505+ .abbr , .acronym , .address , .article , .aside , .b , .basefont , . bdi , .bdo , .bgsound , .big , .center , .cite , .code , .dd , .details , .dfn , .dt , .em , .figcaption , .figure , .footer , .header , .hgroup , .i , .isindex , .keygen , .kbd , .main , .mark , .marquee , .menu , .menuitem , .nav , .nobr , .noframes , .noscript , .rp , .rt , .ruby , .s , .samp , .section , .small , .spacer , .strike , .strong , .sub , .summary , .sup , .tt , .u , .wbr , ._var = > .{ .HTMLElement = @as (* parser .ElementHTML , @ptrCast (elem )) },
499506 .a = > .{ .HTMLAnchorElement = @as (* parser .Anchor , @ptrCast (elem )) },
507+ .applet = > .{ .HTMLAppletElement = @as (* parser .Applet , @ptrCast (elem )) },
500508 .area = > .{ .HTMLAreaElement = @as (* parser .Area , @ptrCast (elem )) },
501509 .audio = > .{ .HTMLAudioElement = @as (* parser .Audio , @ptrCast (elem )) },
502510 .base = > .{ .HTMLBaseElement = @as (* parser .Base , @ptrCast (elem )) },
0 commit comments