missing-glyph

<missing-glyph>

Deprecated

该功能已从Web标准中删除。尽管一些浏览器可能仍然支持,但它正在被丢弃。避免使用它并尽可能更新现有的代码; 请参阅本页面底部的兼容性表格来指导您的决定。请注意,此功能可能随时停止工作。

该<missing-glyph>SVG元素的内容呈现,如果给定字符的字体没有定义适当的<glyph>。

用法上下文

分类没有
允许的内容任意数量的下列元素,以任何顺序排列:动画元素描述元素图形元素结构元素渐变元素<a>, <altGlyphDef>, <clipPath>, <color-profile>, <cursor>, <filter>, <font>, <font-face>, <foreignObject>, <image>, <marker>, <mask>, <pattern>, <script>, <style>, <switch>, <text>, <view>

属性

全局属性

  • Core attributes

  • Presentation attributes

  • class

  • style

具体属性

  • d

  • horiz-adv-x

  • vert-origin-x

  • vert-origin-y

  • vert-adv-y

DOM接口

这个元素实现了SVGMissingGlyphElement接口。

产品规格

SpecificationStatusComment
Scalable Vector Graphics (SVG) 1.1 (Second Edition)The definition of '<missing-glyph>' in that specification.RecommendationInitial definition

浏览器兼容性

FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support?????

FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support?????