Chrome 53 Beta some interesting changes

Original link: HTTP: //blog.chromium.org/2016 ...
Translator: Icarus
-mail: [email protected]

If there are no special instructions, then the following are used in Android, Chrome OS, Linux, Mac and windows recently released Chrome beta feature on the version.

Shadow DOM V1

HTML, CSS and JavaScript is very powerful development language, but in code size is very large they are difficult to maintain. Those embedded third-party content sites need to ensure that the introduction of style will not affect existing applications. Chrome 53 supports the Shadow V1 DOM , which allows an element of style and child DOM nodes package together without affecting the main document structure. This technology improves those large or there are many components of the site maintainability . Shadow DOM V1 V0 compared to some major changes, and has been recognized by the major browser vendors. Chrome until a sufficient number of developers to use V1, it will support both versions of the API. shadow root of performance depending on which version to use when creating API.

PaymentRequest API

Complete payment in the browser for the user is very convenient, the site will lead to a very low conversion rates. Although autofill greatly simplifying the information to fill in the mobile terminal efficiently fill data remains a problem. PaymentRequest can pay when you use a credit card or Android Pay is seamless and faster and more secure payment experience. It can also provide information about the user's billing address, and payment information logistics persons without the need for input. PaymentRequest already available on the Android chrome, it will soon support other platforms.

Play silent video of chrome in Andorid

Video is a great way to close to the user a lot of sites, but if the video will play an unexpected annoying. It is very common in the mobile terminal, because the user may not want to be in a sound environment. Android now allows the chrome in the absence of interaction play a silent video . If this video is marked as silent and have attributes autoplay, Chrome will start playing video when the user enters the field of view. Developers can also use a script to play silent videos in the absence of interaction. User operation before the start of play sound automatically pauses silent video.

Other features

  • Site to when carrying Android6.0 and later versions of the system to send notifications, chrome logo of the status bar can customize .

  • Notification objects can now provide getter methods to view notifications buttons and vibrate mode.

  • For users already set up "to detect and run important to insert content", insert a cross-domain content less than 5X5 pixel is no longer loaded .

  • Display license sandbox flag allows the site to control whether a ifame can show information to an external device.

  • In the text box element pattern value of the property now uses unicode flag to improve the efficiency of syntax checking and other regular expressions.

  • If the opacity property ancestor less than 1, 3D element will be turned into the plane .

  • To avoid visual blur , all content is scanned when it is re-scaled changes, in addition to having a will-change the content of the CSS property.

  • Low-pass and high-pass second order filter now supports more filtration .

  • --webkit-filterIt is a no prefix filter attribute alias, performance, and filter the same.

  • --webkit-user-select property now supports a allproperty can be forced to select the Include the selected element and all its descendant elements.

  • web end Bluetooth API already started in some internet experimental use , which allows the site to use the Bluetooth profiles Generic Attribute (GATT) to communicate with nearby devices.

  • text-size-adjust property allows the font default zoom control site on a mobile device.

Waste improved functionality and interoperability

  • Script-generated event no longer triggers the default behavior, improving the interoperability and flexibility browser.

  • HTTP / 0.9 response headers support adds support HTTP / 1.0 is discarded.

  • For security reasons, as the M51 is in the waste , the TLS in the Diffie-Hellman encryption is removed .

  • TextEncoder API not only using the arguments and to utf-8 encoded.

  • Since the latest security policy, Symantec's handled by a new license or certificate and Symantec companies associated in the chrome no longer be trusted unless they also have the certificate information transparency .

Posted by Hayato Ito, Shadow DOM Chaffeur

This article is reproduced in: Ape 2048 https://www.mk2048.com/blog/blog.php?id=hhcc12kjbcb

Guess you like

Origin www.cnblogs.com/10manongit/p/12615387.html