2019
10 featuresThe Intl.PluralRules API creates a locale-aware object that tells you which of the language's pluralization rules apply based on a given number.
An alternative to @media print queries, the beforeprint and afterprint events allow you to change the page for printing and restore the page after printing.
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.
The touch-action CSS property sets whether an element on a touch screen can be panned or pinched to zoom.
The AbortController and AbortSignal APIs allow you to cancel an ongoing operation, such as a fetch() request.
If you construct a fetch request with an AbortSignal, you can cancel the request.
The mediaKeys property of HTMLMediaElement and the navigator.requestMediaKeySystemAccess() method control the playback of content subject to digital rights management. Also known as EME.
The IntersectionObserver API asynchronously observes changes in the intersection of a target element with an ancestor element or with a top-level document's viewport.
In printed page layouts, the break-after, break-before, break-inside CSS properties control where printed pages start and end. Also known as pagination or page breaking.