JS Implement IDL2K tool and import DOM3 IDLs
JS Introduce required utility functions for DOM3
This commit is contained in:
committed by
Sergey Mashkov
parent
dc7f81a904
commit
53495fa989
@@ -10,7 +10,7 @@ package org.w3c.dom
|
||||
|
||||
// Contains stub APIs for the W3C DOM API so we can delegate to the platform DOM instead
|
||||
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait Attr: Node {
|
||||
public val name: String
|
||||
public val ownerElement: Element
|
||||
@@ -20,9 +20,11 @@ native public trait Attr: Node {
|
||||
public fun isId(): Boolean = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait CDATASection: Text {
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait CharacterData: Node {
|
||||
public var data: String
|
||||
public val length: Int
|
||||
@@ -33,9 +35,11 @@ native public trait CharacterData: Node {
|
||||
public fun substringData(arg1: Int, arg2: Int): String = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait Comment: CharacterData {
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait Document: Node {
|
||||
public val doctype: DocumentType
|
||||
public val documentElement: Element
|
||||
@@ -66,9 +70,11 @@ native public trait Document: Node {
|
||||
public fun renameNode(arg1: Node, arg2: String?, arg3: String?): Node = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait DocumentFragment: Node {
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait DocumentType: Node {
|
||||
public val entities: NamedNodeMap
|
||||
public val internalSubset: String
|
||||
@@ -78,6 +84,7 @@ native public trait DocumentType: Node {
|
||||
public val systemId: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait DOMConfiguration {
|
||||
public val parameterNames: DOMStringList
|
||||
public fun canSetParameter(arg1: String?, arg2: Any): Boolean = noImpl
|
||||
@@ -85,6 +92,7 @@ native public trait DOMConfiguration {
|
||||
public fun setParameter(arg1: String?, arg2: Any): Unit = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait DOMError {
|
||||
public val location: DOMLocator
|
||||
public val message: String
|
||||
@@ -100,10 +108,12 @@ native public trait DOMError {
|
||||
}
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait DOMErrorHandler {
|
||||
public fun handleError(arg1: DOMError): Boolean = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait DOMImplementation {
|
||||
public fun createDocument(arg1: String?, arg2: String?, arg3: DocumentType?): Document = noImpl
|
||||
public fun createDocumentType(arg1: String?, arg2: String?, arg3: String?): DocumentType = noImpl
|
||||
@@ -111,11 +121,13 @@ native public trait DOMImplementation {
|
||||
public fun hasFeature(arg1: String?, arg2: String?): Boolean = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait DOMImplementationList {
|
||||
public val length: Int
|
||||
public fun item(arg1: Int): DOMImplementation = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait DOMLocator {
|
||||
public val byteOffset: Int
|
||||
public val columnNumber: Int
|
||||
@@ -125,12 +137,14 @@ native public trait DOMLocator {
|
||||
public val utf16Offset: Int
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait DOMStringList {
|
||||
public val length: Int
|
||||
public fun contains(arg1: String?): Boolean = noImpl
|
||||
public fun item(arg1: Int): String = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait Element: Node {
|
||||
public val schemaTypeInfo: TypeInfo
|
||||
public val tagName: String
|
||||
@@ -154,6 +168,7 @@ native public trait Element: Node {
|
||||
public fun setAttributeNodeNS(arg1: Attr): Attr = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait Entity: Node {
|
||||
public val inputEncoding: String
|
||||
public val notationName: String
|
||||
@@ -163,9 +178,11 @@ native public trait Entity: Node {
|
||||
public val xmlVersion: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait EntityReference: Node {
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait NameList {
|
||||
public val length: Int
|
||||
public fun contains(arg1: String?): Boolean = noImpl
|
||||
@@ -174,6 +191,7 @@ native public trait NameList {
|
||||
public fun getNamespaceURI(arg1: Int): String = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait NamedNodeMap {
|
||||
public val length: Int
|
||||
public fun getNamedItem(arg1: String?): Node = noImpl
|
||||
@@ -185,6 +203,7 @@ native public trait NamedNodeMap {
|
||||
public fun setNamedItemNS(arg1: Node): Node = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait Node {
|
||||
public val attributes: NamedNodeMap
|
||||
public val baseURI: String
|
||||
@@ -243,21 +262,25 @@ native public trait Node {
|
||||
}
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait NodeList {
|
||||
public val length: Int
|
||||
public fun item(arg1: Int): Node = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait Notation: Node {
|
||||
public val publicId: String
|
||||
public val systemId: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait ProcessingInstruction: Node {
|
||||
public var data: String
|
||||
public val target: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait Text: CharacterData {
|
||||
public val wholeText: String
|
||||
public fun isElementContentWhitespace(): Boolean = noImpl
|
||||
@@ -265,6 +288,7 @@ native public trait Text: CharacterData {
|
||||
public fun splitText(arg1: Int): Text = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait TypeInfo {
|
||||
public val typeName: String
|
||||
public val typeNamespace: String
|
||||
@@ -278,6 +302,7 @@ native public trait TypeInfo {
|
||||
}
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait UserDataHandler {
|
||||
public fun handle(arg1: Short, arg2: String?, arg3: Any, arg4: Node, arg5: Node): Unit = noImpl
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -12,11 +12,12 @@ import org.w3c.dom.views.*
|
||||
|
||||
// Contains stub APIs for the W3C DOM API so we can delegate to the platform DOM instead
|
||||
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait DocumentEvent {
|
||||
public fun createEvent(arg1: String?): Event = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait Event {
|
||||
public val bubbles: Boolean
|
||||
public val cancelable: Boolean
|
||||
@@ -36,12 +37,14 @@ native public trait Event {
|
||||
}
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait EventTarget {
|
||||
public fun addEventListener(arg1: String?, arg2: EventListener, arg3: Boolean): Unit = noImpl
|
||||
public fun dispatchEvent(arg1: Event?): Boolean = noImpl
|
||||
public fun removeEventListener(arg1: String?, arg2: EventListener, arg3: Boolean): Unit = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait MouseEvent: UIEvent {
|
||||
public val altKey: Boolean
|
||||
public val button: Short
|
||||
@@ -56,6 +59,7 @@ native public trait MouseEvent: UIEvent {
|
||||
public fun initMouseEvent(arg1: String?, arg2: Boolean, arg3: Boolean, arg4: AbstractView, arg5: Int, arg6: Int, arg7: Int, arg8: Int, arg9: Int, arg10: Boolean, arg11: Boolean, arg12: Boolean, arg13: Boolean, arg14: Short, arg15: EventTarget): Unit = noImpl
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait MutationEvent: Event {
|
||||
public val attrChange: Short
|
||||
public val attrName: String
|
||||
@@ -71,6 +75,7 @@ native public trait MutationEvent: Event {
|
||||
}
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait UIEvent: Event {
|
||||
public val detail: Int
|
||||
public val view: AbstractView
|
||||
|
||||
@@ -10,6 +10,7 @@ import org.w3c.dom.views.*
|
||||
See: https://github.com/JetBrains/kotlin/tree/master/libraries/stdlib
|
||||
*/
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public trait EventListener {
|
||||
public fun handleEvent(arg1: Event): Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package org.w3c.dom.views
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
native public trait AbstractView {
|
||||
}
|
||||
|
||||
|
||||
@@ -3,17 +3,22 @@ package kotlin.js.dom.html
|
||||
import org.w3c.dom.*
|
||||
|
||||
native
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public val window: Window = noImpl
|
||||
|
||||
native
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public var document: HTMLDocument = noImpl
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait Object {
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait Image : HTMLImageElement {
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait Navigator {
|
||||
public native var userAgent: String
|
||||
public native var product: String
|
||||
@@ -39,6 +44,7 @@ public native trait Screen {
|
||||
public native var colorDepth: Double
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait Option {
|
||||
public native var defaultSelected: Boolean
|
||||
public native var selected: Boolean
|
||||
@@ -46,6 +52,7 @@ public native trait Option {
|
||||
public native var value: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait Location {
|
||||
public native var href: String
|
||||
public native var hash: String
|
||||
@@ -60,6 +67,7 @@ public native trait Location {
|
||||
public native fun replace(url: String): Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait Event {
|
||||
public native var data: Array<Any>
|
||||
public native var height: Double
|
||||
@@ -80,17 +88,20 @@ public native trait Event {
|
||||
public native var button: Boolean
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait Selection {
|
||||
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait CSSRule {
|
||||
public native var selectorText: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait Stylesheet {
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait History {
|
||||
public native fun back(): Unit
|
||||
public native fun forward(): Unit
|
||||
@@ -101,6 +112,7 @@ public native trait Console {
|
||||
public native fun log(message: Any): Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait Window {
|
||||
public native val document: HTMLDocument
|
||||
public native val event: Event
|
||||
@@ -160,18 +172,21 @@ public native trait Global {
|
||||
public native fun unescape(): Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLCollection {
|
||||
public native val length: Double
|
||||
public native fun item(index: Number): Node?
|
||||
public native fun namedItem(name: String): Node?
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLOptionsCollection {
|
||||
public native val length: Double
|
||||
public native fun item(index: Number): Node?
|
||||
public native fun namedItem(name: String): Node?
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLDocument : Document {
|
||||
public native var title: String
|
||||
public native val referrer: String
|
||||
@@ -194,6 +209,7 @@ public native trait HTMLDocument : Document {
|
||||
public native var onunload: () -> Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLElement : Element {
|
||||
public native var id: String
|
||||
public native var title: String
|
||||
@@ -230,6 +246,7 @@ public native trait HTMLElement : Element {
|
||||
public native var onresize: () -> Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait CSSStyleDeclaration {
|
||||
public native var cssText: String
|
||||
public native var length: Double
|
||||
@@ -241,14 +258,17 @@ public native trait CSSStyleDeclaration {
|
||||
public native fun setProperty(propertyName: String, value: String, priority: String): Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLHtmlElement : HTMLElement {
|
||||
public native var version: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLHeadElement : HTMLElement {
|
||||
public native var profile: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLLinkElement : HTMLElement {
|
||||
public native var disabled: Boolean
|
||||
public native var charset: String
|
||||
@@ -261,10 +281,12 @@ public native trait HTMLLinkElement : HTMLElement {
|
||||
public native var type: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLTitleElement : HTMLElement {
|
||||
public native var text: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLMetaElement : HTMLElement {
|
||||
public native var content: String
|
||||
public native var httpEquiv: String
|
||||
@@ -272,22 +294,26 @@ public native trait HTMLMetaElement : HTMLElement {
|
||||
public native var scheme: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLBaseElement : HTMLElement {
|
||||
public native var href: String
|
||||
public native var target: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLIsIndexElement : HTMLElement {
|
||||
public native val form: HTMLFormElement
|
||||
public native var prompt: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLStyleElement : HTMLElement {
|
||||
public native var disabled: Boolean
|
||||
public native var media: String
|
||||
public native var type: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLBodyElement : HTMLElement {
|
||||
public native var aLink: String
|
||||
public native var background: String
|
||||
@@ -299,6 +325,7 @@ public native trait HTMLBodyElement : HTMLElement {
|
||||
public native var onunload: () -> Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLFormElement {
|
||||
public native val elements: HTMLCollection
|
||||
public native val length: Double
|
||||
@@ -312,6 +339,7 @@ public native trait HTMLFormElement {
|
||||
public native fun reset(): Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLSelectElement : HTMLElement {
|
||||
public native val type: String
|
||||
public native var selectedIndex: Double
|
||||
@@ -330,11 +358,13 @@ public native trait HTMLSelectElement : HTMLElement {
|
||||
public native fun focus(): Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLOptGroupElement : HTMLElement {
|
||||
public native var disabled: Boolean
|
||||
public native var label: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLOptionElement : HTMLElement {
|
||||
public native val form: HTMLFormElement
|
||||
public native var defaultSelected: Boolean
|
||||
@@ -346,6 +376,7 @@ public native trait HTMLOptionElement : HTMLElement {
|
||||
public native var value: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLInputElement : HTMLElement {
|
||||
public native var defaultValue: String
|
||||
public native var defaultChecked: Boolean
|
||||
@@ -373,6 +404,7 @@ public native trait HTMLInputElement : HTMLElement {
|
||||
public native var selectionEnd: Double
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLTextAreaElement : HTMLElement {
|
||||
public native var defaultValue: String
|
||||
public native val form: HTMLFormElement
|
||||
@@ -390,6 +422,7 @@ public native trait HTMLTextAreaElement : HTMLElement {
|
||||
public native fun select(): Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLButtonElement : HTMLElement {
|
||||
public native val form: HTMLFormElement
|
||||
public native var accessKey: String
|
||||
@@ -400,86 +433,104 @@ public native trait HTMLButtonElement : HTMLElement {
|
||||
public native var value: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLLabelElement : HTMLElement {
|
||||
public native val form: HTMLFormElement
|
||||
public native var accessKey: String
|
||||
public native var htmlFor: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLFieldSetElement : HTMLElement {
|
||||
public native val form: HTMLFormElement
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLLegendElement : HTMLElement {
|
||||
public native val form: HTMLFormElement
|
||||
public native var accessKey: String
|
||||
public native var align: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLUListElement : HTMLElement {
|
||||
public native var compact: Boolean
|
||||
public native var type: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLOListElement : HTMLElement {
|
||||
public native var compact: Boolean
|
||||
public native var start: Double
|
||||
public native var type: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLDListElement : HTMLElement {
|
||||
public native var compact: Boolean
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLDirectoryElement : HTMLElement {
|
||||
public native var compact: Boolean
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLMenuElement : HTMLElement {
|
||||
public native var compact: Boolean
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLLIElement : HTMLElement {
|
||||
public native var type: String
|
||||
public native var value: Double
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLDivElement : HTMLElement {
|
||||
public native var align: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLParagraphElement : HTMLElement {
|
||||
public native var align: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLHeadingElement : HTMLElement {
|
||||
public native var align: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLQuoteElement : HTMLElement {
|
||||
public native var cite: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLPreElement : HTMLElement {
|
||||
public native var width: Double
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLBRElement : HTMLElement {
|
||||
public native var clear: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLBaseFontElement : HTMLElement {
|
||||
public native var color: String
|
||||
public native var face: String
|
||||
public native var size: Double
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLFontElement : HTMLElement {
|
||||
public native var color: String
|
||||
public native var face: String
|
||||
public native var size: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLHRElement : HTMLElement {
|
||||
public native var align: String
|
||||
public native var noShade: Boolean
|
||||
@@ -487,11 +538,13 @@ public native trait HTMLHRElement : HTMLElement {
|
||||
public native var width: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLModElement : HTMLElement {
|
||||
public native var cite: String
|
||||
public native var dateTime: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLAnchorElement : HTMLElement {
|
||||
public native var accessKey: String
|
||||
public native var charset: String
|
||||
@@ -509,6 +562,7 @@ public native trait HTMLAnchorElement : HTMLElement {
|
||||
public native fun focus(): Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLImageElement : HTMLElement {
|
||||
public native var name: String
|
||||
public native var align: String
|
||||
@@ -526,6 +580,7 @@ public native trait HTMLImageElement : HTMLElement {
|
||||
public native var width: Double
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLObjectElement : HTMLElement {
|
||||
public native val form: HTMLFormElement
|
||||
public native var code: String
|
||||
@@ -548,6 +603,7 @@ public native trait HTMLObjectElement : HTMLElement {
|
||||
public native val contentDocument: Document
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLParamElement : HTMLElement {
|
||||
public native var name: String
|
||||
public native var type: String
|
||||
@@ -555,6 +611,7 @@ public native trait HTMLParamElement : HTMLElement {
|
||||
public native var valueType: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLAppletElement : HTMLElement {
|
||||
public native var align: String
|
||||
public native var alt: String
|
||||
@@ -569,11 +626,13 @@ public native trait HTMLAppletElement : HTMLElement {
|
||||
public native var width: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLMapElement : HTMLElement {
|
||||
public native val areas: HTMLCollection
|
||||
public native var name: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLAreaElement : HTMLElement {
|
||||
public native var accessKey: String
|
||||
public native var alt: String
|
||||
@@ -585,6 +644,7 @@ public native trait HTMLAreaElement : HTMLElement {
|
||||
public native var target: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLScriptElement : HTMLElement {
|
||||
public native var text: String
|
||||
public native var htmlFor: String
|
||||
@@ -595,6 +655,7 @@ public native trait HTMLScriptElement : HTMLElement {
|
||||
public native var type: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLTableElement : HTMLElement {
|
||||
public native var caption: HTMLTableCaptionElement
|
||||
public native var tHead: HTMLTableSectionElement
|
||||
@@ -620,10 +681,12 @@ public native trait HTMLTableElement : HTMLElement {
|
||||
public native fun deleteRow(index: Number): Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLTableCaptionElement : HTMLElement {
|
||||
public native var align: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLTableColElement : HTMLElement {
|
||||
public native var align: String
|
||||
public native var ch: String
|
||||
@@ -633,6 +696,7 @@ public native trait HTMLTableColElement : HTMLElement {
|
||||
public native var width: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLTableSectionElement : HTMLElement {
|
||||
public native var align: String
|
||||
public native var ch: String
|
||||
@@ -643,6 +707,7 @@ public native trait HTMLTableSectionElement : HTMLElement {
|
||||
public native fun deleteRow(index: Number): Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLTableRowElement : HTMLElement {
|
||||
public native val rowIndex: Double
|
||||
public native val sectionRowIndex: Double
|
||||
@@ -656,6 +721,7 @@ public native trait HTMLTableRowElement : HTMLElement {
|
||||
public native fun deleteCell(index: Number): Unit
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLTableCellElement : HTMLElement {
|
||||
public native val cellIndex: Double
|
||||
public native var abbr: String
|
||||
@@ -674,11 +740,13 @@ public native trait HTMLTableCellElement : HTMLElement {
|
||||
public native var width: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLFrameSetElement : HTMLElement {
|
||||
public native var cols: String
|
||||
public native var rows: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLFrameElement : HTMLElement {
|
||||
public native var frameBorder: String
|
||||
public native var longDesc: String
|
||||
@@ -690,6 +758,7 @@ public native trait HTMLFrameElement : HTMLElement {
|
||||
public native var src: String
|
||||
}
|
||||
|
||||
deprecated("Use org.w3c.dom3 instead")
|
||||
public native trait HTMLIFrameElement : HTMLElement {
|
||||
public native var align: String
|
||||
public native var frameBorder: String
|
||||
|
||||
Reference in New Issue
Block a user