From 97065b2e68dd8768dc1ea092c893c57ebe205026 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Thu, 25 Feb 2021 08:31:36 -0500 Subject: use class="hidden" not style="display:none" --- .../web/api/canvas_api/tutorial/applying_styles_and_colors/index.html | 2 +- files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html | 2 +- files/zh-tw/web/api/xmlhttprequest/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'files/zh-tw/web/api') diff --git a/files/zh-tw/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html b/files/zh-tw/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html index 86e41e3476..65e2a5055d 100644 --- a/files/zh-tw/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html +++ b/files/zh-tw/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html @@ -610,7 +610,7 @@ var ptrn = ctx.createPattern(img,'repeat');
draw();
-

結果如下 :

+

結果如下:

{{EmbedLiveSample("A_createPattern_example", "180", "180", "https://mdn.mozillademos.org/files/222/Canvas_createpattern.png")}}

diff --git a/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html b/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html index e5792ffade..c6f1baaaa8 100644 --- a/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html +++ b/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html @@ -60,7 +60,7 @@ ctx.clearRect(10, 10, 100, 100);

Edit the code below and see your changes update live in the canvas:

-
+