We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1f870 commit a12708fCopy full SHA for a12708f
src/browser/netsurf.zig
@@ -1627,7 +1627,7 @@ pub fn elementHTMLGetTagType(elem_html: *ElementHTML) !Tag {
1627
const err = elementHTMLVtable(elem_html).dom_html_element_get_tag_type.?(elem_html, &tag_type);
1628
try DOMErr(err);
1629
1630
- if (tag_type >= @intFromEnum(Tag.undef)) {
+ if (tag_type >= 255) {
1631
// This is questionable, but std.meta.intToEnum has more overhead
1632
// Added this because this WPT test started to fail once we
1633
// introduced an SVGElement:
0 commit comments