about summary refs log tree commit diff stats
path: root/src/main.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-11-14 12:57:50 +0100
committerbptato <nincsnevem662@gmail.com>2021-11-14 13:00:34 +0100
commit60b583516262be8754c6563ed9253b8964bef5d8 (patch)
treed77fabc0eb4b8ce4432b45a1845999c9a0698e40 /src/main.nim
parenta6099512e42cc95cf6276ab784afd70febdd43b7 (diff)
downloadchawan-60b583516262be8754c6563ed9253b8964bef5d8.tar.gz
Initial implementation of CSS :hover
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main.nim b/src/main.nim
index 15cb5578..873364b0 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -5,8 +5,6 @@ import streams
 import terminal
 
 import html/parser
-import html/dom
-import layout/engine
 import io/buffer
 import io/term
 import config/config
@@ -61,8 +59,6 @@ proc main*() =
 
   buffer.setLocation(lastUri)
   buffer.document = parseHtml(newStringStream(buffer.source))
-  buffer.document.applyStylesheets()
-  buffer.alignBoxes()
   buffer.renderDocument()
   while displayPage(attrs, buffer):
     buffer.setStatusMessage("Loading...")