📃 December 2015 release notes
New in Chrome
The following features are now available in Chrome:
-
Array includes():
The
includes()
method of arrays and typed arrays returns whether a given value appears in the array. -
:placeholder-shown:
The
:placeholder-shown
CSS pseudo-element selects<input>
and<textarea>
elements when no value is set and the element'splaceholder
attribute is not empty. Not to be confused with::placeholder
, which selects the placeholder text itself. - Presentation API: The Presentation API shows or controls content on another display, such as a network-connected TV or projector.
-
requestIdleCallback():
The
requestIdleCallback()
API queues a function that runs in idle browser time, either at the end of a frame or when the user is inactive. Also known as the background tasks API. -
text-align-last:
The
text-align-last
CSS property sets the alignment of the last line of text before a forced line break. -
WEBGL_compressed_texture_astc WebGL extension:
The
WEBGL_compressed_texture_astc
extension for WebGL 1.0 and 2.0 contexts adds the Adaptive Scalable Texture Compression format tocompressedTexImage2D()
andcompressedTexSubImage2D()
. -
WEBGL_debug_shaders WebGL extension:
The
WEBGL_debug_shaders
extension for WebGL 1.0 and 2.0 contexts adds thegetTranslatedShaderSource()
method to debug shaders from privileged contexts.
New in Chrome Android
The following features are now available in Chrome Android:
-
Array includes():
The
includes()
method of arrays and typed arrays returns whether a given value appears in the array. -
:placeholder-shown:
The
:placeholder-shown
CSS pseudo-element selects<input>
and<textarea>
elements when no value is set and the element'splaceholder
attribute is not empty. Not to be confused with::placeholder
, which selects the placeholder text itself. - Presentation API: The Presentation API shows or controls content on another display, such as a network-connected TV or projector.
-
requestIdleCallback():
The
requestIdleCallback()
API queues a function that runs in idle browser time, either at the end of a frame or when the user is inactive. Also known as the background tasks API. -
Spellcheck:
The
spellcheck
global HTML attribute sets whether the browser may check an element for spelling errors. -
text-align-last:
The
text-align-last
CSS property sets the alignment of the last line of text before a forced line break. -
WEBGL_compressed_texture_astc WebGL extension:
The
WEBGL_compressed_texture_astc
extension for WebGL 1.0 and 2.0 contexts adds the Adaptive Scalable Texture Compression format tocompressedTexImage2D()
andcompressedTexSubImage2D()
. -
WEBGL_debug_shaders WebGL extension:
The
WEBGL_debug_shaders
extension for WebGL 1.0 and 2.0 contexts adds thegetTranslatedShaderSource()
method to debug shaders from privileged contexts.
New in Firefox
The following features are now available in Firefox:
-
Array includes():
The
includes()
method of arrays and typed arrays returns whether a given value appears in the array. -
captureStream() for <canvas>:
The
captureStream()
method for<canvas>
elements returns aMediaStream
which includes aCanvasCaptureMediaStreamTrack
representing real-time video of the canvas image. You can use this to record the canvas, or send it elsewhere, such as another canvas or WebRTC connection. -
Hyphenation:
The
hyphens
CSS property controls when long words are broken by line wrapping. Although calledhyphens
, the property applies to word-splitting behavior across languages, such as customary spelling changes or the use of other characters. Support for non-English languages varies significantly. -
Screen orientation:
The
screen.orientation
API gets information about the orientation of the viewport, such as landscape or portrait. With this API, you can adapt an application's layout or behavior in response to changes in orientation.
New in Firefox for Android
The following features are now available in Firefox for Android:
-
Array includes():
The
includes()
method of arrays and typed arrays returns whether a given value appears in the array. -
captureStream() for <canvas>:
The
captureStream()
method for<canvas>
elements returns aMediaStream
which includes aCanvasCaptureMediaStreamTrack
representing real-time video of the canvas image. You can use this to record the canvas, or send it elsewhere, such as another canvas or WebRTC connection. -
Hyphenation:
The
hyphens
CSS property controls when long words are broken by line wrapping. Although calledhyphens
, the property applies to word-splitting behavior across languages, such as customary spelling changes or the use of other characters. Support for non-English languages varies significantly. -
Screen orientation:
The
screen.orientation
API gets information about the orientation of the viewport, such as landscape or portrait. With this API, you can adapt an application's layout or behavior in response to changes in orientation.