svg2: ACTION-3277: add HTML's style element attributes to SVG's style...

details:   https://svgwg.org/hg/svg2/rev/92a2d21f546a
branches:  
changeset: 690:92a2d21f546a
user:      Erik Dahlstrom <ed@opera.com>
date:      Thu Aug 07 16:46:32 2014 +0200
description:
ACTION-3277: add HTML's style element attributes to SVG's style element.

diffstat:

 master/changes.html    |  1 +
 master/definitions.xml |  1 +
 master/styling.html    |  4 +++-
 3 files changed, 5 insertions(+), 1 deletions(-)

diffs (66 lines):

diff --git a/master/changes.html b/master/changes.html
--- a/master/changes.html
+++ b/master/changes.html
@@ -146,16 +146,17 @@ have been made.</p>
 
   <li>Removed the <span class="attr-name">baseProfile</span> and <span class="attr-name">version</span> attributes from the <a>'svg'</a> element.</li>
 </ul>
 
 <h3 id="styling">Styling chapter</h3>
 
 <ul>
   <li>Removed the <span class="attr-name">'contentStyleType'</span> attribute.</li>
+  <li class="added-since-last-wd"><a>SVGStyleElement</a> now implements <a>LinkStyle</a>.</li>
 </ul>
 
 <h3 id="coords">Coordinate Systems, Transformations and Units chapter</h3>
 
 <ul>
   <li>Added constructors to <a>SVGPoint</a>, <a>SVGMatrix</a> and <a>SVGTransform</a>.</li>
   <li>Make <a>SVGMatrix</a>.skew{X,Y} throw an exception on bad values.</li>
   <li>Added improved wording on bounding box
diff --git a/master/definitions.xml b/master/definitions.xml
--- a/master/definitions.xml
+++ b/master/definitions.xml
@@ -1338,16 +1338,17 @@
   <interface name='CSSRule' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSRule'/>
   <interface name='ViewCSS' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-ViewCSS'/>
   <interface name='RGBColor' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-RGBColor'/>
   <interface name='AbstractView' href='http://www.w3.org/TR/DOM-Level-2-Views/views.html#Views-AbstractView'/>
   <interface name='EmbeddingElement' href='http://www.w3.org/TR/Window/#embeddingelt'/>
   <interface name='Window' href='http://www.w3.org/TR/2014/CR-html5-20140204/browsers.html#the-window-object'/>
   <interface name='WindowEventHandlers' href='http://www.w3.org/TR/2014/CR-html5-20140204/webappapis.html#windoweventhandlers'/>
   <interface name='GlobalEventHandlers' href='http://www.w3.org/TR/2014/CR-html5-20140204/webappapis.html#globaleventhandlers'/>
+  <interface name='LinkStyle' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/stylesheets.html#StyleSheets-LinkStyle'/>
 
   <!-- ... terms .......................................................... -->
   <term name='compound selector' href='http://dev.w3.org/csswg/selectors4/#compound'/>
   <term name='compound selectors' href='http://dev.w3.org/csswg/selectors4/#compound'/>
   <term name='tree order' href='http://www.w3.org/TR/2014/WD-dom-20140204/#concept-tree-order'/>
   <term name='InvalidAccessError' href='http://www.w3.org/TR/2014/WD-dom-20140204/#invalidaccesserror'/>
   <term name='InvalidStateError' href='http://www.w3.org/TR/2014/WD-dom-20140204/#invalidstateerror'/>
   <term name='SyntaxError' href='http://www.w3.org/TR/2014/WD-dom-20140204/#syntaxerror'/>
diff --git a/master/styling.html b/master/styling.html
--- a/master/styling.html
+++ b/master/styling.html
@@ -1338,17 +1338,19 @@ with DOM2 CSS object model</a>.)</p>
 <edit:with element='style'>
 
 The <a>SVGStyleElement</a> interface corresponds to the <a>'style element'</a>
 element.
 <pre class="idl">interface <b>SVGStyleElement</b> : <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> {
   attribute DOMString <a href="styling.html#__svg__SVGStyleElement__type">type</a>;
   attribute DOMString <a href="styling.html#__svg__SVGStyleElement__media">media</a>;
   attribute DOMString <a href="styling.html#__svg__SVGStyleElement__title">title</a>;
-};</pre>
+};
+
+<a>SVGStyleElement</a> implements <a>LinkStyle</a>;</pre>
 
 <dl class="interface">
 <dt class="attributes-header">Attributes:</dt>
 <dd>
 <dl class="attributes">
 
 <dt id="__svg__SVGStyleElement__type" class="attribute first-child"><b>type</b><span class="idl-type-parenthetical"> (DOMString)</span></dt>
 <dd class="attribute">

Received on Thursday, 7 August 2014 14:49:54 UTC