about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-06-10 14:25:45 +0200
committerbptato <nincsnevem662@gmail.com>2023-06-10 14:25:45 +0200
commit66d3e44336f5ceb3ae1e7531203c9fa4b73d696f (patch)
tree952f8aebb77d861f62d3f1273a88397b985aa0cb
parent1bd7651f70ef7ba7a3506f12d4c9f4d7735180f5 (diff)
downloadchawan-66d3e44336f5ceb3ae1e7531203c9fa4b73d696f.tar.gz
Use width, height for canvas in css
-rw-r--r--src/css/cascade.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css/cascade.nim b/src/css/cascade.nim
index acfbdcb9..397dda90 100644
--- a/src/css/cascade.nim
+++ b/src/css/cascade.nim
@@ -173,7 +173,7 @@ func calcPresentationalHints(element: Element): CSSComputedValues =
     map_align
   of TAG_COL:
     map_width
-  of TAG_IMG:
+  of TAG_IMG, TAG_CANVAS:
     map_width
     map_height
   of TAG_BODY: