Skip to content

Commit 6be3368

Browse files
committed
axtree: add TODO
1 parent 0e0a362 commit 6be3368

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cdp/AXNode.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,13 @@ pub const Writer = struct {
181181
.h5 => try self.writeAXProperty(.{ .name = .level, .value = .{ .type = .integer, .value = .{ .uint = 5 } } }, w),
182182
.h6 => try self.writeAXProperty(.{ .name = .level, .value = .{ .type = .integer, .value = .{ .uint = 6 } } }, w),
183183
.img => {
184+
// TODO make uri absolute
184185
if (try parser.elementGetAttribute(elt, "href")) |uri| {
185186
try self.writeAXProperty(.{ .name = .url, .value = .{ .type = .string, .value = .{ .string = uri } } }, w);
186187
}
187188
},
188189
.a => {
190+
// TODO make uri absolute
189191
if (try parser.elementGetAttribute(elt, "href")) |uri| {
190192
try self.writeAXProperty(.{ .name = .url, .value = .{ .type = .string, .value = .{ .string = uri } } }, w);
191193
}

0 commit comments

Comments
 (0)