| OLD | NEW |
| (Empty) | |
| 1 |
| 2 class Element extends Node native "Element" { |
| 3 |
| 4 int childElementCount; |
| 5 |
| 6 int clientHeight; |
| 7 |
| 8 int clientLeft; |
| 9 |
| 10 int clientTop; |
| 11 |
| 12 int clientWidth; |
| 13 |
| 14 Element firstElementChild; |
| 15 |
| 16 Element lastElementChild; |
| 17 |
| 18 Element nextElementSibling; |
| 19 |
| 20 int offsetHeight; |
| 21 |
| 22 int offsetLeft; |
| 23 |
| 24 Element offsetParent; |
| 25 |
| 26 int offsetTop; |
| 27 |
| 28 int offsetWidth; |
| 29 |
| 30 EventListener onabort; |
| 31 |
| 32 EventListener onbeforecopy; |
| 33 |
| 34 EventListener onbeforecut; |
| 35 |
| 36 EventListener onbeforepaste; |
| 37 |
| 38 EventListener onblur; |
| 39 |
| 40 EventListener onchange; |
| 41 |
| 42 EventListener onclick; |
| 43 |
| 44 EventListener oncontextmenu; |
| 45 |
| 46 EventListener oncopy; |
| 47 |
| 48 EventListener oncut; |
| 49 |
| 50 EventListener ondblclick; |
| 51 |
| 52 EventListener ondrag; |
| 53 |
| 54 EventListener ondragend; |
| 55 |
| 56 EventListener ondragenter; |
| 57 |
| 58 EventListener ondragleave; |
| 59 |
| 60 EventListener ondragover; |
| 61 |
| 62 EventListener ondragstart; |
| 63 |
| 64 EventListener ondrop; |
| 65 |
| 66 EventListener onerror; |
| 67 |
| 68 EventListener onfocus; |
| 69 |
| 70 EventListener oninput; |
| 71 |
| 72 EventListener oninvalid; |
| 73 |
| 74 EventListener onkeydown; |
| 75 |
| 76 EventListener onkeypress; |
| 77 |
| 78 EventListener onkeyup; |
| 79 |
| 80 EventListener onload; |
| 81 |
| 82 EventListener onmousedown; |
| 83 |
| 84 EventListener onmousemove; |
| 85 |
| 86 EventListener onmouseout; |
| 87 |
| 88 EventListener onmouseover; |
| 89 |
| 90 EventListener onmouseup; |
| 91 |
| 92 EventListener onmousewheel; |
| 93 |
| 94 EventListener onpaste; |
| 95 |
| 96 EventListener onreset; |
| 97 |
| 98 EventListener onscroll; |
| 99 |
| 100 EventListener onsearch; |
| 101 |
| 102 EventListener onselect; |
| 103 |
| 104 EventListener onselectstart; |
| 105 |
| 106 EventListener onsubmit; |
| 107 |
| 108 EventListener ontouchcancel; |
| 109 |
| 110 EventListener ontouchend; |
| 111 |
| 112 EventListener ontouchmove; |
| 113 |
| 114 EventListener ontouchstart; |
| 115 |
| 116 EventListener onwebkitfullscreenchange; |
| 117 |
| 118 Element previousElementSibling; |
| 119 |
| 120 int scrollHeight; |
| 121 |
| 122 int scrollLeft; |
| 123 |
| 124 int scrollTop; |
| 125 |
| 126 int scrollWidth; |
| 127 |
| 128 CSSStyleDeclaration style; |
| 129 |
| 130 String tagName; |
| 131 |
| 132 void blur() native; |
| 133 |
| 134 void focus() native; |
| 135 |
| 136 String getAttribute(String name) native; |
| 137 |
| 138 String getAttributeNS(String namespaceURI, String localName) native; |
| 139 |
| 140 Attr getAttributeNode(String name) native; |
| 141 |
| 142 Attr getAttributeNodeNS(String namespaceURI, String localName) native; |
| 143 |
| 144 ClientRect getBoundingClientRect() native; |
| 145 |
| 146 ClientRectList getClientRects() native; |
| 147 |
| 148 NodeList getElementsByClassName(String name) native; |
| 149 |
| 150 NodeList getElementsByTagName(String name) native; |
| 151 |
| 152 NodeList getElementsByTagNameNS(String namespaceURI, String localName) native; |
| 153 |
| 154 bool hasAttribute(String name) native; |
| 155 |
| 156 bool hasAttributeNS(String namespaceURI, String localName) native; |
| 157 |
| 158 Element querySelector(String selectors) native; |
| 159 |
| 160 NodeList querySelectorAll(String selectors) native; |
| 161 |
| 162 void removeAttribute(String name) native; |
| 163 |
| 164 void removeAttributeNS(String namespaceURI, String localName) native; |
| 165 |
| 166 Attr removeAttributeNode(Attr oldAttr) native; |
| 167 |
| 168 void scrollByLines(int lines) native; |
| 169 |
| 170 void scrollByPages(int pages) native; |
| 171 |
| 172 void scrollIntoView([bool alignWithTop = null]) native; |
| 173 |
| 174 void scrollIntoViewIfNeeded([bool centerIfNeeded = null]) native; |
| 175 |
| 176 void setAttribute(String name, String value) native; |
| 177 |
| 178 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n
ative; |
| 179 |
| 180 Attr setAttributeNode(Attr newAttr) native; |
| 181 |
| 182 Attr setAttributeNodeNS(Attr newAttr) native; |
| 183 |
| 184 bool webkitMatchesSelector(String selectors) native; |
| 185 } |
| OLD | NEW |