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. -
font-feature-settings: The
font-feature-settings
CSS property sets low-level OpenType feature tags for a font. When possible, usefont-variant
instead. Learn more. -
Outlines: The
outline-color
,outline-style
, andoutline-width
andoutline-offset
CSS properties style a line around an element, outside of the border. Learn more. -
String padStart() and padEnd(): The
padStart()
andpadEnd()
methods of strings return a string lengthened to a minimum number of characters by adding characters to the start or end of the string. Learn more. -
WEBGL_debug_renderer_info WebGL extension: The
WEBGL_debug_renderer_info
extension for WebGL 1.0 and 2.0 contexts exposes information about the graphics driver for debugging purposes. Learn more.