From 67837bd7521591241f22f9b3bc3e29d3941bc5fc Mon Sep 17 00:00:00 2001 From: Map1en_ Date: Tue, 6 Jul 2021 09:40:15 +0800 Subject: Fix Web/HTML/Element/img, zh-CN (#1394) fix(img): link of crossorigin attributes(zh-cn) --- files/zh-cn/web/html/element/img/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/zh-cn/web/html/element') diff --git a/files/zh-cn/web/html/element/img/index.html b/files/zh-cn/web/html/element/img/index.html index fef8ea66e5..66069f464a 100644 --- a/files/zh-cn/web/html/element/img/index.html +++ b/files/zh-cn/web/html/element/img/index.html @@ -86,7 +86,7 @@ translation_of: Web/HTML/Element/img
use-credentials
一个有证书的跨域请求(比如,有 Origin HTTP header)被发送 (比如,cookie, 一份证书,或者 HTTP 基本验证信息)。如果服务器没有给源站发送证书(通过 Access-Control-Allow-Credentials HTTP header),图像将会被污染,且它的使用会受限制。
- 当用户并未显式使用本属性时,默认不使用 CORS 发起请求(例如,不会向服务器发送原有的HTTP 头部信息),可防止其在 {{HTMLElement('canvas')}} 中的使用。如果无效,默认当做 anonymous 关键字生效。更多信息,请查看 CORS 属性设置 。 + 当用户并未显式使用本属性时,默认不使用 CORS 发起请求(例如,不会向服务器发送原有的HTTP 头部信息),可防止其在 {{HTMLElement('canvas')}} 中的使用。如果无效,默认当做 anonymous 关键字生效。更多信息,请查看 CORS 属性设置
{{htmlattrdef("decoding")}}

为浏览器提供图像解码方式上的提示。允许的值:

-- cgit v1.2.3-54-g00ecf