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/canvasrenderingcontext2d/scrollpathintoview/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html') diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html index 222fb61aa0..b2edfdbe08 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html @@ -43,7 +43,7 @@ ctx.scrollPathIntoView();

修改下面的代码并在线查看 canvas 的变化:

-
+