Implement and test DOMTokenList.replace (fixes #8511)

This commit is contained in:
Sankha Narayan Guria 2015-11-14 12:08:05 +05:30 committed by Anthony Ramine
parent feddb52e59
commit d010df92cf
4 changed files with 101 additions and 9 deletions

View file

@ -18,6 +18,8 @@ interface DOMTokenList {
void remove(DOMString... tokens);
[Throws]
boolean toggle(DOMString token, optional boolean force);
[Throws]
void replace(DOMString token, DOMString newToken);
[Pure]
attribute DOMString value;