From 66d3e44336f5ceb3ae1e7531203c9fa4b73d696f Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 10 Jun 2023 14:25:45 +0200 Subject: Use width, height for canvas in css --- src/css/cascade.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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: -- cgit 1.4.1-2-gfad0