Skip to content

Commit 3a8be81

Browse files
committed
[cssom] Mark some IDL bits as examples.
Since they don't define attributes themselves, but a class of them. Fixes w3c#2486
1 parent 035310e commit 3a8be81

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cssom-1/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2324,7 +2324,7 @@ the following partial interface applies where <var>camel-cased attribute</var>
23242324
is obtained by running the <a>CSS property to IDL attribute</a> algorithm for
23252325
<var>property</var>.
23262326

2327-
<pre class="idl extract">
2327+
<pre class="idl example">
23282328
partial interface CSSStyleDeclaration {
23292329
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString _<var>camel_cased_attribute</var>;
23302330
};
@@ -2348,7 +2348,7 @@ with the string <code>-webkit-</code>, the following partial interface applies w
23482348
<var>webkit-cased attribute</var> is obtained by running the <a>CSS property to IDL attribute</a>
23492349
algorithm for <var>property</var>, with the <i>lowercase first</i> flag set.
23502350

2351-
<pre class="idl extract">
2351+
<pre class="idl example">
23522352
partial interface CSSStyleDeclaration {
23532353
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString _<var>webkit_cased_attribute</var>;
23542354
};
@@ -2373,7 +2373,7 @@ For each CSS property <var>property</var> that is a <a>supported CSS property</a
23732373
except for properties that have no "<code>-</code>" (U+002D) in the property name,
23742374
the following partial interface applies where <var>dashed attribute</var> is <var>property</var>.
23752375

2376-
<pre class="idl extract">
2376+
<pre class="idl example">
23772377
partial interface CSSStyleDeclaration {
23782378
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString _<var>dashed_attribute</var>;
23792379
};

0 commit comments

Comments
 (0)