Html Chrome 76本机惰性加载属性在w3c中返回错误
我刚刚在一些图片中实现了Chrome76的新本地延迟加载。 它只是将属性loading=“lazy”添加到图像中 例:Html Chrome 76本机惰性加载属性在w3c中返回错误,html,w3c-validation,lazy-loading,chrome76,Html,W3c Validation,Lazy Loading,Chrome76,我刚刚在一些图片中实现了Chrome76的新本地延迟加载。 它只是将属性loading=“lazy”添加到图像中 例: 但令我惊讶的是,w3c返回了以下错误: "Error: Attribute loading not allowed on element img at this point." “错误:此时不允许在元素img上加载属性。” 一些文件: Chrome 76发行说明 实施示例 有人有同样的问题吗? 谢谢我可以主要考虑规范本身()仍处于草稿状态,因为事情仍在最终确定中。因此,
但令我惊讶的是,w3c返回了以下错误:
"Error: Attribute loading not allowed on element img at this point."
“错误:此时不允许在元素img上加载属性。”
一些文件:
Chrome 76发行说明
实施示例
有人有同样的问题吗?
谢谢我可以主要考虑规范本身()仍处于草稿状态,因为事情仍在最终确定中。因此,可能验证器只是考虑正确验证“稳定”或至少“不再处于草稿状态”的功能(或者它只是没有实现;-),原因可能与前面所述的相同) "Error: Attribute loading not allowed on element img at this point."