aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/codegen
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-03-14 12:00:42 +0100
committerMs2ger <ms2ger@gmail.com>2014-03-20 19:42:42 +0100
commit038a195eade5476601a183f4b74e669f8619d6a4 (patch)
tree1f956099ff9997778b5d1992dd9e15a8ba325d91 /src/components/script/dom/bindings/codegen
parent0265fb9784baff3ea025198f3e5e73e6b81fe18e (diff)
downloadservo-038a195eade5476601a183f4b74e669f8619d6a4.tar.gz
servo-038a195eade5476601a183f4b74e669f8619d6a4.zip
Move attributes-related functions onto JS<Element>.
Diffstat (limited to 'src/components/script/dom/bindings/codegen')
-rw-r--r--src/components/script/dom/bindings/codegen/Bindings.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/script/dom/bindings/codegen/Bindings.conf b/src/components/script/dom/bindings/codegen/Bindings.conf
index eac06e8454d..afcf4319ba3 100644
--- a/src/components/script/dom/bindings/codegen/Bindings.conf
+++ b/src/components/script/dom/bindings/codegen/Bindings.conf
@@ -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')