mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
commit
b35d830999
9 changed files with 67 additions and 5 deletions
|
@ -32,6 +32,7 @@ DOMInterfaces = {
|
|||
'anchors',
|
||||
'applets',
|
||||
'body',
|
||||
'children',
|
||||
'createComment',
|
||||
'createDocumentFragment',
|
||||
'createElement',
|
||||
|
@ -58,6 +59,7 @@ DOMInterfaces = {
|
|||
'Element': {
|
||||
'needsAbstract': [
|
||||
'attributes',
|
||||
'children',
|
||||
'className',
|
||||
'getAttribute',
|
||||
'getAttributeNS',
|
||||
|
@ -137,7 +139,7 @@ def addHTMLElement(element, concrete=None, needsAbstract=[]):
|
|||
}
|
||||
|
||||
addHTMLElement('Comment')
|
||||
addHTMLElement('DocumentFragment', concrete='DocumentFragment')
|
||||
addHTMLElement('DocumentFragment', concrete='DocumentFragment', needsAbstract=['children'])
|
||||
addHTMLElement('DocumentType')
|
||||
addHTMLElement('Text')
|
||||
addHTMLElement('ProcessingInstruction')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue