Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/77.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html Chrome 76本机惰性加载属性在w3c中返回错误_Html_W3c Validation_Lazy Loading_Chrome76 - Fatal编程技术网

Html Chrome 76本机惰性加载属性在w3c中返回错误

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发行说明 实施示例 有人有同样的问题吗? 谢谢我可以主要考虑规范本身()仍处于草稿状态,因为事情仍在最终确定中。因此,

我刚刚在一些图片中实现了Chrome76的新本地延迟加载。 它只是将属性loading=“lazy”添加到图像中

例:


但令我惊讶的是,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."