From 1d1db2518040bd3187470bce05a5eeb02602d31b Mon Sep 17 00:00:00 2001 From: betheymc <39339051+betheymc@users.noreply.github.com> Date: Wed, 5 Dec 2018 18:09:21 -0500 Subject: [PATCH] Fixed spelling of "instance" (#25974) --- guide/english/canvas/canvas-dimensions/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/canvas/canvas-dimensions/index.md b/guide/english/canvas/canvas-dimensions/index.md index 8a22155b80..9cd4065de3 100644 --- a/guide/english/canvas/canvas-dimensions/index.md +++ b/guide/english/canvas/canvas-dimensions/index.md @@ -10,7 +10,7 @@ The `width` and `height` attributes will control the size of the canvas. These a In the above pen, both `canvas` elements have the same dimensions set through CSS. However, one has twice the height set through the `height` attribute, thus leading the exact same rectangle to become rendered at half the height. -This can cause problems when you want to make a dynamically sized canvas. For instnace, you may want to make a full-screen canvas, or use a canvas as a thumbnail. +This can cause problems when you want to make a dynamically sized canvas. For instance, you may want to make a full-screen canvas, or use a canvas as a thumbnail. In order to make the size of the drawing context match the rendered size of the `canvas` element, we have to force this in realtime. One common practice is to put the following handler in the `onResize` listener.