diff options
author | bptato <nincsnevem662@gmail.com> | 2023-06-10 14:25:45 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-06-10 14:25:45 +0200 |
commit | 66d3e44336f5ceb3ae1e7531203c9fa4b73d696f (patch) | |
tree | 952f8aebb77d861f62d3f1273a88397b985aa0cb | |
parent | 1bd7651f70ef7ba7a3506f12d4c9f4d7735180f5 (diff) | |
download | chawan-66d3e44336f5ceb3ae1e7531203c9fa4b73d696f.tar.gz |
Use width, height for canvas in css
-rw-r--r-- | src/css/cascade.nim | 2 |
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: |