Skip to content
Permalink
Browse files

Reference SVG 2

Remove reference to SVG 1.1 and SVG Tiny.

Fixes #3679.
  • Loading branch information...
dstorey authored and annevk committed May 18, 2018
1 parent 691488b commit 7069de4fcf2f92295dded520ed5d7275addab2e7
Showing with 16 additions and 53 deletions.
  1. +16 −53 source
69 source
encouraged, at least for Web browsers), certain features depend upon parts of SVG being
implemented.</p>

<p>Also, the SVG specifications do not reflect implementation reality. Implementations implement
subsets of SVG 1.1 and SVG Tiny 1.2. Although it is hoped that the in-progress SVG 2
specification is a more realistic target for implementations, until that specification is ready,
user agents that implement SVG must do so with the following <span data-x="willful
violation">willful violations</span> and additions. <ref spec=SVG> <ref spec=SVGTINY12> <ref
spec=SVG2></p>
<p>User agents that implement SVG must implement the <cite>SVG 2</cite> specification, and not
any earlier revisions.</p>

<p>User agents that implement SVG must not implement the following features from SVG 1.1:</p>
<p>The following features are defined in the <cite>SVG 2</cite> specification: <ref
spec=SVG></p>

<ul class="brief">
<li>The <code data-x="">tref</code> element</li>
<li>The <code data-x="">cursor</code> element (use CSS's <code data-x="">cursor</code> property
instead)</li>
<li>The font-defining SVG elements: <code data-x="">font</code>, <code data-x="">glyph</code>,
<code data-x="">missing-glyph</code>, <code data-x="">hkern</code>, <code
data-x="">vkern</code>, <code data-x="">font-face</code>, <code data-x="">font-face-src</code>,
<code data-x="">font-face-uri</code>, <code data-x="">font-face-format</code>, and <code
data-x="">font-face-name</code> (use CSS's <code data-x="">@font-face</code> instead)</li>
<li>The <code data-x="">externalResourcesRequired</code> attribute</li>
<li>The <code data-x="">enable-background</code> property</li>
<li>The <code data-x="">contentScriptType</code> and <code data-x="">contentStyleType</code>
attributes (use the <code data-x="">type</code> attribute on the <span>SVG
<code>script</code></span> and <code data-x="">style</code> elements instead)</li>
</ul>

<p>User agents that implement SVG must implement the following features from SVG Tiny 1.2:</p>

<ul class="brief">
<li>The <code data-x="">non-scaling-stroke</code> value for the <code
data-x="">vector-effect</code> property</li>
<li>The <code data-x="">class</code> attribute is allowed on all SVG elements</li>
<li>The <code data-x="">tabindex</code> attribute is allowed on visible SVG elements</li>
<li>The ARIA accessibility attributes are allowed on all SVG elements</li>
</ul>

<p>The following features are defined in the SVG specifications:</p>

<ul class="brief">
<li><dfn data-x-href="https://www.w3.org/TR/SVG11/types.html#InterfaceSVGElement"><code>SVGElement</code></dfn> interface</li>
<li><dfn data-x-href="https://www.w3.org/TR/SVG11/struct.html#InterfaceSVGImageElement"><code>SVGImageElement</code></dfn> interface</li>
<li><dfn data-x-href="https://www.w3.org/TR/SVG11/script.html#InterfaceSVGScriptElement"><code>SVGScriptElement</code></dfn> interface</li>
<li><dfn data-x-href="https://www.w3.org/TR/SVG11/struct.html#InterfaceSVGSVGElement"><code>SVGSVGElement</code></dfn> interface</li>
<li><dfn data-x-href="https://www.w3.org/TR/SVG11/struct.html#DescElement">SVG <code>desc</code></dfn> element</li>
<li><dfn data-x-href="https://www.w3.org/TR/SVG11/extend.html#ForeignObjectElement">SVG <code>foreignObject</code></dfn> element</li>
<li><dfn data-x-href="https://www.w3.org/TR/SVG11/struct.html#ImageElement">SVG <code>image</code></dfn> element</li>
<li><dfn data-x-href="https://www.w3.org/TR/SVG11/script.html#ScriptElement">SVG <code>script</code></dfn> element</li>
<li><dfn data-x-href="https://www.w3.org/TR/SVG11/struct.html#SVGElement">SVG <code>svg</code></dfn> element</li>
<li><dfn data-x-href="https://www.w3.org/TR/SVG11/struct.html#TitleElement">SVG <code>title</code></dfn> element</li>
<li><dfn data-x-href="https://www.w3.org/TR/SVG11/struct.html#UseElement">SVG <code>use</code></dfn> element</li>
<li><dfn data-x-href="https://svgwg.org/svg2-draft/types.html#InterfaceSVGElement"><code>SVGElement</code></dfn> interface</li>
<li><dfn data-x-href="https://svgwg.org/svg2-draft/embedded.html#InterfaceSVGImageElement"><code>SVGImageElement</code></dfn> interface</li>
<li><dfn data-x-href="https://svgwg.org/svg2-draft/interact.html#InterfaceSVGScriptElement"><code>SVGScriptElement</code></dfn> interface</li>
<li><dfn data-x-href="https://svgwg.org/svg2-draft/struct.html#InterfaceSVGSVGElement"><code>SVGSVGElement</code></dfn> interface</li>
<li><dfn data-x-href="https://svgwg.org/svg2-draft/struct.html#DescElement">SVG <code>desc</code></dfn> element</li>
<li><dfn data-x-href="https://svgwg.org/svg2-draft/embedded.html#ForeignObjectElement">SVG <code>foreignObject</code></dfn> element</li>
<li><dfn data-x-href="https://svgwg.org/svg2-draft/embedded.html#ImageElement">SVG <code>image</code></dfn> element</li>
<li><dfn data-x-href="https://svgwg.org/svg2-draft/interact.html#ScriptElement">SVG <code>script</code></dfn> element</li>
<li><dfn data-x-href="https://svgwg.org/svg2-draft/struct.html#SVGElement">SVG <code>svg</code></dfn> element</li>
<li><dfn data-x-href="https://svgwg.org/svg2-draft/struct.html#TitleElement">SVG <code>title</code></dfn> element</li>
<li><dfn data-x-href="https://svgwg.org/svg2-draft/struct.html#UseElement">SVG <code>use</code></dfn> element</li>
</ul>
</dd>

<dd><cite><a href="https://w3c.github.io/webappsec-subresource-integrity/">Subresource Integrity</a></cite>, D. Akhawe, F. Braun, F. Marier, J. Weinberger. W3C.</dd>

<dt id="refsSVG">[SVG]</dt>
<dd><cite><a href="https://www.w3.org/TR/SVG11/">Scalable Vector Graphics (SVG) 1.1 (Second Edition)</a></cite>, E. Dahlström, P. Dengler, A. Grasso, C. Lilley, C. McCormack, D. Schepers, J. Watt, J. Ferraiolo, J. Fujisawa, D. Jackson. W3C.</dd>

<dt id="refsSVGTINY12">[SVGTINY12]</dt>
<dd><cite><a href="https://www.w3.org/TR/SVGTiny12/">Scalable Vector Graphics (SVG) Tiny 1.2</a></cite>, O. Andersson, R. Berjon, E. Dahlström, A. Emmons, J. Ferraiolo, A. Grasso, V. Hardy, S. Hayman, D. Jackson, C. Lilley, C. McCormack, A. Neumann, C. Northway, A. Quint, N. Ramani, D. Schepers, A. Shellshear. W3C.</dd>

<dt id="refsSVG2">[SVG2]</dt>
<dd>(Non-normative) <cite><a href="https://svgwg.org/svg2-draft/">Scalable Vector Graphics (SVG) 2</a></cite>, N. Andronikos, R. Atanassov, T. Bah, A. Bellamy-Royds, B. Birtles, B. Brinza, C. Concolato, E. Dahlström, C. Lilley, C. McCormack, D. Schepers, D. Schulze, R. Schwerdtfeger, S. Takagi, J. Watt. W3C.</dd>
<dd><cite><a href="https://svgwg.org/svg2-draft/">Scalable Vector Graphics (SVG) 2</a></cite>, N Andronikos, R. Atanassov, T. Bah, B. Birtles, B. Brinza, C. Concolato, E. Dahlström, C. Lilley, C. McCormack, D. Schepers, R. Schwerdtfeger, D. Storey, S. Takagi, J. Watt. W3C.</dd>

<dt id="refsSW">[SW]</dt>
<dd><cite><a href="https://w3c.github.io/ServiceWorker/">Service Workers</a></cite>, A. Russell, J. Song, J. Archibald. W3C.</dd>

0 comments on commit 7069de4

Please sign in to comment.
You can’t perform that action at this time.