April 2017 web platform update
Newly available on the web platform
Newly available
-
Async functions: The
async
andawait
keywords allow you to use the asynchronous, promise-based behavior of a function without using promise chains. Learn more. -
Custom properties: Custom properties are CSS properties prefixed with
--
that set values you can reuse with thevar()
function. For example, you can set a--key-color
property to reuse asborder-color: var(--key-color)
. Also known as CSS variables. Learn more.
Now available in Chrome
Limited availability
-
controlslist: The
controlslist
attribute for<audio>
or<video>
hides parts of the browser's built-in controls. For example,controlslist="nofullscreen"
removes the button to play the video in fullscreen. Learn more. -
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. Learn more.
Now available in Chrome Android
Limited availability
-
controlslist: The
controlslist
attribute for<audio>
or<video>
hides parts of the browser's built-in controls. For example,controlslist="nofullscreen"
removes the button to play the video in fullscreen. Learn more. -
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. Learn more.
Now available in Firefox
Limited availability
-
Masks: The
mask
CSS property (and several longhand properties) partially or completely hides an element according to the shape and depth of an image. Learn more.
Now available in Firefox for Android
Limited availability
-
Masks: The
mask
CSS property (and several longhand properties) partially or completely hides an element according to the shape and depth of an image. Learn more.