Skip to content

Commit d588e9e

Browse files
author
Simon Pieters
committed
[cssom] Suggest that browsers remove support for the dashed IDL attributes.
1 parent b32c429 commit d588e9e

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

cssom/Overview.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2269,7 +2269,7 @@ <h4 id="the-cssstyledeclaration-interface"><span class="secno">6.5.1 </span>The
22692269
is obtained by running the <a href="#css-property-to-idl-attribute">CSS property to IDL attribute</a> algorithm for
22702270
<var>property</var>.</p>
22712271

2272-
<pre class="idl">partial interface <a href="#cssstyledeclaration">CSSStyleDeclaration</a> {
2272+
<pre class="idl extract">partial interface <a href="#cssstyledeclaration">CSSStyleDeclaration</a> {
22732273
attribute DOMString _<a href="#dom-cssstyledeclaration-camel-cased-attribute" title="dom-CSSStyleDeclaration-camel-cased-attribute"><var title="">camel-cased attribute</var></a>;
22742274
};</pre>
22752275

@@ -2308,6 +2308,9 @@ <h4 id="the-cssstyledeclaration-interface"><span class="secno">6.5.1 </span>The
23082308

23092309
<p class="note">WebIDL does not allow dashes in identifiers in its syntax.
23102310

2311+
<p class="XXX">The <code title="dom-CSSStyleDeclaration-dashed-attribute"><a href="#dom-cssstyledeclaration-dashed-attribute"><var title="">dashed attribute</var></a></code> attributes will be removed from the specification
2312+
if implementations remove support. User agents that currently support them are urged to experiment with removing support.
2313+
23112314
<p>The <dfn id="css-property-to-idl-attribute">CSS property to IDL attribute</dfn> algorithm for <var title="">property</var> is as
23122315
follows:</p>
23132316

cssom/Overview.src.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2200,7 +2200,7 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
22002200
is obtained by running the <span>CSS property to IDL attribute</span> algorithm for
22012201
<var>property</var>.</p>
22022202

2203-
<pre class=idl>partial interface <span>CSSStyleDeclaration</span> {
2203+
<pre class="idl extract">partial interface <span>CSSStyleDeclaration</span> {
22042204
attribute DOMString _<span title=dom-CSSStyleDeclaration-camel-cased-attribute><var title>camel-cased attribute</var></span>;
22052205
};</pre>
22062206

@@ -2239,6 +2239,9 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
22392239

22402240
<p class=note>WebIDL does not allow dashes in identifiers in its syntax.
22412241

2242+
<p class=XXX>The <code title=dom-CSSStyleDeclaration-dashed-attribute><var title>dashed attribute</var></code> attributes will be removed from the specification
2243+
if implementations remove support. User agents that currently support them are urged to experiment with removing support.
2244+
22422245
<p>The <dfn>CSS property to IDL attribute</dfn> algorithm for <var title>property</var> is as
22432246
follows:</p>
22442247

0 commit comments

Comments
 (0)