Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Quafadas committed Oct 4, 2024
1 parent 3262687 commit 6e3e18e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 1 addition & 4 deletions dom/src/main/scala/org/scalajs/dom/MathMLElement.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ package org.scalajs.dom
import scala.scalajs.js
import scala.scalajs.js.annotation._

/** The MathMLElement interface represents any MathML element.
*/
/** The MathMLElement interface represents any MathML element. */
@js.native
@JSGlobal
abstract class MathMLElement extends Element {
Expand All @@ -21,7 +20,6 @@ abstract class MathMLElement extends Element {
/** 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
Expand All @@ -34,7 +32,6 @@ abstract class MathMLElement extends Element {
var style: String = js.native
var tabindex: Int = js.native


var intent: String = js.native
var arg: String = js.native

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ trait BrowserTests extends WebCryptoApiTests {
import org.scalajs.dom.{ImageData, ImageDataSettings, PredefinedColorSpace}
import PredefinedColorSpace._

val width:Int = 200
val height:Int = 100
val width: Int = 200
val height: Int = 100

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

// new ImageData(dataArray, width, height, settings)
val defaultImageData: ImageData = new ImageData(imgDat3.data, width, height, new ImageDataSettings { colorSpace = `display-p3` })
val defaultImageData: ImageData =
new ImageData(imgDat3.data, width, height, new ImageDataSettings { colorSpace = `display-p3` })
assertEquals(defaultImageData.width, width)
assertEquals(defaultImageData.height, height)
}
Expand Down

0 comments on commit 6e3e18e

Please sign in to comment.