mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
19 lines
398 B
Zig
19 lines
398 B
Zig
const std = @import("std");
|
|
|
|
const parser = @import("../netsurf.zig");
|
|
|
|
const Node = @import("node.zig").Node;
|
|
|
|
pub const Element = struct {
|
|
pub const Self = parser.Element;
|
|
pub const prototype = *Node;
|
|
pub const mem_guarantied = true;
|
|
|
|
// JS funcs
|
|
// --------
|
|
|
|
pub fn get_localName(self: *parser.Element) []const u8 {
|
|
return parser.elementLocalName(self);
|
|
}
|
|
};
|