📃 October 2017 release notes
Newly available
The following features are newly available:
-
<data>:
The
<data>
element links a given piece of content with a machine-readable translation. - Grid: CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
-
<time>:
The
<time>
HTML element represents a time, such as a calendar date, clock time, or duration. It may include thedatetime
attribute to translate dates into machine-readable format. -
Viewport units:
The
vw
,vh
,vmin
, andvmax
CSS viewport units are relative to the size of the viewport, and are used to size elements in relation to the viewport's dimensions. -
WebAssembly:
The
WebAssembly.instantiate()
andWebAssembly.instantiateStreaming()
global static methods load WebAssembly code (also known as Wasm), a portable binary instruction format.
New in Chrome
The following features are now available in Chrome:
-
captureStream() for <audio> and <video>:
The
captureStream()
method for<audio>
and<video>
elements returns aMediaStream
for the media element's content. You can use this to record media or send it elsewhere, such as a canvas or WebRTC connection. -
font-variation-settings:
The
font-variation-settings
CSS property sets an "axis of variability" on a variable font, such as weight, optical size, or a custom axis defined by the typeface designer. When possible, use other CSS font properties, such asfont-weight: bold
. Also known as variable fonts. - Template literals: Template literals are literals delimited with backtick (`) characters, allowing for multi-line strings, string interpolation with embedded expressions, and special constructs called tagged templates.
New in Chrome Android
The following features are now available in Chrome Android:
-
captureStream() for <audio> and <video>:
The
captureStream()
method for<audio>
and<video>
elements returns aMediaStream
for the media element's content. You can use this to record media or send it elsewhere, such as a canvas or WebRTC connection. -
font-variation-settings:
The
font-variation-settings
CSS property sets an "axis of variability" on a variable font, such as weight, optical size, or a custom axis defined by the typeface designer. When possible, use other CSS font properties, such asfont-weight: bold
. Also known as variable fonts. - Template literals: Template literals are literals delimited with backtick (`) characters, allowing for multi-line strings, string interpolation with embedded expressions, and special constructs called tagged templates.
New in Edge
The following features are now available in Edge:
-
Abortable fetch:
If you construct a fetch request with an
AbortSignal
, you can cancel the request. -
AbortController and AbortSignal:
The
AbortController
andAbortSignal
APIs allow you to cancel an ongoing operation, such as afetch()
request. - Intersection observer: The Intersection Observer API asynchronously observes changes in the intersection of a target element with an ancestor element or with a top-level document's viewport.
-
JavaScript modules:
JavaScript modules allow code to be organized into reusable units. Modules use
import
to load other modules andexport
to declare what is available to import from other modules. In HTML, modules are loaded with<script type="module">
. -
Sticky positioning:
The
position: sticky
CSS declaration positions an element in the normal flow until it crosses a specified threshold, at which points it becomes fixed (stuck) at that position.