mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-31 01:28:55 +00:00
dom: remove verbose logging and simplify css logic
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user