Skip to content

Commit 7f81e13

Browse files
upsuperzcorpan
authored andcommitted
[cssom] Don't serialize shorthand if importance differs
1 parent 0b0b414 commit 7f81e13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cssom/Overview.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,9 @@ The <dfn method for=CSSStyleDeclaration>getPropertyValue(<var>property</var>)</d
19801980
<li>If <var>declaration</var> is null, return the empty string and terminate these steps.
19811981
<li>Append the <var>declaration</var> to <var>list</var>.
19821982
</ol>
1983-
<li>Return the <a lt="serialize a CSS value">serialization</a> of <var>list</var> and terminate these steps.
1983+
<li>If <a lt="important flag" for="CSS declaration">important flags</a> of all declarations in <var>list</var> are same,
1984+
return the <a lt="serialize a CSS value">serialization</a> of <var>list</var> and terminate these steps.
1985+
<li>Return the empty string.
19841986
</ol>
19851987
</ol>
19861988
<li>If <var>property</var> is a <a>case-sensitive</a>

0 commit comments

Comments
 (0)