A number of stylistic changes have been made to the specification to make it more readable. These include the following:
A change towards using styling similar to contemporary CSS specifications.
Annotations have been added to the specification to reflect features that the Working Group
has resolved on including and for which a member of the group has committed to drive that feature.
Changes to highlight that SVG can be used in HTML as well as in XML.
Merged the metadata chapter with the document structure chapter.
In additional to the editorial changes listed above, the following substantial additions, changes and removals
have been made.
L.2.1. Across the whole document
References to the SVG DTD have been removed.
IDL has been updated to use Web IDL syntax.
Added "length" attribute and indexed property access to all list interfaces.
Remove definition of <angle> type and reference CSS3-values.
Change all coordinate types to <length> in preparation for referencing css3-values..
Add the ‘script’ element to the content model of all elements.
Changed the initialize, appendItem, replaceItem and insertItemBefore methods
on list objects to make a copy of any list item being inserted that is already
in another list.
The ‘image’ and ‘script’ elements have gained a crossorigin attribute,
for use with the CORS-enabled fetch algorithm.
Removed getStrokeBBox from SVGGraphicsElement and extended getBBox with a dictionary argument that controls which parts of the element are included in the returned bounding box.
Defined event handler content attributes and IDL attributes on the root ‘svg’ element to be for events fired at the Window, like HTML's event handler content attributes and IDL attribute on body.
Rewrite ‘desc’ and ‘title’ description
to reflect ARIA and accessibility mapping.
Remove recommendation on how to structure metadata elements
within the SVG document.
Remove requirement for SVGDocument property on the Document interface object.
Descendent elements of ‘switch’ that have
the ‘systemLanguage’ attribute should be reordered according to the
definition of the SMIL 'allowReorder' attribute.
Updated user agent style sheet - inner svg elements and foreignObject elements are no longer set as overflow:hidden.
Added hatch to list of elements with overflow:hidden in User Agent style sheet.
Set the default value of transform-origin to '0 0' for all elements except root svg elements and svg elements that are the child of a foreignObject element.
Substantially rewrote the chapter to be more concise.
Defined that HTML ‘link’ elements
must load external style sheets.
Specified the exact set of properties
that have presentation attributes, their names (when the presentation
attribute name does not match the property name), and on which elements
they are allowed.
Added a list of properties defined in other
specifications that conforming SVG 2 user agents must support.
Added User Agent style sheet rule to map the
deprecated ‘xml:space’ attribute to the
white-space property.
Required that @font-face rules and
::first-letter & ::first-line pseudo-elements on ‘text’
elements must be supported.
Required that all SVG and HTML
style sheets in an HTML document with inline SVG content must
apply to all content in the document.
Allow presentation attributes on any svg namespaced element.
L.2.7. Geometry Properties chapter
Removed ‘pattern’ and ‘filter’ from the set of elements that the x and y properties
apply to.
Defined that width and
height property values of auto
are computed to 0 for SVG elements that
the properties apply to.
auto equates to 100% for width and height on the ‘svg’ element.
Remove ‘mask’ from the list of elements where width and height are sizing properties.
L.2.8. Coordinate Systems, Transformations and Units chapter
Make SVGMatrix.skew{X,Y} throw an exception on bad values.
Added improved wording on bounding box
from SVG Tiny 1.2, and an algorithm which can compute a bounding box for an element.
Define bounding box for element with no position to be at (0,0).
Changed getComputedTextLength() to not include
‘dx’ and ‘dy’ values.
Moved the discussion of width
and height properties to the Geometry Properties chapter.
L.2.12. Embedded Content chapter
Added this chapter, which includes new
‘video’, ‘audio’, ‘iframe’, ‘canvas’,
‘source’ and ‘track’
elements that behave almost identically
to the equivalent HTML elements.
Removed the SVG copies of
HTML's embedded content elements and instead allowed those
elements to be used in the HTML namespace within SVG
container elements.
Removed the requirement to
ignore clip and overflow on an SVG document
when referenced by an ‘image’ element.
Allow image height and width to be "auto", determined from intrinsic dimensions or aspect ratio of the image file.
L.2.13. Painting chapter
Added more detail to the descriptions of the stroke properties and added algorithms
defining the exact shape a stroke must have.
Added requirements for images to be color managed.
Added new color syntaxes from the SVG Color specification: RGBA colors, HSL colors,
LAB colors, ICC named colors and device colors.
Removed the ‘color-profile’ property.
Removed the ‘color-profile’ element.
L.2.15. Paint Servers chapter
Added the ‘solidcolor’ element and its two properties solid-color
and solid-opacity, ported over from SVG Tiny 1.2. (Renamed 'solidColor' to
'solidcolor'.)
Added an ‘fr’ attribute to the ‘radialGradient’ element,
which allows specifying the radius of the focal circle.
Added a section for mesh gradients, defining the ‘mesh’, ‘meshrow’
and ‘meshpatch’ elements. (Renamed 'meshGradient' to 'mesh', 'meshRow' to 'meshrow',
and 'meshPatch' to 'meshpatch'.)
Added a section for hatches, defining the ‘hatch’ and ‘hatchpath’ elements.
(Renamed 'hatchPath' to 'hatchpath'.)
Renamed ‘gradientTransform’ on the ‘mesh’ element
and ‘hatchTransform’ on the ‘hatch’ element to ‘transform’.
L.2.16. Clipping, Masking and Compositing chapter
SVG now references CSS Masking [CSS-MASKING] specification.
Removed definition of clipping/masking properties and elements.
Keep short introduction to clipping/masking and add reference to CSS Masking
Added reference to Compositing and Blending spec. Simple alpha compositing it mandatory.
The overflow property should be respected on the outermost svg elements inline in html.
Merge Clipping, Masking and Compositing chapter into Rendering Model chapter.
L.2.17. Filter Effects chapter
Removed the body of this chapter and replaced it with a link to the
Filter Effect specification.
L.2.18. Interactivity chapter
Added the ‘tabindex’ attribute.
Corrected the definition of the ‘href’ attribute on
the ‘cursor’ element to take an URL that is not in a CSS-like
functional form.
Removed this chapter and the SVG Fonts
feature it contained, including the
‘font’,
‘glyph’,
‘missing-glyph’,
‘hkern’,
‘vkern’,
‘font-face’,
‘font-face-src’,
‘font-face-uri’,
‘font-face-format’ and
‘font-face-name’ elements
and their corresponding IDL interfaces.