about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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: