From b3376cb19c45d5736ea47fdc0c11bb5e4fb4d968 Mon Sep 17 00:00:00 2001 From: Naden Date: Wed, 17 May 2023 05:05:17 +1000 Subject: [PATCH] Updated to scalajs-dom 2.4.0 (#638) Co-authored-by: Naden --- build.sbt | 7 +- history/build.sbt | 2 +- tests/build.sbt | 1 + web/build.sbt | 2 +- web/html.json | 222 +++++++++++++++++++++++----------------------- 5 files changed, 118 insertions(+), 116 deletions(-) diff --git a/build.sbt b/build.sbt index cb631f40..92791f8e 100644 --- a/build.sbt +++ b/build.sbt @@ -6,12 +6,13 @@ addCommandAlias( "compile:scalafix --check; test:scalafix --check; compile:scalafmtCheck; test:scalafmtCheck; scalafmtSbtCheck" ) -val scala212 = "2.12.16" -val scala213 = "2.13.6" -val scala3 = "3.0.1" +val scala212 = "2.12.17" +val scala213 = "2.13.10" +val scala3 = "3.2.2" ThisBuild / scalaVersion := scala213 ThisBuild / semanticdbEnabled := true +ThisBuild / semanticdbVersion := "4.7.6" lazy val slinky = project .in(file(".")) diff --git a/history/build.sbt b/history/build.sbt index c20dd360..44899fc6 100644 --- a/history/build.sbt +++ b/history/build.sbt @@ -2,4 +2,4 @@ enablePlugins(ScalaJSPlugin) name := "slinky-history" -libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.0.0" +libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.4.0" diff --git a/tests/build.sbt b/tests/build.sbt index 2c177064..74657c5f 100644 --- a/tests/build.sbt +++ b/tests/build.sbt @@ -2,6 +2,7 @@ enablePlugins(ScalaJSPlugin) enablePlugins(JSDependenciesPlugin) libraryDependencies += "org.scalatest" %%% "scalatest" % "3.2.9" % Test +libraryDependencies += ("org.scala-js" %%% "scalajs-fake-insecure-java-securerandom" % "1.0.0").cross(CrossVersion.for3Use2_13) Test / jsEnv := new org.scalajs.jsenv.jsdomnodejs.JSDOMNodeJSEnv() diff --git a/web/build.sbt b/web/build.sbt index 60a3e014..68c48967 100644 --- a/web/build.sbt +++ b/web/build.sbt @@ -2,6 +2,6 @@ enablePlugins(ScalaJSPlugin) name := "slinky-web" -libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.0.0" +libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.4.0" scalacOptions -= "-Xfatal-warnings" diff --git a/web/html.json b/web/html.json index c51207a9..4a57ce04 100644 --- a/web/html.json +++ b/web/html.json @@ -2,623 +2,623 @@ "tags" : [ { "tagName" : "a", - "scalaJSType": "org.scalajs.dom.html.Anchor", + "scalaJSType": "org.scalajs.dom.HTMLAnchorElement", "docLines" : [ "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL." ] }, { "tagName" : "abbr", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <abbr> element represents an abbreviation and optionally provides a full description for it. If present, the title attribute must contain this full description and nothing else." ] }, { "tagName" : "address", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <address> element supplies contact information for its nearest element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable (e.g., in syndication). Examples include: a forum post, a magazine or newspaper article, or a blog entry.\" href=\"/en-US/docs/Web/HTML/Element/article\"><article> or Element represents the content of an HTML document. There can be only one element in a document.\" href=\"/en-US/docs/Web/HTML/Element/body\"><body> ancestor; in the latter case, it applies to the whole document." ] }, { "tagName" : "area", - "scalaJSType": "org.scalajs.dom.html.Area", + "scalaJSType": "org.scalajs.dom.HTMLAreaElement", "docLines" : [ "The HTML <area> element defines a hot-spot region on an image, and optionally associates it with a elements define hyperlinks from a spot on a webpage (like a text string or image) to another spot on some other webpage (or even on the same page).\" class=\"glossaryLink\" href=\"/en-US/docs/Glossary/Hyperlink\">hypertext link. This element is used only within a element is used with elements to define an image map (a clickable link area).\" href=\"/en-US/docs/Web/HTML/Element/map\"><map> element." ] }, { "tagName" : "article", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <article> element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable (e.g., in syndication). Examples include: a forum post, a magazine or newspaper article, or a blog entry." ] }, { "tagName" : "aside", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <aside> element represents a section of a document with content connected tangentially to the main content of the document (often presented as a sidebar)." ] }, { "tagName" : "audio", - "scalaJSType": "org.scalajs.dom.html.Audio", + "scalaJSType": "org.scalajs.dom.HTMLAudioElement", "docLines" : [ "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the element specifies multiple media resources for either the , the element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream." ] }, { "tagName" : "b", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <b> element represents a span of text stylistically different from normal text, without conveying any special importance or relevance, and that is typically rendered in boldface." ] }, { "tagName" : "base", - "scalaJSType": "org.scalajs.dom.html.Base", + "scalaJSType": "org.scalajs.dom.HTMLBaseElement", "docLines" : [ "The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document. " ] }, { "tagName" : "bdi", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <bdi> element (bidirectional isolation) isolates a span of text that might be formatted in a different direction from other text outside it." ] }, { "tagName" : "bdo", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <bdo> element (bidirectional override) is used to override the current directionality of text. It causes the directionality of the characters to be ignored in favor of the specified directionality." ] }, { "tagName" : "big", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML Big Element (<big>) makes the text font size one size bigger (for example, from small to medium, or from large to x-large) up to the browser's maximum font size." ] }, { "tagName" : "blockquote", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <blockquote> Element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes for how to change it). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the element represents a reference to a creative work. It must include the title of a work or a URL reference, which may be in an abbreviated form according to the conventions used for the addition of citation metadata.\" href=\"/en-US/docs/Web/HTML/Element/cite\"><cite> element." ] }, { "tagName" : "body", - "scalaJSType": "org.scalajs.dom.html.Body", + "scalaJSType": "org.scalajs.dom.HTMLBodyElement", "docLines" : [ "The HTML <body> Element represents the content of an HTML document. There can be only one <body> element in a document." ] }, { "tagName" : "br", - "scalaJSType": "org.scalajs.dom.html.BR", + "scalaJSType": "org.scalajs.dom.HTMLBRElement", "docLines" : [ "The HTML <br> element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant." ] }, { "tagName" : "button", - "scalaJSType": "org.scalajs.dom.html.Button", + "scalaJSType": "org.scalajs.dom.HTMLButtonElement", "docLines" : [ "The HTML <button> element represents a clickable button." ] }, { "tagName" : "canvas", - "scalaJSType": "org.scalajs.dom.html.Canvas", + "scalaJSType": "org.scalajs.dom.HTMLCanvasElement", "docLines" : [ "Use the HTML <canvas> element with the canvas scripting API to draw graphics and animations." ] }, { "tagName" : "caption", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <caption> element represents the title of a table. Though it is always the first descendant of a element represents tabular data — that is, information expressed via a two-dimensional data table.\" href=\"/en-US/docs/Web/HTML/Element/table\"><table>, its styling, using CSS, may place it elsewhere, relative to the table." ] }, { "tagName" : "cite", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <cite> element represents a reference to a creative work. It must include the title of a work or a URL reference, which may be in an abbreviated form according to the conventions used for the addition of citation metadata." ] }, { "tagName" : "code", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <code> element represents a fragment of computer code. By default, it is displayed in the browser's default monospace font." ] }, { "tagName" : "col", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a element defines a group of columns within a table.\" href=\"/en-US/docs/Web/HTML/Element/colgroup\"><colgroup> element." ] }, { "tagName" : "colgroup", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <colgroup> element defines a group of columns within a table." ] }, { "tagName" : "data", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <data> element links a given content with a machine-readable translation. If the content is time- or date-related, the element represents either a time on a 24-hour clock or a precise date in the Gregorian calendar (with optional time and timezone information).\" href=\"/en-US/docs/Web/HTML/Element/time\"><time> element must be used." ] }, { "tagName" : "datalist", - "scalaJSType": "org.scalajs.dom.html.DataList", + "scalaJSType": "org.scalajs.dom.HTMLDataListElement", "docLines" : [ "The HTML <datalist> element contains a set of element is used to define an item contained in a element.\" href=\"/en-US/docs/Web/HTML/Element/optgroup\"><optgroup>, or a element contains a set of  element. As such, <option> can represent menu items in popups and other lists of items in an HTML document." ] }, { "tagName" : "output", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <output> element represents the result of a calculation or user action." ] }, { "tagName" : "p", - "scalaJSType": "org.scalajs.dom.html.Paragraph", + "scalaJSType": "org.scalajs.dom.HTMLParagraphElement", "docLines" : [ "The HTML <p> element represents a paragraph of text. Paragraphs are usually represented in visual media as blocks of text that are separated from adjacent blocks by vertical blank space and/or first-line indentation. Paragraphs are block-level elements." ] }, { "tagName" : "param", - "scalaJSType": "org.scalajs.dom.html.Param", + "scalaJSType": "org.scalajs.dom.HTMLParamElement", "docLines" : [ "The HTML <param> element defines parameters for an element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.\" href=\"/en-US/docs/Web/HTML/Element/object\"><object> element." ] }, { "tagName" : "picture", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <picture> element is a container used to specify multiple element specifies multiple media resources for either the , the elements for a specific element represents an image in the document.\" href=\"/en-US/docs/Web/HTML/Element/img\"><img> contained in it. The browser will choose the most suitable source according to the current layout of the page (the constraints of the box the image will appear in) and the device it will be displayed on (e.g. a normal or hiDPI device.)" ] }, { "tagName" : "pre", - "scalaJSType": "org.scalajs.dom.html.Pre", + "scalaJSType": "org.scalajs.dom.HTMLPreElement", "docLines" : [ "The HTML <pre> element represents preformatted text. Text within this element is typically displayed in a non-proportional (\"monospace\") font exactly as it is laid out in the file. Whitespace inside this element is displayed as typed." ] }, { "tagName" : "progress", - "scalaJSType": "org.scalajs.dom.html.Progress", + "scalaJSType": "org.scalajs.dom.HTMLProgressElement", "docLines" : [ "The HTML <progress> element represents the completion progress of a task, typically displayed as a progress bar." ] }, { "tagName" : "q", - "scalaJSType": "org.scalajs.dom.html.Quote", + "scalaJSType": "org.scalajs.dom.HTMLQuoteElement", "docLines" : [ "The HTML <q> element indicates that the enclosed text is a short inline quotation. This element is intended for short quotations that don't require paragraph breaks; for long quotations use the Element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes for how to change it). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the element.\" href=\"/en-US/docs/Web/HTML/Element/blockquote\"><blockquote> element." ] }, { "tagName" : "rp", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <rp> element is used to provide fall-back parentheses for browsers that do not support display of ruby annotations using the element represents a ruby annotation. Ruby annotations are for showing pronunciation of East Asian characters.\" href=\"/en-US/docs/Web/HTML/Element/ruby\"><ruby> element." ] }, { "tagName" : "rt", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <rt> element embraces pronunciation of characters presented in a ruby annotations, which are used to describe the pronunciation of East Asian characters. This element is always used inside a element represents a ruby annotation. Ruby annotations are for showing pronunciation of East Asian characters.\" href=\"/en-US/docs/Web/HTML/Element/ruby\"><ruby> element." ] }, { "tagName" : "ruby", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <ruby> element represents a ruby annotation. Ruby annotations are for showing pronunciation of East Asian characters." ] }, { "tagName" : "s", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <s> element renders text with a strikethrough, or a line through it. Use the <s> element to represent things that are no longer relevant or no longer accurate. However, <s> is not appropriate when indicating document edits; for that, use the element represents a range of text that has been deleted from a document. This element is often (but need not be) rendered with strike-through text.\" href=\"/en-US/docs/Web/HTML/Element/del\"><del> and element represents a range of text that has been added to a document.\" href=\"/en-US/docs/Web/HTML/Element/ins\"><ins> elements, as appropriate." ] }, { "tagName" : "samp", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <samp> element is an element intended to identify sample output from a computer program. It is usually displayed in the browser's default monotype font (such as Lucida Console)." ] }, { "tagName" : "script", - "scalaJSType": "org.scalajs.dom.html.Script", + "scalaJSType": "org.scalajs.dom.HTMLScriptElement", "docLines" : [ "The HTML <script> element is used to embed or reference an executable script." ] }, { "tagName" : "section", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <section> element represents a standalone section of functionality contained within an HTML document, typically with a heading, which doesn't have a more specific semantic element to represent it." ] }, { "tagName" : "select", - "scalaJSType": "org.scalajs.dom.html.Select", + "scalaJSType": "org.scalajs.dom.HTMLSelectElement", "docLines" : [ "The HTML <select> element represents a control that provides a menu of options:" ] }, { "tagName" : "small", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <small> element makes the text font size one size smaller (for example, from large to medium, or from small to x-small) down to the browser's minimum font size.  In HTML5, this element is repurposed to represent side-comments and small print, including copyright and legal text, independent of its styled presentation." ] }, { "tagName" : "source", - "scalaJSType": "org.scalajs.dom.html.Source", + "scalaJSType": "org.scalajs.dom.HTMLSourceElement", "docLines" : [ "The HTML <source> element specifies multiple media resources for either the element is a container used to specify multiple elements for a specific contained in it. The browser will choose the most suitable source according to the current layout of the page (the constraints of the box the image will appear in) and the device it will be displayed on (e.g. a normal or hiDPI device.)\" href=\"/en-US/docs/Web/HTML/Element/picture\"><picture>, the element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.\" href=\"/en-US/docs/Web/HTML/Element/audio\"><audio> or the element to embed video content in a document.\" href=\"/en-US/docs/Web/HTML/Element/video\"><video> element. It is an empty element. It is commonly used to serve the same media content in multiple formats supported by different browsers." ] }, { "tagName" : "span", - "scalaJSType": "org.scalajs.dom.html.Span", + "scalaJSType": "org.scalajs.dom.HTMLSpanElement", "docLines" : [ "The HTML <span> element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang. It should be used only when no other semantic element is appropriate. <span> is very much like a element is the generic container for flow content and does not inherently represent anything. Use it to group elements for purposes such as styling (using the class or id attributes), marking a section of a document in a different language (using the lang attribute), and so on.\" href=\"/en-US/docs/Web/HTML/Element/div\"><div> element, but element is the generic container for flow content and does not inherently represent anything. Use it to group elements for purposes such as styling (using the class or id attributes), marking a section of a document in a different language (using the lang attribute), and so on.\" href=\"/en-US/docs/Web/HTML/Element/div\"><div> is a block-level element whereas a <span> is an inline element." ] @@ -632,154 +632,154 @@ }, { "tagName" : "style", - "scalaJSType": "org.scalajs.dom.html.Style", + "scalaJSType": "org.scalajs.dom.HTMLStyleElement", "docLines" : [ "The HTML <style> element contains style information for a document, or part of a document. By default, the style instructions written inside that element are expected to be CSS." ] }, { "tagName" : "sub", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <sub> element defines a span of text that should be displayed, for typographic reasons, lower, and often smaller, than the main span of text." ] }, { "tagName" : "summary", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <summary> element is used as a summary, caption, or legend for the content of a element is used as a disclosure widget from which the user can retrieve additional information.\" href=\"/en-US/docs/Web/HTML/Element/details\"><details> element." ] }, { "tagName" : "sup", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <sup> element defines a span of text that should be displayed, for typographic reasons, higher, and often smaller, than the main span of text." ] }, { "tagName" : "table", - "scalaJSType": "org.scalajs.dom.html.Table", + "scalaJSType": "org.scalajs.dom.HTMLTableElement", "docLines" : [ "The HTML <table> element represents tabular data — that is, information expressed via a two-dimensional data table." ] }, { "tagName" : "tbody", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <tbody> element groups one or more element specifies that the markup contained inside the block comprises one row of a table, inside which the and elements create header and data cells, respectively, within the row.\" href=\"/en-US/docs/Web/HTML/Element/tr\"><tr> elements as the body of a element represents tabular data — that is, information expressed via a two-dimensional data table.\" href=\"/en-US/docs/Web/HTML/Element/table\"><table> element." ] }, { "tagName" : "td", - "scalaJSType": "org.scalajs.dom.html.TableCell", + "scalaJSType": "org.scalajs.dom.HTMLTableCellElement", "docLines" : [ "The HTML <td> element defines a cell of a table that contains data. It participates in the table model." ] }, { "tagName" : "textarea", - "scalaJSType": "org.scalajs.dom.html.TextArea", + "scalaJSType": "org.scalajs.dom.HTMLTextAreaElement", "docLines" : [ "The HTML <textarea> element represents a multi-line plain-text editing control." ] }, { "tagName" : "tfoot", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <tfoot> element defines a set of rows summarizing the columns of the table." ] }, { "tagName" : "th", - "scalaJSType": "org.scalajs.dom.html.TableCell", + "scalaJSType": "org.scalajs.dom.HTMLTableCellElement", "docLines" : [ "The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes." ] }, { "tagName" : "thead", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <thead> element defines a set of rows defining the head of the columns of the table." ] }, { "tagName" : "time", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <time> element represents either a time on a 24-hour clock or a precise date in the Gregorian calendar (with optional time and timezone information)." ] }, { "tagName" : "title", - "scalaJSType": "org.scalajs.dom.html.Title", + "scalaJSType": "org.scalajs.dom.HTMLTitleElement", "docLines" : [ "The HTML <title> element defines the title of the document, shown in a browser's title bar or on the page's tab. It can only contain text, and any contained tags are ignored." ] }, { "tagName" : "tr", - "scalaJSType": "org.scalajs.dom.html.TableRow", + "scalaJSType": "org.scalajs.dom.HTMLTableRowElement", "docLines" : [ "The HTML <tr> element defines a row of cells in a table. Those can be a mix of element defines a cell of a table that contains data. It participates in the table model.\" href=\"/en-US/docs/Web/HTML/Element/td\"><td> and element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.\" href=\"/en-US/docs/Web/HTML/Element/th\"><th> elements." ] }, { "tagName" : "track", - "scalaJSType": "org.scalajs.dom.html.Track", + "scalaJSType": "org.scalajs.dom.HTMLTrackElement", "docLines" : [ "The HTML <track> element is used as a child of the media elements element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.\" href=\"/en-US/docs/Web/HTML/Element/audio\"><audio> and element to embed video content in a document.\" href=\"/en-US/docs/Web/HTML/Element/video\"><video>. It lets you specify timed text tracks (or time-based data), for example to automatically handle subtitles. The tracks are formatted in WebVTT format (.vtt files) — Web Video Text Tracks." ] }, { "tagName" : "u", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <u> element renders text with an underline, a line under the baseline of its content. In HTML5, this element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelled." ] }, { "tagName" : "ul", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list." ] }, { "tagName" : "var", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <var> element represents a variable in a mathematical expression or a programming context." ] }, { "tagName" : "video", - "scalaJSType": "org.scalajs.dom.html.Video", + "scalaJSType": "org.scalajs.dom.HTMLVideoElement", "docLines" : [ "Use the HTML <video> element to embed video content in a document." ] }, { "tagName" : "wbr", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <wbr> element represents a word break opportunity—a position within text where the browser may optionally break a line, though its line-breaking rules would not otherwise create a break at that location." ] }, { "tagName" : "dd", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <dd> element indicates the description of a term in a description list ( element represents a description list. The element encloses a list of groups of terms and descriptions. Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs).\" href=\"/en-US/docs/Web/HTML/Element/dl\"><dl>)." ] }, { "tagName" : "dt", - "scalaJSType": "org.scalajs.dom.html.Element", + "scalaJSType": "org.scalajs.dom.HTMLElement", "docLines" : [ "The HTML <dt> element identifies a term in a description list. This element can occur only as a child element of a  element represents a description list. The element encloses a list of groups of terms and descriptions. Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs).\" href=\"/en-US/docs/Web/HTML/Element/dl\"><dl>. It is usually followed by a element indicates the description of a term in a description list (
).\" href=\"/en-US/docs/Web/HTML/Element/dd\"><dd> element; however, multiple <dt> elements in a row indicate several terms that are all defined by the immediate next element indicates the description of a term in a description list (
).\" href=\"/en-US/docs/Web/HTML/Element/dd\"><dd> element." ]