Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Nov 17, 2024
1 parent a759fd7 commit 0b2f910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/css_painting_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The API defines a {{domxref('worklet')}} that can be used to programmatically ge
- {{domxref('PaintWorkletGlobalScope')}}
- : The global execution context of the paint worklet.
- {{domxref('PaintRenderingContext2D')}}
- : Implements a subset of the {{domxref('CanvasRenderingContext2D')}} API. It has an output bitmap that is the size of the object it is rendering to.
- : The rendering context for drawing to the bitmap for the [CSS Painting API](/en-US/docs/Web/API/CSS_Painting_API).
- {{domxref('PaintSize')}}
- : Returns the read-only values of the output bitmap's width and height.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/paintrenderingcontext2d/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ browser-compat: api.PaintRenderingContext2D

{{APIRef("CSS Painting API")}}{{SeeCompatTable}}

The **`PaintRenderingContext2D`** interface of the [CSS Painting API](/en-US/docs/Web/API/CSS_Painting_API) is a rendering context for drawing to the bitmap for the [CSS Painting API](/en-US/docs/Web/API/CSS_Painting_API). It implements a subset of the {{domxref("CanvasRenderingContext2D")}} API.
The **`PaintRenderingContext2D`** interface of the [CSS Painting API](/en-US/docs/Web/API/CSS_Painting_API) is the rendering context for drawing to the bitmap for the [CSS Painting API](/en-US/docs/Web/API/CSS_Painting_API). It implements a subset of the {{domxref("CanvasRenderingContext2D")}} API.

The interface is only available in {{domxref("CanvasRenderingContext2D", "paint worklet global scope", "", 1)}}.

Expand Down

0 comments on commit 0b2f910

Please sign in to comment.