📃 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-shownCSS pseudo-element selects<input>and<textarea>elements when no value is set and the element'splaceholderattribute 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-lastCSS 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_astcextension 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_shadersextension 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-shownCSS pseudo-element selects<input>and<textarea>elements when no value is set and the element'splaceholderattribute 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
spellcheckglobal HTML attribute sets whether the browser may check an element for spelling errors. -
text-align-last:
The
text-align-lastCSS 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_astcextension 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_shadersextension 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 aMediaStreamwhich includes aCanvasCaptureMediaStreamTrackrepresenting 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
hyphensCSS 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.orientationAPI 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. -
writing-mode SVG 1.1 values:
The
lr,lr-tb,rl,rl-tb,tb, andtb-rlkeyword values for thewriting-modeCSS property set the text direction for elements in SVG 1.1 documents.
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 aMediaStreamwhich includes aCanvasCaptureMediaStreamTrackrepresenting 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
hyphensCSS 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.orientationAPI 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. -
writing-mode SVG 1.1 values:
The
lr,lr-tb,rl,rl-tb,tb, andtb-rlkeyword values for thewriting-modeCSS property set the text direction for elements in SVG 1.1 documents.