about summary refs log tree commit diff stats
path: root/src/html/dom.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-01-25 18:11:10 +0100
committerbptato <nincsnevem662@gmail.com>2022-01-25 18:32:02 +0100
commitdfe56d32a0664026db3f2c3d8e018670daaf66c1 (patch)
tree6d18645572c2033ab06f83a9be8bb3a02a479a9a /src/html/dom.nim
parent8fb2b9a0a505a9051bac04ab0163b20db95b86fb (diff)
downloadchawan-dfe56d32a0664026db3f2c3d8e018670daaf66c1.tar.gz
Fix stylesheet containment bug
Diffstat (limited to 'src/html/dom.nim')
-rw-r--r--src/html/dom.nim4
1 files changed, 0 insertions, 4 deletions
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 =