From 6e3e18eb6e77530effa577cc6aa88a9637f17319 Mon Sep 17 00:00:00 2001 From: Simon Parten Date: Fri, 4 Oct 2024 21:44:23 +0200 Subject: [PATCH] Fmt --- dom/src/main/scala/org/scalajs/dom/MathMLElement.scala | 5 +---- .../scala/org/scalajs/dom/tests/shared/BrowserTests.scala | 7 ++++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/dom/src/main/scala/org/scalajs/dom/MathMLElement.scala b/dom/src/main/scala/org/scalajs/dom/MathMLElement.scala index 6756cfa2..35b18335 100644 --- a/dom/src/main/scala/org/scalajs/dom/MathMLElement.scala +++ b/dom/src/main/scala/org/scalajs/dom/MathMLElement.scala @@ -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 { @@ -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 @@ -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 diff --git a/tests-shared/src/main/scala/org/scalajs/dom/tests/shared/BrowserTests.scala b/tests-shared/src/main/scala/org/scalajs/dom/tests/shared/BrowserTests.scala index 37fb639a..0c52fb08 100644 --- a/tests-shared/src/main/scala/org/scalajs/dom/tests/shared/BrowserTests.scala +++ b/tests-shared/src/main/scala/org/scalajs/dom/tests/shared/BrowserTests.scala @@ -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) @@ -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) }