非常教程

SVG参考手册

分类 | Elements

altglyph

弃用

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

<altGlyph>SVG元素允许用于呈现其子字符数据的字形复杂的选择。

用法上下文

分类

文本内容元素,文本内容子元素

允许的内容

任何元素或字符数据

属性

全局属性

  • Conditional processing attributes
  • Core attributes
  • Graphical event attributes
  • Presentation attributes
  • XLink attributes
  • class
  • style
  • externalResourcesRequired

具体属性

  • x
  • y
  • dx
  • dy
  • rotate
  • glyphRef
  • format
  • xlink:href

DOM接口

This element implements the SVGAltGlyphElement interface.

规范

Specification

Status

Comment

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

Recommendation

Initial definition

浏览器兼容性

Feature

Chrome

Firefox (Gecko)

Internet Explorer

Opera

Safari

Basic support

1.0

4.0 (2.0)1 No support 49.0

?

10.6

4.0

Feature

Android

Firefox Mobile (Gecko)

IE Phone

Opera Mobile

Safari Mobile

Basic support

?

4.0 (2.0)1

No support

11.0

4.0

SVG

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