{"id":3169,"date":"2026-11-04T09:34:28","date_gmt":"2026-11-04T09:34:28","guid":{"rendered":"https:\/\/newsraise.com\/in\/2026\/11\/04\/chrome-157-on-device-language-detection-css-updates\/"},"modified":"2026-11-04T09:34:28","modified_gmt":"2026-11-04T09:34:28","slug":"chrome-157-on-device-language-detection-css-updates","status":"publish","type":"post","link":"https:\/\/newsraise.com\/in\/2026\/11\/04\/chrome-157-on-device-language-detection-css-updates\/","title":{"rendered":"Chrome 157 Brings On\u2011Device Language Detection and Major CSS Updates"},"content":{"rendered":"\n<!-- Quick Adsense WordPress Plugin: http:\/\/quickadsense.com\/ -->\n<div class=\"9fece8afa224fd09e54b043d0febfb58\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- NR ATF -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-8898941184964366\"\r\n     data-ad-slot=\"4839033563\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n<p>Google has rolled out Chrome 157 as the newest stable version of its widely used web browser. The update arrives with a notable on\u2011device language detection capability for Android, a collection of CSS extensions, and a range of security\u2011focused adjustments. In total, the release patches 213 security vulnerabilities and sets the stage for the next stable build, Chrome 158, expected on 17 November 2026.<\/p>\n<h2>On\u2011device language detection for Android<\/h2>\n<p>Android users of Chrome can now access a Language Detector API that evaluates the language of a given text snippet. Developers feed text to the API via JavaScript, and the built\u2011in machine\u2011learning model returns the identified language. Because the inference runs locally, no data leaves the device, which enhances privacy and reduces network traffic. When the model is already present on a device, the detection works even without an internet connection, opening possibilities for offline applications.<\/p>\n<p>Potential use cases include automatically recognizing the language a user has typed and prompting translation services or other multilingual features. By keeping the processing on the device, the design also aligns with business scenarios that handle highly confidential text, where sending data to external servers would be undesirable.<\/p>\n<h2>Expanded CSS capabilities<\/h2>\n<p>The release adds a new <code>corner<\/code> property that consolidates corner\u2011shaping directives into a single declaration. Previously, developers needed to combine <code>border-radius<\/code> with a separate <code>corner-shape<\/code> rule; the new property streamlines that workflow. Additional derived properties target individual corners, such as <code>corner-top<\/code>, <code>corner-bottom-left<\/code>, and directional variants like <code>corner-block-start<\/code>, which respect the text\u2019s writing direction.<\/p>\n<p>Text handling receives more flexibility as well. The <code>text-overflow<\/code> property now accepts arbitrary strings, allowing developers to replace the default ellipsis with custom markers like &#8220;(continued)&#8221; when content exceeds its container. A new <code>text-decoration-inset<\/code> attribute lets designers adjust the length of underlines, overlines, and strikethroughs, making it possible to shorten or extend these decorations beyond the text edges.<\/p>\n<p>Positioning rules have also been refined. The <code>position-visibility<\/code> property now recognizes <code>anchor-valid<\/code> and <code>anchor-visible<\/code>, while retaining the older plural forms <code>anchors-valid<\/code> and <code>anchors-visible<\/code> as compatibility aliases. When <code>anchor-valid<\/code> is employed, the specification targets only the default anchor for evaluation, simplifying anchor\u2011based layout calculations.<\/p>\n<h2>Security, API, and other technical updates<\/h2>\n<p>On the security front, Chrome 157 introduces a <code>javascriptURLs<\/code> option within the HTML Sanitizer API, granting developers finer control over the sanitization of JavaScript URLs. The Background Fetch API is now bound by Cross\u2011Origin Resource Sharing (CORS) rules, mirroring the restrictions applied to the standard Fetch API and helping to prevent circumvention of network policies.<\/p>\n<p>Service Workers gain access to a <code>ProgressEvent<\/code> object, enabling them to emit progress updates with properties such as <code>lengthComputable<\/code>, <code>loaded<\/code>, and <code>total<\/code>. The Web Bluetooth API sees its <code>BluetoothRemoteGATTServer<\/code> class inherit from <code>EventTarget<\/code>, which makes event\u2011listener methods like <code>addEventListener()<\/code> usable on Bluetooth server objects.<\/p>\n<p>Additional enhancements include support for rendering HTML inside a canvas element via an <code>HTML\u2011in\u2011canvas<\/code> feature, the introduction of the <code>atomic-vec2u-min-max<\/code> type in WebGPU, and new timing controls\u2014<code>styleDuration<\/code> and <code>forcedStyleDuration<\/code>\u2014in the Long Animation Frames API. A capability for displaying icon\u2011only buttons within Capability Elements remains under review.<\/p>\n<p>The release notes also list two origin trials: \u201cConnection Allowlists \u2013 Embedded Enforcement\u201d and \u201cOverscroll Areas.\u201d Both trials allow developers to experiment with emerging features before they become standard.<\/p>\n<p>Overall, the on\u2011device language detection stands out as the headline feature, offering a privacy\u2011preserving alternative to cloud\u2011based language models. For web application developers, the addition expands the toolbox for building translation and multilingual experiences without compromising user data.<\/p>\n<p>The CSS extensions aim to reduce the amount of repetitive code front\u2011end engineers must write, while also granting designers greater expressive power when shaping UI elements. However, because support for many of the new properties may differ across browsers, developers are likely to adopt a phased rollout strategy that includes fallback mechanisms.<\/p>\n<p>With 213 security bugs addressed, Chrome 157 reinforces the browser\u2019s safety posture while delivering a broad set of functional upgrades. The upcoming Chrome 158, slated for release in mid\u2011November 2026, promises to continue this trajectory of performance, privacy, and developer\u2011centric enhancements.<\/p>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Google&#8217;s Chrome 157 stable release adds on\u2011device language detection for Android and a suite of CSS, security, and API enhancements.<\/p>\n","protected":false},"author":4,"featured_media":3170,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[299],"tags":[1427,1426,3561,3560,2378],"class_list":["post-3169","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-android","tag-chrome","tag-css","tag-language-detection","tag-web-security","entry"],"_links":{"self":[{"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/posts\/3169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/comments?post=3169"}],"version-history":[{"count":0,"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/posts\/3169\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/media\/3170"}],"wp:attachment":[{"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/media?parent=3169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/categories?post=3169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/tags?post=3169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}