Make HTMLElement and SVGElement implement ElementCSSInlineStyle. https://www.w3.org/Bugs/Public/show_bug.cgi?id=21849

Fri, 07 Jun 2013 10:32:38 +0200

author
Simon Pieters <simonp@opera.com>
date
Fri, 07 Jun 2013 10:32:38 +0200
changeset 8371
ca20cc414744
parent 8370
e913d111c3c1
child 8372
b3a214e224d7

Make HTMLElement and SVGElement implement ElementCSSInlineStyle. https://www.w3.org/Bugs/Public/show_bug.cgi?id=21849

cssom/Overview.html file | annotate | diff | comparison | revisions
cssom/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/cssom/Overview.html	Fri Jun 07 16:59:18 2013 +0900
     1.2 +++ b/cssom/Overview.html	Fri Jun 07 10:32:38 2013 +0200
     1.3 @@ -32,14 +32,14 @@
     1.4  <div class="head">
     1.5   
     1.6  <!--begin-logo-->
     1.7 -<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
     1.8 +<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="https://www.w3.org/Icons/w3c_home" width="72"></a></p>
     1.9  <!--end-logo-->
    1.10  
    1.11  
    1.12   <h1>CSS Object Model (CSSOM)</h1>
    1.13  
    1.14  
    1.15 - <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 5 June 2013</h2>
    1.16 + <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 7 June 2013</h2>
    1.17  
    1.18   <dl>
    1.19  
    1.20 @@ -94,7 +94,7 @@
    1.21  this document other than as work in progress.</p>
    1.22  
    1.23  <p class="note">Implementers should note well that this specification is an ongoing effort to sort out
    1.24 -what has been widely implemented and deployed from <a href="#refsDOM2STYLE">[DOM2STYLE]</a> as well as common extensions thereto, some details
    1.25 +what has been widely implemented and deployed from <a class="informative" href="#refsDOM2STYLE">[DOM2STYLE]</a> as well as common extensions thereto, some details
    1.26  of which are currently interoperable and others which are not currently interoperable. As this specification moves
    1.27  forward, it is hoped that these differences will be resolved and an unambiguous and adequate consensus-based
    1.28  specification will emerge.</p>
    1.29 @@ -105,7 +105,7 @@
    1.30  can be found in the
    1.31  <a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em>
    1.32  
    1.33 -<p class="dontpublish">This is the 5 June 2013 Editor's Draft of CSSOM. Please send comments to
    1.34 +<p class="dontpublish">This is the 7 June 2013 Editor's Draft of CSSOM. Please send comments to
    1.35  <a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a>
    1.36  (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
    1.37  with <samp>[cssom]</samp> at the start of the subject line.
    1.38 @@ -214,12 +214,12 @@
    1.39  and manipulation of style related state information and processes.</p>
    1.40  
    1.41  <p>The features defined below are fundamentally based on prior specifications of the W3C DOM Working Group, primarily
    1.42 -<a href="#refsDOM2STYLE">[DOM2STYLE]</a>. The purposes of the present document are (1) to improve on that prior work by providing
    1.43 +<a class="informative" href="#refsDOM2STYLE">[DOM2STYLE]</a>. The purposes of the present document are (1) to improve on that prior work by providing
    1.44  more technical specificity (so as to improve testability and interoperability), (2) to deprecate or remove certain less-widely implemented
    1.45  features no longer considered to be essential in this context, and (3) to newly specify certain extensions that have been
    1.46  or expected to be widely implemented.</p>
    1.47  
    1.48 -<p>A full list of the changes to API signatures can be found in <a href="#changes-from-dom2"><cite>Changes from DOM-2 Style</cite></a>.</p>
    1.49 +<p>A full list of the changes to API signatures can be found in <a href="#changes-from-dom-2-style"><cite>Changes from DOM-2 Style</cite></a>.</p>
    1.50  
    1.51  
    1.52  <h2 id="conformance"><span class="secno">2 </span>Conformance</h2>
    1.53 @@ -2668,6 +2668,13 @@
    1.54  <code title="">style</code> content attribute is set, changed or removed, the <a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a> must be
    1.55  updated as appropriate.</p>
    1.56  
    1.57 +<p>If the user agent supports HTML, the following IDL applies: <a class="informative" href="#refsHTML">[HTML]</a>
    1.58 +
    1.59 +<pre class="idl"><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#htmlelement">HTMLElement</a> implements <a href="#elementcssinlinestyle">ElementCSSInlineStyle</a>;</pre>
    1.60 +
    1.61 +<p>If the user agent supports SVG, the following IDL applies: <a class="informative" href="#refsSVG">[SVG]</a>
    1.62 +
    1.63 +<pre class="idl">SVGElement implements <a href="#elementcssinlinestyle">ElementCSSInlineStyle</a>;</pre>
    1.64  
    1.65  
    1.66  <h3 id="extensions-to-the-window-interface"><span class="secno">7.2 </span>Extensions to the <code title="">Window</code> Interface</h3>
    1.67 @@ -2911,7 +2918,7 @@
    1.68  <dd><cite><a href="http://dom.spec.whatwg.org/">DOM</a></cite>, Anne van Kesteren, Aryeh Gregor and Ms2ger. WHATWG.
    1.69  
    1.70  <dt id="refsDOM2STYLE">[DOM2STYLE]
    1.71 -<dd><cite><a href="http://www.w3.org/TR/DOM-Level-2-Style/">Document Object Model (DOM) Level 2 Style Specification</a></cite>, Chris Wilson, Philippe Le Hégaret and Vidur Apparao. W3C.
    1.72 +<dd>(Non-normative) <cite><a href="http://www.w3.org/TR/DOM-Level-2-Style/">Document Object Model (DOM) Level 2 Style Specification</a></cite>, Chris Wilson, Philippe Le Hégaret and Vidur Apparao. W3C.
    1.73  
    1.74  <dt id="refsHTML">[HTML]
    1.75  <dd><cite><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">HTML</a></cite>, Ian Hickson. WHATWG.
    1.76 @@ -2922,6 +2929,9 @@
    1.77  <dt id="refsSELECTORS">[SELECTORS]
    1.78  <dd><cite><a href="http://dev.w3.org/csswg/selectors4/">Selectors Level 4</a></cite>, Elika J. Etemad. W3C.
    1.79  
    1.80 +<dt id="refsSVG">[SVG]
    1.81 +<dd>(Non-normative) <cite><a href="http://www.w3.org/TR/SVG/">Scalable Vector Graphics (SVG)</a></cite>, O. Andersson, R. Berjon, E. Dahlström et al.. W3C.
    1.82 +
    1.83  <dt id="refsURL">[URL]
    1.84  <dd><cite><a href="http://url.spec.whatwg.org/">URL</a></cite>, Anne van Kesteren. WHATWG.
    1.85  
     2.1 --- a/cssom/Overview.src.html	Fri Jun 07 16:59:18 2013 +0900
     2.2 +++ b/cssom/Overview.src.html	Fri Jun 07 10:32:38 2013 +0200
     2.3 @@ -98,7 +98,7 @@
     2.4  this document other than as work in progress.</p>
     2.5  
     2.6  <p class="note">Implementers should note well that this specification is an ongoing effort to sort out
     2.7 -what has been widely implemented and deployed from <span data-anolis-ref>DOM2STYLE</span> as well as common extensions thereto, some details
     2.8 +what has been widely implemented and deployed from <span data-anolis-ref class=informative>DOM2STYLE</span> as well as common extensions thereto, some details
     2.9  of which are currently interoperable and others which are not currently interoperable. As this specification moves
    2.10  forward, it is hoped that these differences will be resolved and an unambiguous and adequate consensus-based
    2.11  specification will emerge.</p>
    2.12 @@ -145,12 +145,12 @@
    2.13  and manipulation of style related state information and processes.</p>
    2.14  
    2.15  <p>The features defined below are fundamentally based on prior specifications of the W3C DOM Working Group, primarily
    2.16 -<span data-anolis-ref>DOM2STYLE</span>. The purposes of the present document are (1) to improve on that prior work by providing
    2.17 +<span data-anolis-ref class=informative>DOM2STYLE</span>. The purposes of the present document are (1) to improve on that prior work by providing
    2.18  more technical specificity (so as to improve testability and interoperability), (2) to deprecate or remove certain less-widely implemented
    2.19  features no longer considered to be essential in this context, and (3) to newly specify certain extensions that have been
    2.20  or expected to be widely implemented.</p>
    2.21  
    2.22 -<p>A full list of the changes to API signatures can be found in <a href="#changes-from-dom2"><cite>Changes from DOM-2 Style</cite></a>.</p>
    2.23 +<p>A full list of the changes to API signatures can be found in <a href="#changes-from-dom-2-style"><cite>Changes from DOM-2 Style</cite></a>.</p>
    2.24  
    2.25  
    2.26  <h2>Conformance</h2>
    2.27 @@ -2599,6 +2599,13 @@
    2.28  <code title>style</code> content attribute is set, changed or removed, the <span title=concept-css-declaration-block-declarations>declarations</span> must be
    2.29  updated as appropriate.</p>
    2.30  
    2.31 +<p>If the user agent supports HTML, the following IDL applies: <span data-anolis-ref class=informative>HTML</span>
    2.32 +
    2.33 +<pre class=idl><span data-anolis-spec=html>HTMLElement</span> implements <span>ElementCSSInlineStyle</span>;</pre>
    2.34 +
    2.35 +<p>If the user agent supports SVG, the following IDL applies: <span data-anolis-ref class=informative>SVG</span>
    2.36 +
    2.37 +<pre class=idl>SVGElement implements <span>ElementCSSInlineStyle</span>;</pre>
    2.38  
    2.39  
    2.40  <h3>Extensions to the <code title>Window</code> Interface</h3>

mercurial