We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e07b92c commit 9083615Copy full SHA for 9083615
css-paint-api/Overview.bs
@@ -421,7 +421,7 @@ is treated as opaque black.
421
When the user agent is to <dfn>create a PaintRenderingContext2D object</dfn> for a given |width|,
422
|height|, and |paintRenderingContext2DSettings|, it <em>must</em> run the following steps:
423
1. Create a new {{PaintRenderingContext2D}}.
424
- 2. <a>Set bitmap dimensions</a> for the context's <a>output bitmap</a> to |width| and |height|.
+ 2. <a>Set bitmap dimensions</a> for the context's <a>output bitmap</a> to the rounded values of |width| and |height|.
425
3. Set the {{PaintRenderingContext2D}}'s <a>alpha</a> flag to |paintRenderingContext2DSettings.alpha|.
426
4. Return the new {{PaintRenderingContext2D}}.
427
0 commit comments