From 9a110dee28ae2ef12ee014b98fda6bae6ee48edb Mon Sep 17 00:00:00 2001 From: YujiSoftware Date: Wed, 2 Mar 2022 20:22:51 +0900 Subject: Migrate to Compat macro (zh-cn) --- .../web/api/canvasgradient/addcolorstop/index.html | 50 +--------------------- files/zh-cn/web/api/canvasgradient/index.html | 50 +--------------------- 2 files changed, 2 insertions(+), 98 deletions(-) (limited to 'files/zh-cn/web/api/canvasgradient') diff --git a/files/zh-cn/web/api/canvasgradient/addcolorstop/index.html b/files/zh-cn/web/api/canvasgradient/addcolorstop/index.html index 3d8de40534..9da7d26ccb 100644 --- a/files/zh-cn/web/api/canvasgradient/addcolorstop/index.html +++ b/files/zh-cn/web/api/canvasgradient/addcolorstop/index.html @@ -113,55 +113,7 @@ window.addEventListener("load", drawCanvas);

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
功能ChromeFirefox (Gecko)Internet ExplorerOperaSafari
基本支持{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
功能AndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
基本支持{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
-
+{{Compat("api.CanvasGradient.addColorStop")}}

请参阅

diff --git a/files/zh-cn/web/api/canvasgradient/index.html b/files/zh-cn/web/api/canvasgradient/index.html index a504dc443b..eedb3672f5 100644 --- a/files/zh-cn/web/api/canvasgradient/index.html +++ b/files/zh-cn/web/api/canvasgradient/index.html @@ -46,55 +46,7 @@ translation_of: Web/API/CanvasGradient

浏览器兼容性

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
功能ChromeFirefox (Gecko)Internet ExplorerOperaSafari
基本支持4.0{{CompatGeckoDesktop("3.6")}} [1]9.09.03.1
-
- -
- - - - - - - - - - - - - - - - - - - -
功能AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
基本支持2.1{{CompatGeckoMobile("3.6")}} [1]{{CompatUnknown}}10.03.2
-
- -

[1] 在Gecko 5.0 {{geckoRelease("5.0")}} 以前,通过调用addColorStop()添加颜色断点时给定非有限的值,会错误的抛出 SYNTAX_ERR 而不是INDEX_SIZE_ERR

+{{Compat("api.CanvasGradient")}}

请参考

-- cgit v1.2.3-54-g00ecf