Skip to content

Commit 3c590ef

Browse files
author
Simon Pieters
committed
1 parent 24b2261 commit 3c590ef

2 files changed

Lines changed: 10 additions & 12 deletions

File tree

cssom/Overview.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<h1>CSS Object Model (CSSOM)</h1>
1717

1818

19-
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 16 September 2014</h2>
19+
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 2 October 2014</h2>
2020

2121
<dl>
2222

@@ -90,7 +90,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2>
9090
can be found in the
9191
<a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em>
9292

93-
<p class="dontpublish">This is the 16 September 2014 Editor's Draft of CSSOM. Please send comments to
93+
<p class="dontpublish">This is the 2 October 2014 Editor's Draft of CSSOM. Please send comments to
9494
<a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a>
9595
(<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
9696
with <samp>[cssom]</samp> at the start of the subject line.
@@ -2442,26 +2442,25 @@ <h4 id="the-cssstyledeclaration-interface"><span class="secno">6.6.1 </span>The
24422442
</li>
24432443
<li><p>If <var>component value list</var> is null terminate these steps.
24442444
<li><p>If <var>property</var> is a shorthand property, then for each longhand property <var>longhand</var> that <var>property</var> maps to, in canonical
2445-
order, <a href="#append-a-css-declaration" title="append a CSS declaration">append the CSS declaration</a> <var>longhand</var> with the appropriate value(s) from <var>component value
2445+
order, <a href="#set-a-css-declaration" title="set a CSS declaration">set the CSS declaration</a> <var>longhand</var> with the appropriate value(s) from <var>component value
24462446
list</var>, with the <i>important</i> flag set if <var>priority</var> is not the empty string, and unset otherwise, and with the list of declarations being the
24472447
<a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a>.
2448-
<li><p>Otherwise, <a href="#append-a-css-declaration" title="append a CSS declaration">append the CSS declaration</a> <var>property</var> with value <var>component value list</var>, with
2448+
<li><p>Otherwise, <a href="#set-a-css-declaration" title="set a CSS declaration">set the CSS declaration</a> <var>property</var> with value <var>component value list</var>, with
24492449
the <i>important</i> flag set if <var>priority</var> is not the empty string, and unset otherwise, and with the list of declarations being the
24502450
<a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a>.
24512451
</ol>
24522452

2453-
<p>To <dfn id="append-a-css-declaration">append a CSS declaration</dfn> <var>property</var> with a value <var>component value list</var> and optionally with an <i>important</i> flag set, in
2453+
<p>To <dfn id="set-a-css-declaration">set a CSS declaration</dfn> <var>property</var> with a value <var>component value list</var> and optionally with an <i>important</i> flag set, in
24542454
a list of declarations <var>declarations</var>, follow these steps:
24552455

24562456
<ol>
24572457
<li><p>If <var>property</var> is a <a class="external" data-anolis-spec="dom" href="https://dom.spec.whatwg.org/#case-sensitive">case-sensitive</a> match for a <a href="#concept-css-declaration-property-name" title="concept-css-declaration-property-name">property
24582458
name</a> of a <a href="#css-declaration">CSS declaration</a> in <var>declarations</var>, let <var>declaration</var> be that <a href="#css-declaration">CSS declaration</a>.
24592459
<li><p>Otherwise, append a new <a href="#css-declaration">CSS declaration</a> with the <a href="#concept-css-declaration-property-name" title="concept-css-declaration-property-name">property name</a> <var>property</var>
24602460
to <var>declarations</var> and let <var>declaration</var> be that <a href="#css-declaration">CSS declaration</a>.
2461-
<li><p>If <var>declaration</var> has its <a href="#concept-css-declaration-important-flag" title="concept-css-declaration-important-flag">important flag</a> set and the <i>important</i> flag is not set,
2462-
terminate these steps.
24632461
<li><p>Set <var>declaration</var>'s <a href="#concept-css-declaration-value" title="concept-css-declaration-value">value</a> to <var>component value list</var>.
24642462
<li><p>If the <i>important</i> flag is set, set <var>declaration</var>'s <a href="#concept-css-declaration-important-flag" title="concept-css-declaration-important-flag">important flag</a>.
2463+
Otherwise, unset <var>declaration</var>'s <a href="#concept-css-declaration-important-flag" title="concept-css-declaration-important-flag">important flag</a>.
24652464
</ol>
24662465

24672466
<p>The <dfn id="dom-cssstyledeclaration-setpropertyvalue" title="dom-CSSStyleDeclaration-setPropertyValue"><code>setPropertyValue(<var>property</var>, <var>value</var>)</code></dfn> method must run these

cssom/Overview.src.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2359,26 +2359,25 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
23592359
</li>
23602360
<li><p>If <var>component value list</var> is null terminate these steps.
23612361
<li><p>If <var>property</var> is a shorthand property, then for each longhand property <var>longhand</var> that <var>property</var> maps to, in canonical
2362-
order, <span title="append a CSS declaration">append the CSS declaration</span> <var>longhand</var> with the appropriate value(s) from <var>component value
2362+
order, <span title="set a CSS declaration">set the CSS declaration</span> <var>longhand</var> with the appropriate value(s) from <var>component value
23632363
list</var>, with the <i>important</i> flag set if <var>priority</var> is not the empty string, and unset otherwise, and with the list of declarations being the
23642364
<span title=concept-css-declaration-block-declarations>declarations</span>.
2365-
<li><p>Otherwise, <span title="append a CSS declaration">append the CSS declaration</span> <var>property</var> with value <var>component value list</var>, with
2365+
<li><p>Otherwise, <span title="set a CSS declaration">set the CSS declaration</span> <var>property</var> with value <var>component value list</var>, with
23662366
the <i>important</i> flag set if <var>priority</var> is not the empty string, and unset otherwise, and with the list of declarations being the
23672367
<span title=concept-css-declaration-block-declarations>declarations</span>.
23682368
</ol>
23692369

2370-
<p>To <dfn>append a CSS declaration</dfn> <var>property</var> with a value <var>component value list</var> and optionally with an <i>important</i> flag set, in
2370+
<p>To <dfn>set a CSS declaration</dfn> <var>property</var> with a value <var>component value list</var> and optionally with an <i>important</i> flag set, in
23712371
a list of declarations <var>declarations</var>, follow these steps:
23722372

23732373
<ol>
23742374
<li><p>If <var>property</var> is a <span data-anolis-spec=dom>case-sensitive</span> match for a <span title=concept-css-declaration-property-name>property
23752375
name</span> of a <span>CSS declaration</span> in <var>declarations</var>, let <var>declaration</var> be that <span>CSS declaration</span>.
23762376
<li><p>Otherwise, append a new <span>CSS declaration</span> with the <span title=concept-css-declaration-property-name>property name</span> <var>property</var>
23772377
to <var>declarations</var> and let <var>declaration</var> be that <span>CSS declaration</span>.
2378-
<li><p>If <var>declaration</var> has its <span title=concept-css-declaration-important-flag>important flag</span> set and the <i>important</i> flag is not set,
2379-
terminate these steps.
23802378
<li><p>Set <var>declaration</var>'s <span title=concept-css-declaration-value>value</span> to <var>component value list</var>.
23812379
<li><p>If the <i>important</i> flag is set, set <var>declaration</var>'s <span title=concept-css-declaration-important-flag>important flag</span>.
2380+
Otherwise, unset <var>declaration</var>'s <span title=concept-css-declaration-important-flag>important flag</span>.
23822381
</ol>
23832382

23842383
<p>The <dfn title=dom-CSSStyleDeclaration-setPropertyValue><code>setPropertyValue(<var>property</var>, <var>value</var>)</code></dfn> method must run these

0 commit comments

Comments
 (0)