非常教程

SVG参考手册

分类 | Elements

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接口。

产品规格

Specification

Status

Comment

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

Recommendation

Initial definition

浏览器兼容性

Feature

Chrome

Firefox (Gecko)

Internet Explorer

Opera

Safari

Basic support

?

?

?

?

?

Feature

Android

Firefox Mobile (Gecko)

IE Phone

Opera Mobile

Safari Mobile

Basic support

?

?

?

?

?

SVG

可缩放矢量图形是基于可扩展标记语言(标准通用标记语言的子集),用于描述二维矢量图形的一种图形格式。它由万维网联盟制定,是一个开放标准。