Slot projection / 插槽投影
Six original synthetic cases. Browser demonstration only; not Google's renderer, an indexing test or a client result. 六个原创合成案例,只演示普通浏览器,不代表Google渲染或客户成果。
A · Default slot / 默认插槽
DEMO-A · Inspection scope / 检查范围
Expected: assigned paragraph is displayed. 预期显示所填段落。
B · No slot / 没有插槽
DEMO-B · Hidden light content / 未投影正文
Expected: component shell only. 预期只有组件外壳。
C · Matching named slot / 名称匹配
DEMO-C · Delivery notes / 交付说明
Expected: assigned paragraph is displayed. 预期显示所填段落。
D · Mismatched name / 名称不匹配
DEMO-D · Not assigned / 未分配
Expected: fallback, not the intended paragraph. 预期回退文字,不是所填正文。
E · No supplied child / 未提供子内容
Expected: fallback is visible; it is not actual service copy. 预期显示回退文字,不是真实服务说明。
F · Two same-name slots / 重复名称
DEMO-F · One supplied paragraph / 一段所填正文
Expected: paragraph in first slot; second slot shows fallback. 预期首插槽接收正文,第二个显示回退。
Article / 英文文章 · 中文文章