From dfe56d32a0664026db3f2c3d8e018670daaf66c1 Mon Sep 17 00:00:00 2001 From: bptato Date: Tue, 25 Jan 2022 18:11:10 +0100 Subject: Fix stylesheet containment bug --- src/html/dom.nim | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/html/dom.nim') diff --git a/src/html/dom.nim b/src/html/dom.nim index 27e2eef8..22020c58 100644 --- a/src/html/dom.nim +++ b/src/html/dom.nim @@ -1,6 +1,5 @@ import tables import options -import streams import strutils import css/values @@ -117,13 +116,10 @@ type ordinalvalue*: int HTMLStyleElement* = ref object of HTMLElement - sheet*: CSSStylesheet HTMLLinkElement* = ref object of HTMLElement href*: string rel*: string - sheet*: CSSStylesheet - s*: Stream # For debugging template `$`*(node: Node): string = -- cgit 1.4.1-2-gfad0