dom: remove verbose logging and simplify css logic

This commit is contained in:
Adrià Arrufat
2026-03-12 22:07:58 +09:00
parent 48dd80867b
commit b2b609a309
5 changed files with 1 additions and 13 deletions

View File

@@ -172,8 +172,6 @@ pub fn setFloat(self: *CSSStyleDeclaration, value_: ?[]const u8, page: *Page) !v
}
pub fn getCssText(self: *const CSSStyleDeclaration, page: *Page) ![]const u8 {
if (self._element == null) return "";
var buf = std.Io.Writer.Allocating.init(page.call_arena);
try self.format(&buf.writer);
return buf.written();