File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -674,7 +674,7 @@ <h3 id="the-cssstyledeclaration-interface" data-level="4.1"><span class="secno">
674674 DOMString get(DOMString varName);
675675 boolean has(DOMString varName);
676676 void set(DOMString varName, DOMString varValue);
677- DOMString delete(DOMString varName);
677+ boolean delete(DOMString varName);
678678}
679679</ pre >
680680< p > The < a href ="http://dev.w3.org/2006/webapi/WebIDL/#REPLACE-ME "> map tuples</ a >
@@ -717,7 +717,9 @@ <h3 id="the-cssstyledeclaration-interface" data-level="4.1"><span class="secno">
717717 Invoke < code > removeProperty()</ code >
718718 on the < a data-autolink ="link " href ="#associated-style-declaration "> associated style declaration</ a >
719719 by passing < var > varName</ var > as its argument.
720- Return its returned value.
720+ If the returned value is the empty string,
721+ return < code > false</ code > ;
722+ otherwise, return < code > true</ code > .
721723 </ dd > </ dl >
722724
723725 < div class ="example ">
Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ <h3 id='the-CSSVariablesMap-interface'>
635635 DOMString get(DOMString varName);
636636 boolean has(DOMString varName);
637637 void set(DOMString varName, DOMString varValue);
638- DOMString delete(DOMString varName);
638+ boolean delete(DOMString varName);
639639 }
640640 </ pre >
641641
@@ -679,7 +679,9 @@ <h4 id='cssvariablesmap-methods'>
679679 Invoke < code > removeProperty()</ code >
680680 on the < a > associated style declaration</ a >
681681 by passing < var > varName</ var > as its argument.
682- Return its returned value.
682+ If the returned value is the empty string,
683+ return < code > false</ code > ;
684+ otherwise, return < code > true</ code > .
683685 </ dl >
684686
685687 < div class ='example '>
You can’t perform that action at this time.
0 commit comments