Skip to content

Commit 6e3e18e

Browse files
committed
Fmt
1 parent 3262687 commit 6e3e18e

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

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

+1-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ package org.scalajs.dom
33
import scala.scalajs.js
44
import scala.scalajs.js.annotation._
55

6-
/** The MathMLElement interface represents any MathML element.
7-
*/
6+
/** The MathMLElement interface represents any MathML element. */
87
@js.native
98
@JSGlobal
109
abstract class MathMLElement extends Element {
@@ -21,7 +20,6 @@ abstract class MathMLElement extends Element {
2120
/** Corresponds to attribute xml:base on the given element. */
2221
var xmlbase: String = js.native
2322

24-
2523
var autofocus: Boolean = js.native
2624
var `class`: String = js.native
2725
var dir: String = js.native
@@ -34,7 +32,6 @@ abstract class MathMLElement extends Element {
3432
var style: String = js.native
3533
var tabindex: Int = js.native
3634

37-
3835
var intent: String = js.native
3936
var arg: String = js.native
4037

tests-shared/src/main/scala/org/scalajs/dom/tests/shared/BrowserTests.scala

+4-3
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ trait BrowserTests extends WebCryptoApiTests {
137137
import org.scalajs.dom.{ImageData, ImageDataSettings, PredefinedColorSpace}
138138
import PredefinedColorSpace._
139139

140-
val width:Int = 200
141-
val height:Int = 100
140+
val width: Int = 200
141+
val height: Int = 100
142142

143143
// new ImageData(width, height)
144144
val imgDat1: ImageData = new ImageData(width, height)
@@ -164,7 +164,8 @@ trait BrowserTests extends WebCryptoApiTests {
164164
assertEquals(imgDat3.data.length, width * height * 4)
165165

166166
// new ImageData(dataArray, width, height, settings)
167-
val defaultImageData: ImageData = new ImageData(imgDat3.data, width, height, new ImageDataSettings { colorSpace = `display-p3` })
167+
val defaultImageData: ImageData =
168+
new ImageData(imgDat3.data, width, height, new ImageDataSettings { colorSpace = `display-p3` })
168169
assertEquals(defaultImageData.width, width)
169170
assertEquals(defaultImageData.height, height)
170171
}

0 commit comments

Comments
 (0)