diff --git a/src/main/scala/org/scalajs/dom/html.scala b/src/main/scala/org/scalajs/dom/html.scala index 9be138a06..9c3c3fcd2 100644 --- a/src/main/scala/org/scalajs/dom/html.scala +++ b/src/main/scala/org/scalajs/dom/html.scala @@ -9,12 +9,14 @@ object html { type Applet = raw.HTMLAppletElement type Audio = raw.HTMLAudioElement type Area = raw.HTMLAreaElement + @deprecated("Non-standard", "0.9.8") type AreasCollection = raw.HTMLAreasCollection type Base = raw.HTMLBaseElement @deprecated("Obsolete.", "DOM Level 2") type BaseFont = raw.HTMLBaseFontElement @deprecated("Non standard.", "forever") type BGSound = raw.HTMLBGSoundElement + @deprecated("Non-standard", "0.9.8") type BlockElement = raw.HTMLBlockElement type Body = raw.HTMLBodyElement type Button = raw.HTMLButtonElement @@ -22,11 +24,13 @@ object html { type Canvas = raw.HTMLCanvasElement type Collection = raw.HTMLCollection type DataList = raw.HTMLDataListElement + @deprecated("Non-standard.", "0.9.8") type DD = raw.HTMLDDElement @deprecated("Obsolete.", "HTML 4") type Directory = raw.HTMLDirectoryElement type Div = raw.HTMLDivElement type DList = raw.HTMLDListElement + @deprecated("Non-standard.", "0.9.8") type DT = raw.HTMLDTElement type Document = raw.HTMLDocument type Element = raw.HTMLElement @@ -69,6 +73,7 @@ object html { type Paragraph = raw.HTMLParagraphElement type Param = raw.HTMLParamElement type Pre = raw.HTMLPreElement + @deprecated("Non-standard", "0.9.8") type Phrase = raw.HTMLPhraseElement type Progress = raw.HTMLProgressElement type Quote = raw.HTMLQuoteElement @@ -82,7 +87,13 @@ object html { type TableCaption = raw.HTMLTableCaptionElement type TableCell = raw.HTMLTableCellElement type TableCol = raw.HTMLTableColElement + @deprecated( + "https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableDataCellElement", + "0.9.8") type TableDataCell = raw.HTMLTableDataCellElement + @deprecated( + "https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableHeaderCellElement", + "0.9.8") type TableHeaderCell = raw.HTMLTableHeaderCellElement type TableRow = raw.HTMLTableRowElement type TableSection = raw.HTMLTableSectionElement diff --git a/src/main/scala/org/scalajs/dom/raw/Html.scala b/src/main/scala/org/scalajs/dom/raw/Html.scala index a327c270a..85a33445d 100644 --- a/src/main/scala/org/scalajs/dom/raw/Html.scala +++ b/src/main/scala/org/scalajs/dom/raw/Html.scala @@ -858,6 +858,9 @@ abstract class HTMLTableElement extends HTMLElement { */ @js.native @JSGlobal +@deprecated( + "https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableDataCellElement", + "0.9.8") abstract class HTMLTableDataCellElement extends HTMLTableCellElement /** @@ -918,6 +921,7 @@ abstract class HTMLParagraphElement extends HTMLElement { } @js.native +@deprecated("Non-standard", "0.9.8") trait HTMLAreasCollection extends HTMLCollection { def remove(index: Int = js.native): Unit = js.native @@ -1126,6 +1130,7 @@ abstract class HTMLSelectElement extends HTMLElement { } @js.native +@deprecated("Non-standard.", "0.9.8") trait HTMLBlockElement extends HTMLElement { var width: Double = js.native var cite: String = js.native @@ -1176,6 +1181,7 @@ abstract class HTMLMetaElement extends HTMLElement { @js.native @JSGlobal +@deprecated("Non-standard.", "0.9.8") abstract class HTMLDDElement extends HTMLElement { var noWrap: Boolean = js.native } @@ -1381,6 +1387,7 @@ abstract class HTMLMapElement extends HTMLElement { * * MDN */ + @deprecated("Non-standard", "0.9.8") def areas: HTMLAreasCollection = js.native } @@ -2024,6 +2031,9 @@ abstract class HTMLQuoteElement extends HTMLElement { */ @js.native @JSGlobal +@deprecated( + "https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableHeaderCellElement", + "0.9.8") abstract class HTMLTableHeaderCellElement extends HTMLTableCellElement /** @@ -3002,6 +3012,7 @@ abstract class HTMLPreElement extends HTMLElement { @js.native @JSGlobal +@deprecated("Non-standard.", "0.9.8") abstract class HTMLPhraseElement extends HTMLElement { var dateTime: String = js.native } @@ -3850,6 +3861,7 @@ object HTMLMediaElement extends js.Object { @js.native @JSGlobal +@deprecated("Non-standard.", "0.9.8") abstract class HTMLDTElement extends HTMLElement { var noWrap: Boolean = js.native }