Skip to content

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ scalaVersion in ThisBuild := crossScalaVersions.value.head
1111
val commonSettings = Seq(
1212
version := "0.9.2-SNAPSHOT",
1313
organization := "org.scala-js",
14-
scalacOptions ++= Seq("-deprecation", "-feature", "-Xfatal-warnings")
14+
scalacOptions ++= Seq("-deprecation", "-feature")
1515
)
1616

1717
normalizedName := "scalajs-dom"

src/main/scala/org/scalajs/dom/raw/Html.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,7 @@ abstract class HTMLBaseElement extends HTMLElement {
798798
}
799799

800800
@js.native
801+
@deprecated("Obsolete.", "HTML 3.2")
801802
trait HTMLNextIdElement extends HTMLElement {
802803
var n: String = js.native
803804
}
@@ -830,6 +831,7 @@ trait HTMLAreasCollection extends HTMLCollection {
830831
}
831832

832833
@js.native
834+
@deprecated("Obsolete.", "HTML 5")
833835
abstract class HTMLAppletElement extends HTMLElement {
834836
var width: Double = js.native
835837
var codeType: String = js.native
@@ -1143,6 +1145,7 @@ abstract class HTMLLinkElement extends HTMLElement with LinkStyle {
11431145
}
11441146

11451147
@js.native
1148+
@deprecated("Obsolete.", "HTML 4.01")
11461149
abstract class HTMLFontElement extends HTMLElement {
11471150
var face: String = js.native
11481151
}
@@ -3719,6 +3722,7 @@ abstract class HTMLFieldSetElement extends HTMLElement {
37193722
}
37203723

37213724
@js.native
3725+
@deprecated("Non standard.", "forever")
37223726
abstract class HTMLBGSoundElement extends HTMLElement {
37233727
var balance: js.Any = js.native
37243728
var volume: js.Any = js.native
@@ -4232,6 +4236,7 @@ abstract class HTMLOptGroupElement extends HTMLElement {
42324236
* MDN
42334237
*/
42344238
@js.native
4239+
@deprecated("Obsolete.", "HTML 4.01")
42354240
abstract class HTMLIsIndexElement extends HTMLElement {
42364241

42374242
/**
@@ -4378,6 +4383,7 @@ abstract class HTMLTrackElement extends HTMLElement {
43784383
}
43794384

43804385
@js.native
4386+
@deprecated("Obsolete.", "HTML 5")
43814387
abstract class HTMLMarqueeElement extends HTMLElement {
43824388
var width: String = js.native
43834389
var onbounce: js.Function1[Event, _] = js.native

src/main/scala/org/scalajs/dom/raw/lib.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5344,6 +5344,7 @@ class Event extends js.Object {
53445344

53455345
def `type`: String = js.native
53465346

5347+
@deprecated("Non standard.", "forever")
53475348
def srcElement: Element = js.native
53485349

53495350
/**
@@ -6688,8 +6689,10 @@ trait AudioTrackList extends EventTarget with DOMList[AudioTrack] {
66886689

66896690
@js.native
66906691
trait WindowTimersExtension extends js.Object {
6692+
@deprecated("Non standard.", "forever")
66916693
def clearImmediate(handle: Int): Unit = js.native
66926694

6695+
@deprecated("Non standard.", "forever")
66936696
def setImmediate(handler: js.Function0[Any]): Int = js.native
66946697
}
66956698

0 commit comments

Comments
 (0)