Skip to content

Commit f86bae5

Browse files
authored
Merge pull request #869 from Quafadas/mathmlels
Tidy Mathml element
2 parents 6187be7 + 73c38f8 commit f86bae5

File tree

3 files changed

+9
-42
lines changed

3 files changed

+9
-42
lines changed

api-reports/2_12.txt

+3-13
Original file line numberDiff line numberDiff line change
@@ -16501,7 +16501,6 @@ MathMLElement[JC] def addEventListener[T <: Event](`type`: String, listener: js.
1650116501
MathMLElement[JC] def after(nodes: Node | String*): Unit
1650216502
MathMLElement[JC] def append(nodes: Node | String*): Unit
1650316503
MathMLElement[JC] def appendChild(newChild: Node): Node
16504-
MathMLElement[JC] var arg: String
1650516504
MathMLElement[JC] def attachShadow(init: ShadowRootInit): ShadowRoot
1650616505
MathMLElement[JC] def attributes: NamedNodeMap
1650716506
MathMLElement[JC] var autofocus: Boolean
@@ -16510,8 +16509,8 @@ MathMLElement[JC] def before(nodes: Node | String*): Unit
1651016509
MathMLElement[JC] def childElementCount: Int
1651116510
MathMLElement[JC] def childNodes: NodeList[Node]
1651216511
MathMLElement[JC] def children: HTMLCollection[Element]
16513-
MathMLElement[JC] var `class`: String
1651416512
MathMLElement[JC] var classList: DOMTokenList
16513+
MathMLElement[JC] var className: String
1651516514
MathMLElement[JC] def clientHeight: Int
1651616515
MathMLElement[JC] def clientLeft: Int
1651716516
MathMLElement[JC] def clientTop: Int
@@ -16520,9 +16519,7 @@ MathMLElement[JC] def cloneNode(deep: Boolean?): Node
1652016519
MathMLElement[JC] def closest(selector: String): Element
1652116520
MathMLElement[JC] def compareDocumentPosition(other: Node): Int
1652216521
MathMLElement[JC] def contains(otherNode: Node): Boolean
16523-
MathMLElement[JC] var dir: String
1652416522
MathMLElement[JC] def dispatchEvent(evt: Event): Boolean
16525-
MathMLElement[JC] var displaystyle: Boolean
1652616523
MathMLElement[JC] def firstChild: Node
1652716524
MathMLElement[JC] def firstElementChild: Element
1652816525
MathMLElement[JC] def getAttribute(name: String): String
@@ -16545,7 +16542,6 @@ MathMLElement[JC] var innerText: String
1654516542
MathMLElement[JC] def insertAdjacentElement(position: String, element: Element): Element
1654616543
MathMLElement[JC] def insertAdjacentHTML(where: String, html: String): Unit
1654716544
MathMLElement[JC] def insertBefore(newChild: Node, refChild: Node): Node
16548-
MathMLElement[JC] var intent: String
1654916545
MathMLElement[JC] def isConnected: Boolean
1655016546
MathMLElement[JC] def isDefaultNamespace(namespaceURI: String): Boolean
1655116547
MathMLElement[JC] def isEqualNode(arg: Node): Boolean
@@ -16557,16 +16553,12 @@ MathMLElement[JC] def localName: String
1655716553
MathMLElement[JC] def lookupNamespaceURI(prefix: String): String
1655816554
MathMLElement[JC] def lookupPrefix(namespaceURI: String): String
1655916555
MathMLElement[JC] def matches(selector: String): Boolean
16560-
MathMLElement[JC] var mathbackground: String
16561-
MathMLElement[JC] var mathcolor: String
16562-
MathMLElement[JC] var mathsize: String
1656316556
MathMLElement[JC] def namespaceURI: String
1656416557
MathMLElement[JC] def nextElementSibling: Element
1656516558
MathMLElement[JC] def nextSibling: Node
1656616559
MathMLElement[JC] def nodeName: String
1656716560
MathMLElement[JC] def nodeType: Int
1656816561
MathMLElement[JC] var nodeValue: String
16569-
MathMLElement[JC] var nonce: String
1657016562
MathMLElement[JC] def normalize(): Unit
1657116563
MathMLElement[JC] var onclick: js.Function1[MouseEvent, _]
1657216564
MathMLElement[JC] var oncompositionend: js.Function1[CompositionEvent, _]
@@ -16607,7 +16599,6 @@ MathMLElement[JC] def replaceChildren(nodes: Node | String*): Unit
1660716599
MathMLElement[JC] def replaceWith(nodes: Node | String*): Unit
1660816600
MathMLElement[JC] def requestFullscreen(options: FullscreenOptions?): js.Promise[Unit]
1660916601
MathMLElement[JC] def requestPointerLock(): Unit
16610-
MathMLElement[JC] var scriptlevel: Int
1661116602
MathMLElement[JC] def scrollHeight: Int
1661216603
MathMLElement[JC] def scrollIntoView(top: Boolean?): Unit
1661316604
MathMLElement[JC] var scrollLeft: Double
@@ -16619,11 +16610,10 @@ MathMLElement[JC] def setAttributeNode(newAttr: Attr): Attr
1661916610
MathMLElement[JC] def setAttributeNodeNS(newAttr: Attr): Attr
1662016611
MathMLElement[JC] def setPointerCapture(pointerId: Double): Unit
1662116612
MathMLElement[JC] def shadowRoot: ShadowRoot
16622-
MathMLElement[JC] var style: String
16623-
MathMLElement[JC] var tabindex: Int
16613+
MathMLElement[JC] var style: CSSStyleDeclaration
16614+
MathMLElement[JC] var tabIndex: Int
1662416615
MathMLElement[JC] def tagName: String
1662516616
MathMLElement[JC] var textContent: String
16626-
MathMLElement[JC] var xmlbase: String
1662716617
MediaDeviceInfo[JT] val deviceId: String
1662816618
MediaDeviceInfo[JT] val groupId: String
1662916619
MediaDeviceInfo[JT] val kind: MediaDeviceKind

api-reports/2_13.txt

+3-13
Original file line numberDiff line numberDiff line change
@@ -16501,7 +16501,6 @@ MathMLElement[JC] def addEventListener[T <: Event](`type`: String, listener: js.
1650116501
MathMLElement[JC] def after(nodes: Node | String*): Unit
1650216502
MathMLElement[JC] def append(nodes: Node | String*): Unit
1650316503
MathMLElement[JC] def appendChild(newChild: Node): Node
16504-
MathMLElement[JC] var arg: String
1650516504
MathMLElement[JC] def attachShadow(init: ShadowRootInit): ShadowRoot
1650616505
MathMLElement[JC] def attributes: NamedNodeMap
1650716506
MathMLElement[JC] var autofocus: Boolean
@@ -16510,8 +16509,8 @@ MathMLElement[JC] def before(nodes: Node | String*): Unit
1651016509
MathMLElement[JC] def childElementCount: Int
1651116510
MathMLElement[JC] def childNodes: NodeList[Node]
1651216511
MathMLElement[JC] def children: HTMLCollection[Element]
16513-
MathMLElement[JC] var `class`: String
1651416512
MathMLElement[JC] var classList: DOMTokenList
16513+
MathMLElement[JC] var className: String
1651516514
MathMLElement[JC] def clientHeight: Int
1651616515
MathMLElement[JC] def clientLeft: Int
1651716516
MathMLElement[JC] def clientTop: Int
@@ -16520,9 +16519,7 @@ MathMLElement[JC] def cloneNode(deep: Boolean?): Node
1652016519
MathMLElement[JC] def closest(selector: String): Element
1652116520
MathMLElement[JC] def compareDocumentPosition(other: Node): Int
1652216521
MathMLElement[JC] def contains(otherNode: Node): Boolean
16523-
MathMLElement[JC] var dir: String
1652416522
MathMLElement[JC] def dispatchEvent(evt: Event): Boolean
16525-
MathMLElement[JC] var displaystyle: Boolean
1652616523
MathMLElement[JC] def firstChild: Node
1652716524
MathMLElement[JC] def firstElementChild: Element
1652816525
MathMLElement[JC] def getAttribute(name: String): String
@@ -16545,7 +16542,6 @@ MathMLElement[JC] var innerText: String
1654516542
MathMLElement[JC] def insertAdjacentElement(position: String, element: Element): Element
1654616543
MathMLElement[JC] def insertAdjacentHTML(where: String, html: String): Unit
1654716544
MathMLElement[JC] def insertBefore(newChild: Node, refChild: Node): Node
16548-
MathMLElement[JC] var intent: String
1654916545
MathMLElement[JC] def isConnected: Boolean
1655016546
MathMLElement[JC] def isDefaultNamespace(namespaceURI: String): Boolean
1655116547
MathMLElement[JC] def isEqualNode(arg: Node): Boolean
@@ -16557,16 +16553,12 @@ MathMLElement[JC] def localName: String
1655716553
MathMLElement[JC] def lookupNamespaceURI(prefix: String): String
1655816554
MathMLElement[JC] def lookupPrefix(namespaceURI: String): String
1655916555
MathMLElement[JC] def matches(selector: String): Boolean
16560-
MathMLElement[JC] var mathbackground: String
16561-
MathMLElement[JC] var mathcolor: String
16562-
MathMLElement[JC] var mathsize: String
1656316556
MathMLElement[JC] def namespaceURI: String
1656416557
MathMLElement[JC] def nextElementSibling: Element
1656516558
MathMLElement[JC] def nextSibling: Node
1656616559
MathMLElement[JC] def nodeName: String
1656716560
MathMLElement[JC] def nodeType: Int
1656816561
MathMLElement[JC] var nodeValue: String
16569-
MathMLElement[JC] var nonce: String
1657016562
MathMLElement[JC] def normalize(): Unit
1657116563
MathMLElement[JC] var onclick: js.Function1[MouseEvent, _]
1657216564
MathMLElement[JC] var oncompositionend: js.Function1[CompositionEvent, _]
@@ -16607,7 +16599,6 @@ MathMLElement[JC] def replaceChildren(nodes: Node | String*): Unit
1660716599
MathMLElement[JC] def replaceWith(nodes: Node | String*): Unit
1660816600
MathMLElement[JC] def requestFullscreen(options: FullscreenOptions?): js.Promise[Unit]
1660916601
MathMLElement[JC] def requestPointerLock(): Unit
16610-
MathMLElement[JC] var scriptlevel: Int
1661116602
MathMLElement[JC] def scrollHeight: Int
1661216603
MathMLElement[JC] def scrollIntoView(top: Boolean?): Unit
1661316604
MathMLElement[JC] var scrollLeft: Double
@@ -16619,11 +16610,10 @@ MathMLElement[JC] def setAttributeNode(newAttr: Attr): Attr
1661916610
MathMLElement[JC] def setAttributeNodeNS(newAttr: Attr): Attr
1662016611
MathMLElement[JC] def setPointerCapture(pointerId: Double): Unit
1662116612
MathMLElement[JC] def shadowRoot: ShadowRoot
16622-
MathMLElement[JC] var style: String
16623-
MathMLElement[JC] var tabindex: Int
16613+
MathMLElement[JC] var style: CSSStyleDeclaration
16614+
MathMLElement[JC] var tabIndex: Int
1662416615
MathMLElement[JC] def tagName: String
1662516616
MathMLElement[JC] var textContent: String
16626-
MathMLElement[JC] var xmlbase: String
1662716617
MediaDeviceInfo[JT] val deviceId: String
1662816618
MediaDeviceInfo[JT] val groupId: String
1662916619
MediaDeviceInfo[JT] val kind: MediaDeviceKind

dom/src/main/scala/org/scalajs/dom/MathMLElement.scala

+3-16
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,9 @@ abstract class MathMLElement extends Element {
1717
var onfocusin: js.Function1[FocusEvent, _] = js.native
1818
var onfocusout: js.Function1[FocusEvent, _] = js.native
1919

20-
/** Corresponds to attribute xml:base on the given element. */
21-
var xmlbase: String = js.native
22-
2320
var autofocus: Boolean = js.native
24-
var `class`: String = js.native
25-
var dir: String = js.native
26-
var displaystyle: Boolean = js.native
27-
var mathbackground: String = js.native
28-
var mathcolor: String = js.native
29-
var mathsize: String = js.native
30-
var nonce: String = js.native
31-
var scriptlevel: Int = js.native
32-
var style: String = js.native
33-
var tabindex: Int = js.native
34-
35-
var intent: String = js.native
36-
var arg: String = js.native
21+
var className: String = js.native
22+
var style: CSSStyleDeclaration = js.native
23+
var tabIndex: Int = js.native
3724

3825
}

0 commit comments

Comments
 (0)