Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tidy Mathml element #869

Merged
merged 6 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions api-reports/2_12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16501,7 +16501,6 @@ MathMLElement[JC] def addEventListener[T <: Event](`type`: String, listener: js.
MathMLElement[JC] def after(nodes: Node | String*): Unit
MathMLElement[JC] def append(nodes: Node | String*): Unit
MathMLElement[JC] def appendChild(newChild: Node): Node
MathMLElement[JC] var arg: String
MathMLElement[JC] def attachShadow(init: ShadowRootInit): ShadowRoot
MathMLElement[JC] def attributes: NamedNodeMap
MathMLElement[JC] var autofocus: Boolean
Expand All @@ -16510,8 +16509,8 @@ MathMLElement[JC] def before(nodes: Node | String*): Unit
MathMLElement[JC] def childElementCount: Int
MathMLElement[JC] def childNodes: NodeList[Node]
MathMLElement[JC] def children: HTMLCollection[Element]
MathMLElement[JC] var `class`: String
MathMLElement[JC] var classList: DOMTokenList
MathMLElement[JC] var className: String
MathMLElement[JC] def clientHeight: Int
MathMLElement[JC] def clientLeft: Int
MathMLElement[JC] def clientTop: Int
Expand All @@ -16520,9 +16519,7 @@ MathMLElement[JC] def cloneNode(deep: Boolean?): Node
MathMLElement[JC] def closest(selector: String): Element
MathMLElement[JC] def compareDocumentPosition(other: Node): Int
MathMLElement[JC] def contains(otherNode: Node): Boolean
MathMLElement[JC] var dir: String
MathMLElement[JC] def dispatchEvent(evt: Event): Boolean
MathMLElement[JC] var displaystyle: Boolean
MathMLElement[JC] def firstChild: Node
MathMLElement[JC] def firstElementChild: Element
MathMLElement[JC] def getAttribute(name: String): String
Expand All @@ -16545,7 +16542,6 @@ MathMLElement[JC] var innerText: String
MathMLElement[JC] def insertAdjacentElement(position: String, element: Element): Element
MathMLElement[JC] def insertAdjacentHTML(where: String, html: String): Unit
MathMLElement[JC] def insertBefore(newChild: Node, refChild: Node): Node
MathMLElement[JC] var intent: String
MathMLElement[JC] def isConnected: Boolean
MathMLElement[JC] def isDefaultNamespace(namespaceURI: String): Boolean
MathMLElement[JC] def isEqualNode(arg: Node): Boolean
Expand All @@ -16557,9 +16553,6 @@ MathMLElement[JC] def localName: String
MathMLElement[JC] def lookupNamespaceURI(prefix: String): String
MathMLElement[JC] def lookupPrefix(namespaceURI: String): String
MathMLElement[JC] def matches(selector: String): Boolean
MathMLElement[JC] var mathbackground: String
MathMLElement[JC] var mathcolor: String
MathMLElement[JC] var mathsize: String
MathMLElement[JC] def namespaceURI: String
MathMLElement[JC] def nextElementSibling: Element
MathMLElement[JC] def nextSibling: Node
Expand Down Expand Up @@ -16619,11 +16612,10 @@ MathMLElement[JC] def setAttributeNode(newAttr: Attr): Attr
MathMLElement[JC] def setAttributeNodeNS(newAttr: Attr): Attr
MathMLElement[JC] def setPointerCapture(pointerId: Double): Unit
MathMLElement[JC] def shadowRoot: ShadowRoot
MathMLElement[JC] var style: String
MathMLElement[JC] var tabindex: Int
MathMLElement[JC] var style: CSSStyleDeclaration
MathMLElement[JC] var tabIndex: Int
MathMLElement[JC] def tagName: String
MathMLElement[JC] var textContent: String
MathMLElement[JC] var xmlbase: String
MediaDeviceInfo[JT] val deviceId: String
MediaDeviceInfo[JT] val groupId: String
MediaDeviceInfo[JT] val kind: MediaDeviceKind
Expand Down
14 changes: 3 additions & 11 deletions api-reports/2_13.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16501,7 +16501,6 @@ MathMLElement[JC] def addEventListener[T <: Event](`type`: String, listener: js.
MathMLElement[JC] def after(nodes: Node | String*): Unit
MathMLElement[JC] def append(nodes: Node | String*): Unit
MathMLElement[JC] def appendChild(newChild: Node): Node
MathMLElement[JC] var arg: String
MathMLElement[JC] def attachShadow(init: ShadowRootInit): ShadowRoot
MathMLElement[JC] def attributes: NamedNodeMap
MathMLElement[JC] var autofocus: Boolean
Expand All @@ -16510,8 +16509,8 @@ MathMLElement[JC] def before(nodes: Node | String*): Unit
MathMLElement[JC] def childElementCount: Int
MathMLElement[JC] def childNodes: NodeList[Node]
MathMLElement[JC] def children: HTMLCollection[Element]
MathMLElement[JC] var `class`: String
MathMLElement[JC] var classList: DOMTokenList
MathMLElement[JC] var className: String
MathMLElement[JC] def clientHeight: Int
MathMLElement[JC] def clientLeft: Int
MathMLElement[JC] def clientTop: Int
Expand All @@ -16520,9 +16519,7 @@ MathMLElement[JC] def cloneNode(deep: Boolean?): Node
MathMLElement[JC] def closest(selector: String): Element
MathMLElement[JC] def compareDocumentPosition(other: Node): Int
MathMLElement[JC] def contains(otherNode: Node): Boolean
MathMLElement[JC] var dir: String
MathMLElement[JC] def dispatchEvent(evt: Event): Boolean
MathMLElement[JC] var displaystyle: Boolean
MathMLElement[JC] def firstChild: Node
MathMLElement[JC] def firstElementChild: Element
MathMLElement[JC] def getAttribute(name: String): String
Expand All @@ -16545,7 +16542,6 @@ MathMLElement[JC] var innerText: String
MathMLElement[JC] def insertAdjacentElement(position: String, element: Element): Element
MathMLElement[JC] def insertAdjacentHTML(where: String, html: String): Unit
MathMLElement[JC] def insertBefore(newChild: Node, refChild: Node): Node
MathMLElement[JC] var intent: String
MathMLElement[JC] def isConnected: Boolean
MathMLElement[JC] def isDefaultNamespace(namespaceURI: String): Boolean
MathMLElement[JC] def isEqualNode(arg: Node): Boolean
Expand All @@ -16557,9 +16553,6 @@ MathMLElement[JC] def localName: String
MathMLElement[JC] def lookupNamespaceURI(prefix: String): String
MathMLElement[JC] def lookupPrefix(namespaceURI: String): String
MathMLElement[JC] def matches(selector: String): Boolean
MathMLElement[JC] var mathbackground: String
MathMLElement[JC] var mathcolor: String
MathMLElement[JC] var mathsize: String
MathMLElement[JC] def namespaceURI: String
MathMLElement[JC] def nextElementSibling: Element
MathMLElement[JC] def nextSibling: Node
Expand Down Expand Up @@ -16619,11 +16612,10 @@ MathMLElement[JC] def setAttributeNode(newAttr: Attr): Attr
MathMLElement[JC] def setAttributeNodeNS(newAttr: Attr): Attr
MathMLElement[JC] def setPointerCapture(pointerId: Double): Unit
MathMLElement[JC] def shadowRoot: ShadowRoot
MathMLElement[JC] var style: String
MathMLElement[JC] var tabindex: Int
MathMLElement[JC] var style: CSSStyleDeclaration
MathMLElement[JC] var tabIndex: Int
MathMLElement[JC] def tagName: String
MathMLElement[JC] var textContent: String
MathMLElement[JC] var xmlbase: String
MediaDeviceInfo[JT] val deviceId: String
MediaDeviceInfo[JT] val groupId: String
MediaDeviceInfo[JT] val kind: MediaDeviceKind
Expand Down
17 changes: 3 additions & 14 deletions dom/src/main/scala/org/scalajs/dom/MathMLElement.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,11 @@ abstract class MathMLElement extends Element {
var onfocusin: js.Function1[FocusEvent, _] = js.native
var onfocusout: js.Function1[FocusEvent, _] = js.native

/** Corresponds to attribute xml:base on the given element. */
var xmlbase: String = js.native

var autofocus: Boolean = js.native
var `class`: String = js.native
var dir: String = js.native
var displaystyle: Boolean = js.native
var mathbackground: String = js.native
var mathcolor: String = js.native
var mathsize: String = js.native
var className: String = js.native
var nonce: String = js.native
var scriptlevel: Int = js.native
Quafadas marked this conversation as resolved.
Show resolved Hide resolved
var style: String = js.native
var tabindex: Int = js.native

var intent: String = js.native
var arg: String = js.native
var style: CSSStyleDeclaration = js.native
var tabIndex: Int = js.native

}
Loading