mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
Move attributes-related functions onto JS<Element>.
This commit is contained in:
parent
0265fb9784
commit
038a195ead
10 changed files with 272 additions and 240 deletions
|
@ -53,11 +53,15 @@ DOMInterfaces = {
|
|||
'needsAbstract': [
|
||||
'attributes',
|
||||
'className',
|
||||
'getAttribute',
|
||||
'getAttributeNS',
|
||||
'getBoundingClientRect',
|
||||
'getClientRects',
|
||||
'getElementsByClassName',
|
||||
'getElementsByTagName',
|
||||
'getElementsByTagNameNS',
|
||||
'hasAttribute',
|
||||
'hasAttributeNS',
|
||||
'id',
|
||||
'innerHTML',
|
||||
'outerHTML',
|
||||
|
@ -179,7 +183,7 @@ addHTMLElement('HTMLParamElement')
|
|||
addHTMLElement('HTMLPreElement')
|
||||
addHTMLElement('HTMLProgressElement')
|
||||
addHTMLElement('HTMLQuoteElement')
|
||||
addHTMLElement('HTMLScriptElement')
|
||||
addHTMLElement('HTMLScriptElement', needsAbstract=['src'])
|
||||
addHTMLElement('HTMLSelectElement')
|
||||
addHTMLElement('HTMLSourceElement')
|
||||
addHTMLElement('HTMLSpanElement')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue