Skip to content

Commit bf84bac

Browse files
author
Simon Pieters
committed
Make HTMLElement and SVGElement implement ElementCSSInlineStyle. https://www.w3.org/Bugs/Public/show_bug.cgi?id=21849
1 parent 4d8b52e commit bf84bac

2 files changed

Lines changed: 27 additions & 10 deletions

File tree

cssom/Overview.html

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232
<div class="head">
3333

3434
<!--begin-logo-->
35-
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
35+
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="https://www.w3.org/Icons/w3c_home" width="72"></a></p>
3636
<!--end-logo-->
3737

3838

3939
<h1>CSS Object Model (CSSOM)</h1>
4040

4141

42-
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 5 June 2013</h2>
42+
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 7 June 2013</h2>
4343

4444
<dl>
4545

@@ -94,7 +94,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2>
9494
this document other than as work in progress.</p>
9595

9696
<p class="note">Implementers should note well that this specification is an ongoing effort to sort out
97-
what has been widely implemented and deployed from <a href="#refsDOM2STYLE">[DOM2STYLE]</a> as well as common extensions thereto, some details
97+
what has been widely implemented and deployed from <a class="informative" href="#refsDOM2STYLE">[DOM2STYLE]</a> as well as common extensions thereto, some details
9898
of which are currently interoperable and others which are not currently interoperable. As this specification moves
9999
forward, it is hoped that these differences will be resolved and an unambiguous and adequate consensus-based
100100
specification will emerge.</p>
@@ -105,7 +105,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2>
105105
can be found in the
106106
<a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em>
107107

108-
<p class="dontpublish">This is the 5 June 2013 Editor's Draft of CSSOM. Please send comments to
108+
<p class="dontpublish">This is the 7 June 2013 Editor's Draft of CSSOM. Please send comments to
109109
<a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a>
110110
(<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
111111
with <samp>[cssom]</samp> at the start of the subject line.
@@ -214,12 +214,12 @@ <h2 id="introduction"><span class="secno">1 </span>Introduction</h2>
214214
and manipulation of style related state information and processes.</p>
215215

216216
<p>The features defined below are fundamentally based on prior specifications of the W3C DOM Working Group, primarily
217-
<a href="#refsDOM2STYLE">[DOM2STYLE]</a>. The purposes of the present document are (1) to improve on that prior work by providing
217+
<a class="informative" href="#refsDOM2STYLE">[DOM2STYLE]</a>. The purposes of the present document are (1) to improve on that prior work by providing
218218
more technical specificity (so as to improve testability and interoperability), (2) to deprecate or remove certain less-widely implemented
219219
features no longer considered to be essential in this context, and (3) to newly specify certain extensions that have been
220220
or expected to be widely implemented.</p>
221221

222-
<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>
222+
<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>
223223

224224

225225
<h2 id="conformance"><span class="secno">2 </span>Conformance</h2>
@@ -2668,6 +2668,13 @@ <h3 id="the-elementcssinlinestyle-interface"><span class="secno">7.1 </span>The
26682668
<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
26692669
updated as appropriate.</p>
26702670

2671+
<p>If the user agent supports HTML, the following IDL applies: <a class="informative" href="#refsHTML">[HTML]</a>
2672+
2673+
<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>
2674+
2675+
<p>If the user agent supports SVG, the following IDL applies: <a class="informative" href="#refsSVG">[SVG]</a>
2676+
2677+
<pre class="idl">SVGElement implements <a href="#elementcssinlinestyle">ElementCSSInlineStyle</a>;</pre>
26712678

26722679

26732680
<h3 id="extensions-to-the-window-interface"><span class="secno">7.2 </span>Extensions to the <code title="">Window</code> Interface</h3>
@@ -2911,7 +2918,7 @@ <h2 class="no-num" id="references">References</h2>
29112918
<dd><cite><a href="http://dom.spec.whatwg.org/">DOM</a></cite>, Anne van Kesteren, Aryeh Gregor and Ms2ger. WHATWG.
29122919

29132920
<dt id="refsDOM2STYLE">[DOM2STYLE]
2914-
<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.
2921+
<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.
29152922

29162923
<dt id="refsHTML">[HTML]
29172924
<dd><cite><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">HTML</a></cite>, Ian Hickson. WHATWG.
@@ -2922,6 +2929,9 @@ <h2 class="no-num" id="references">References</h2>
29222929
<dt id="refsSELECTORS">[SELECTORS]
29232930
<dd><cite><a href="http://dev.w3.org/csswg/selectors4/">Selectors Level 4</a></cite>, Elika J. Etemad. W3C.
29242931

2932+
<dt id="refsSVG">[SVG]
2933+
<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.
2934+
29252935
<dt id="refsURL">[URL]
29262936
<dd><cite><a href="http://url.spec.whatwg.org/">URL</a></cite>, Anne van Kesteren. WHATWG.
29272937

cssom/Overview.src.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2>
9898
this document other than as work in progress.</p>
9999

100100
<p class="note">Implementers should note well that this specification is an ongoing effort to sort out
101-
what has been widely implemented and deployed from <span data-anolis-ref>DOM2STYLE</span> as well as common extensions thereto, some details
101+
what has been widely implemented and deployed from <span data-anolis-ref class=informative>DOM2STYLE</span> as well as common extensions thereto, some details
102102
of which are currently interoperable and others which are not currently interoperable. As this specification moves
103103
forward, it is hoped that these differences will be resolved and an unambiguous and adequate consensus-based
104104
specification will emerge.</p>
@@ -145,12 +145,12 @@ <h2>Introduction</h2>
145145
and manipulation of style related state information and processes.</p>
146146

147147
<p>The features defined below are fundamentally based on prior specifications of the W3C DOM Working Group, primarily
148-
<span data-anolis-ref>DOM2STYLE</span>. The purposes of the present document are (1) to improve on that prior work by providing
148+
<span data-anolis-ref class=informative>DOM2STYLE</span>. The purposes of the present document are (1) to improve on that prior work by providing
149149
more technical specificity (so as to improve testability and interoperability), (2) to deprecate or remove certain less-widely implemented
150150
features no longer considered to be essential in this context, and (3) to newly specify certain extensions that have been
151151
or expected to be widely implemented.</p>
152152

153-
<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>
153+
<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>
154154

155155

156156
<h2>Conformance</h2>
@@ -2599,6 +2599,13 @@ <h3>The <code>ElementCSSInlineStyle</code> Interface</h3>
25992599
<code title>style</code> content attribute is set, changed or removed, the <span title=concept-css-declaration-block-declarations>declarations</span> must be
26002600
updated as appropriate.</p>
26012601

2602+
<p>If the user agent supports HTML, the following IDL applies: <span data-anolis-ref class=informative>HTML</span>
2603+
2604+
<pre class=idl><span data-anolis-spec=html>HTMLElement</span> implements <span>ElementCSSInlineStyle</span>;</pre>
2605+
2606+
<p>If the user agent supports SVG, the following IDL applies: <span data-anolis-ref class=informative>SVG</span>
2607+
2608+
<pre class=idl>SVGElement implements <span>ElementCSSInlineStyle</span>;</pre>
26022609

26032610

26042611
<h3>Extensions to the <code title>Window</code> Interface</h3>

0 commit comments

Comments
 (0)