File tree Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ pub const Interfaces = .{
61
61
HTMLHeadElement ,
62
62
HTMLHeadingElement ,
63
63
HTMLHtmlElement ,
64
- HTMLIFrameElement ,
65
64
HTMLImageElement ,
66
65
HTMLImageElement .Factory ,
67
66
HTMLInputElement ,
@@ -102,6 +101,7 @@ pub const Interfaces = .{
102
101
HTMLVideoElement ,
103
102
104
103
@import ("form.zig" ).HTMLFormElement ,
104
+ @import ("iframe.zig" ).HTMLIFrameElement ,
105
105
@import ("select.zig" ).Interfaces ,
106
106
};
107
107
@@ -584,12 +584,6 @@ pub const HTMLHtmlElement = struct {
584
584
pub const subtype = .node ;
585
585
};
586
586
587
- pub const HTMLIFrameElement = struct {
588
- pub const Self = parser .IFrame ;
589
- pub const prototype = * HTMLElement ;
590
- pub const subtype = .node ;
591
- };
592
-
593
587
pub const HTMLImageElement = struct {
594
588
pub const Self = parser .Image ;
595
589
pub const prototype = * HTMLElement ;
Original file line number Diff line number Diff line change
1
+ // Copyright (C) 2023-2025 Lightpanda (Selecy SAS)
2
+ //
3
+ // Francis Bouvier <[email protected] >
4
+ // Pierre Tachoire <[email protected] >
5
+ //
6
+ // This program is free software: you can redistribute it and/or modify
7
+ // it under the terms of the GNU Affero General Public License as
8
+ // published by the Free Software Foundation, either version 3 of the
9
+ // License, or (at your option) any later version.
10
+ //
11
+ // This program is distributed in the hope that it will be useful,
12
+ // but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ // GNU Affero General Public License for more details.
15
+ //
16
+ // You should have received a copy of the GNU Affero General Public License
17
+ // along with this program. If not, see <https://www.gnu.org/licenses/>.
18
+ const std = @import ("std" );
19
+ const Allocator = std .mem .Allocator ;
20
+
21
+ const parser = @import ("../netsurf.zig" );
22
+ const Page = @import ("../page.zig" ).Page ;
23
+ const HTMLElement = @import ("elements.zig" ).HTMLElement ;
24
+
25
+ // https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmliframeelement
26
+ pub const HTMLIFrameElement = struct {
27
+ pub const Self = parser .IFrame ;
28
+ pub const prototype = * HTMLElement ;
29
+ pub const subtype = .node ;
30
+ };
You can’t perform that action at this time.
0 commit comments