Old files and some editors still write these elements. The explorer recognises every one, marks it in the tree with the version that has it, and lists the use of each group under Features on the Features tab.
SVG 1.1 elements that SVG 2 removed
| Element | Purpose | Today |
|---|---|---|
font, glyph, missing-glyph, hkern, vkern | An SVG font: each glyph has unicode, glyph-name, horiz-adv-x and a d outline; hkern and vkern adjust pairs (u1, u2, g1, g2, k). | Dropped from SVG 2. Web fonts replaced them. No current browser draws them. |
font-face, font-face-src, font-face-uri, font-face-format, font-face-name | The font description (font-family, units-per-em, ascent, descent and others) and where to get the font. | Replaced by CSS @font-face. |
tref, altGlyph, altGlyphDef, altGlyphItem, glyphRef | Text copying and glyph choice. | Removed. See the text elements. |
cursor | A custom mouse pointer image, named by the cursor property. | Use CSS cursor: url(…). |
color-profile | An ICC profile for icc-color() values and color-profile. | Removed; CSS Color has color() instead. |
animateColor | Colour animation. | Use animate. |
SVG Tiny 1.2
The mobile profile (2008) is a subset of SVG 1.1 plus a few elements of its own. A full SVG renderer ignores them.
| Element | Purpose |
|---|---|
textArea, tbreak | Text wrapped in a box, and a line break in it. |
solidColor | A paint server that paints one colour (solid-color, solid-opacity). |
audio, video, animation | Embedded media and an SVG played as an animation. |
handler, listener | Script event handlers wired to events. |
prefetch | A hint to load a resource early. |
discard | Removes an element at a time. SVG 2 has it too. |
Draft SVG 2 elements
Earlier drafts of SVG 2 had mesh gradients (meshgradient,
meshrow, meshpatch), hatches (hatch,
hatchpath) and the elements canvas, iframe and
unknown. They are not in SVG 2 as published as a Candidate Recommendation,
and no browser supports them. Inkscape can write mesh gradients and hatches. The
explorer lists them as draft elements and warns that other readers will not draw
them.
Not described
This page is partial.
- Reference: the attributes of the SVG font elements and of the SVG Tiny 1.2 and draft elements are mostly not described (only some are named), and the draft elements’ syntax is not described at all.
- Viewer: recognises these elements and marks them in the tree and on the Features tab, but does not check their attributes, parse SVG fonts into glyphs, or draw them.