mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-31 01:28:55 +00:00
css: throw IndexSizeError in deleteRule and insertRule
This commit is contained in:
@@ -193,7 +193,6 @@ pub fn setCssText(self: *CSSStyleDeclaration, text: []const u8, page: *Page) !vo
|
||||
while (it.next()) |declaration| {
|
||||
try self.setPropertyImpl(declaration.name, declaration.value, declaration.important, page);
|
||||
}
|
||||
|
||||
try self.syncStyleAttribute(page);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user