Sat, 07 Apr 2018 15:59:25 +1000
[cssom] Have property setters append new declaration rather than set in place.
This resolves #1898.
cssom-1/Overview.bs | file | annotate | diff | comparison | revisions |
1.1 --- a/cssom-1/Overview.bs Wed Apr 11 13:49:12 2018 +0200 1.2 +++ b/cssom-1/Overview.bs Sat Apr 07 15:59:25 2018 +1000 1.3 @@ -2209,8 +2209,8 @@ 1.4 1.5 <ol> 1.6 <li>If <var>property</var> is a <a>case-sensitive</a> match for a <a for="CSS declaration">property 1.7 - name</a> of a <a>CSS declaration</a> in <var>declarations</var>, let <var>declaration</var> be that <a>CSS declaration</a>. 1.8 - <li>Otherwise, append a new <a>CSS declaration</a> with the <a for="CSS declaration">property name</a> <var>property</var> 1.9 + name</a> of a <a>CSS declaration</a> in <var>declarations</var>, remove that <a>CSS declaration</a>. 1.10 + <li>Append a new <a>CSS declaration</a> with the <a for="CSS declaration">property name</a> <var>property</var> 1.11 to <var>declarations</var> and let <var>declaration</var> be that <a>CSS declaration</a>. 1.12 <li>Set <var>declaration</var>'s <a for="CSS declaration">value</a> to <var>component value list</var>. 1.13 <li>If the <i>important</i> flag is set, set <var>declaration</var>'s <a for="CSS declaration">important flag</a>.