html - 在 AMP 页面上,amp-carousel 元素是否应该具有灯箱属性?
问题描述
我收到不同的冲突 AMP 验证消息。
当我向amp-carousel元素添加灯箱属性时,我收到以下验证消息。
The attribute 'lightbox' may not appear in tag 'amp-carousel'
但如果我删除它,我会收到以下验证消息..
The mandatory attribute 'lightbox' is missing in tag 'AMP-CAROUSEL. [lightbox]'
感觉 AMP 验证器无法下定决心。
我正在使用这个网址。 https://leasing.com/car-leasing-news/2018-mercedes-s-class-coupe-cabriolet/amp/
在以下验证器上..
解决方案
推荐阅读
- python - Selenium webdriver page_source在scrolled_down后不提供全部内容
- entity-framework - 如何使用流畅的 API 将表映射到上下文?
- javascript - jquery中的动态依赖下拉列表
- mongodb - 使用 MongoDb compass GUI 连接到 MongoDB 副本集(在 kubernetes 内)
- kotlin - 如何在 GameActivity 内的 SurfaceView 内使用 Toast 消息?
- node.js - 在 Heroku 网络应用程序上,如何将用户从 .herokuapp.com 重定向到自定义域?
- javascript - 打字稿路由错误 - 没有重载匹配此调用
- google-chrome - 如何使用 chrome 扩展 API 为子域设置 cookie?
- ios - 如何将属性的类型限制为预定义的两种类型(UIColor 或 CAGradientLayer)
- oracle - 如何查找 Oracle 表列整理/整理