mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement and test DOMTokenList.replace (fixes #8511)
This commit is contained in:
parent
feddb52e59
commit
d010df92cf
4 changed files with 101 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue