Chrome 148 introduces three notable features: CSS name-only container queries allow querying containers by name without specifying a container-type; lazy loading support is added to video and audio elements via the loading attribute, matching existing behavior for img and iframe; and the Prompt API provides web developers direct access to on-device AI (Gemini Nano) supporting text, image, and audio inputs with response constraints for JSON schema and regex formats.

3m read timeFrom developer.chrome.com
Post cover image
Table of contents
CSS name-only container queriesLazy loading for video and audio elementsThe Prompt APIFurther readingSubscribe
2 Comments

Sort: