| Index: sky/specs/apis.md
|
| diff --git a/sky/specs/apis.md b/sky/specs/apis.md
|
| index ae99eb23b2b15076a95dc38e3d30d97d6e3ec0ee..b7ef4475f036ce4bce30d2fc5ed176e36ae15bd3 100644
|
| --- a/sky/specs/apis.md
|
| +++ b/sky/specs/apis.md
|
| @@ -90,13 +90,13 @@ module 'sky:core' {
|
| abstract class Element : ParentNode {
|
| readonly attribute String tagName; // O(1)
|
|
|
| - Boolean hasAttribute(String name); // O(N) in arguments
|
| - String getAttribute(String name); // O(N) in arguments
|
| - void setAttribute(String name, String value = ''); // O(N) in arguments
|
| - void removeAttribute(String name); // O(N) in arguments
|
| + Boolean hasAttribute(String name); // O(N) in number of attributes
|
| + String getAttribute(String name); // O(N) in number of attributes
|
| + void setAttribute(String name, String value = ''); // O(N) in number of attributes
|
| + void removeAttribute(String name); // O(N) in number of attributes
|
|
|
| // Returns a new Array and new Attr instances every time.
|
| - Array<Attr> getAttributes(); // O(N) in arguments
|
| + Array<Attr> getAttributes(); // O(N) in number of attributes
|
|
|
| readonly attribute ShadowRoot? shadowRoot; // O(1) // returns the shadow root
|
| Array<ContentElement> getDestinationInsertionPoints(); // O(N) in number of insertion points the node is in
|
|
|