Grilled Cheese

ExploreLog inSign up

Chrome for Developers

@developer.chrome.com

57 Following4.2k Followers

The Official Chromium Developers Account.

Check out our developer portals: https://developer.chrome.com/ and https://web.dev/

PostsRepliesMedia
@rviscomi.devOct 8, 2026, 12:25 AMReposted by @developer.chrome.com

Two Modern Web Guidance releases in one week?! v0.0.193 is out, teaching coding agents how to: • restrict outbound network connections (Connection-Allowlist) • validate origins without string parsing (Origin API) • verify email address ownership without OTPs • build draggable floating elements

@developer.chrome.comOct 8, 2026, 3:58 PM

By installing this CLI tool, your agent searches a database of best practices before writing a single line of code. The result is forms complete with proper autocomplete values, enterkeyhint attributes, and autofill CSS pseudo-classes.

Upgrade your agent today → goo.gle/mwg

@developer.chrome.comOct 8, 2026, 3:58 PM

Building web forms with an AI agent means you might be missing the progressive enhancements that boost conversions. Modern Web Guidance helps with this 🧵⬇️

@developer.chrome.comOct 7, 2026, 1:49 PM

PayPal recently tested the WebMCP proposed standard to streamline agentic commerce. By replacing more than 30 complex interface-interaction steps with 3 structured tool calls, they delivered a significantly faster and more consistent E2E checkout experience for AI assistants → goo.gle/4yXHc8E

@rviscomi.devOct 7, 2026, 2:05 AMReposted by @developer.chrome.com

Modern Web Guidance v0.0.192 is out. With it your coding agent now knows how to: • build SMS one-time-code forms that autofill (WebOTP) • make dark mode toggles that follow the OS • honor the OS text size setting • reduce INP and lazy-load video/audio • feature-detect CSS at-rules with @supports

@bram.usOct 6, 2026, 9:28 AMReposted by @developer.chrome.com

After 7.5 months of tweaking, reviewing, and rewriting, the docs for Scroll-Triggered Animations have landed on @developer.mozilla.org (MDN)!

→ developer.mozilla.org/en-US/docs/W...

Congrats and thanks to Chris Mills and @estelle.bsky.social for their hard work and sweating the details on this!

@developer.chrome.comOct 6, 2026, 5:11 PM

Ensure your coding agent creates more accessible, progressively enhanced web forms, with Modern Web Guidance→ goo.gle/mwg

Discover how Modern Web Guidance skills help agents handle:
⌨️ Adding the Enter key hint attribute
🏷️ Correct autocomplete values
🎨 Autofill styling as a progressive enhancement

@bram.usOct 5, 2026, 1:39 PMReposted by @developer.chrome.com

Well well, what do we have here?

Try it Chrome Canary.

#CSS #AnchorPositioning #DevTools

Chrome DevTools showing Anchor Positioning tooling
@developer.chrome.comOct 5, 2026, 5:21 PM

Stop adding !important to solve CSS specificity issues → goo.gle/4729nY4

Starting in Chrome 151, DevTools breaks down the exact specificity calculation right inside the Styles tab.

@developer.chrome.comOct 2, 2026, 3:01 PM

With the guidance, the agent: ✅ Decoupled entry and exit animations ✅ Avoided fragile percentage calculations ✅ Implemented fallbacks for browsers that don't support needed animation properties

@developer.chrome.comOct 2, 2026, 3:01 PM

Entry and exit animations in a card-based UI can break if card or screen dimensions change. Newer CSS animation properties can help, but not all browsers support them. We gave a coding agent the same prompt twice: once unaided, once with Modern Web Guidance installed 🧵

@developer.chrome.comOct 1, 2026, 3:50 PM

Speed up your web debugging workflow with the latest DevTools features → goo.gle/4hApcKj

🧠 Debug memory issues with new tools in DevTools for agents
🧭 Track soft navigations in the Performance panel
🔄 Replay network requests instantly with new context menu options

DevTools 151-153
@developer.chrome.comSep 30, 2026, 8:30 PM

Loved scroll-driven animations? Meet their scroll-triggered sibling.

Instead of tying animation progress directly to the scrollbar, you can trigger full time-based CSS animations when crossing a scroll offset.

See how to build them with pure CSS → goo.gle/4dhcvmh

@developer.chrome.comSep 30, 2026, 6:39 PM

Build JS-free interactive carousels with new CSS APIs → goo.gle/47reBwt

Learn how to use scroll buttons, scroll markers, :target-current, and scroll-target-group to create built-in, responsive scrollers without writing a single line of JavaScript.

CSS Podcast
@developer.chrome.comSep 29, 2026, 7:17 PM

Teach your coding agent to write scroll-driven animations with Modern Web Guidance → goo.gle/mwg

See how Modern Web Guidance helps your coding agent build resilient scroll animations that won't break on different screen sizes.

@rviscomi.devSep 28, 2026, 11:49 PMReposted by @developer.chrome.com

v0.0.191 of Modern Web Guidance is out and it's a big one!

*16* new guides covering:

web components by @castastrophe.bsky.social
Cross-Origin Storage by @tomayac.com
security by @rowan.fyi
UI and PWA by @jamessw.com and @sturobson.com
Wasm by @sbc100.bsky.social

github.com/GoogleChrome...

accessible-web-components: Make custom elements accessible by default, setting roles and ARIA state via the ElementInternals ARIA mixin, managing focus with delegatesFocus, and keeping ARIA relationships within a single shadow root.
custom-elements: Define, register, and manage the lifecycle of autonomous custom elements, covering constructor rules, lifecycle callbacks, upgrade timing, attribute/property reflection, and naming conventions.
form-associated-custom-elements: Make a custom control participate natively in forms with formAssociated and ElementInternals, submitting its own value, integrating with constraint validation, and reacting to reset, disable, and state-restore.
prerendering-custom-elements: Server-render a custom element, then hydrate it in place without re-rendering or a flash of unstyled content.
shadow-dom: Encapsulate a component's DOM and styles with Shadow DOM, construct the tree efficiently with HTML templates, and project consumer content with slots.
styling-web-components: Style across the shadow boundary with :host selectors, inherited and custom properties for theming, ::slotted and ::part, and cascade layers and container queries inside components.
web-components: Orientation and cross-cutting principles for authoring and using Web Components, covering Custom Elements, Shadow DOM, templates and slots, Declarative Shadow DOM, styling across the shadow boundary, Form-Associated Custom Elements, and accessibility requirements. Use this guide when building reusable UI components, design systems, or server-rendered custom elements.
avoid-redundant-large-asset-downloads: Avoid re-downloading and re-storing large shared assets, such as AI models, Wasm modules, or fully-bundled JavaScript libraries, that a visitor's browser may already hold from an unrelated site.
load-shared-resources-declaratively: Serve popular, unmodified scripts, stylesheets, and JavaScript modules from a shared cross-origin cache using markup or import syntax alone, witho…New Guides
migrate-web-app-origin: Transfer an installed web app to a new origin while preserving user configuration and OS-level shortcuts.
local-network-access: Access resources on a user's local network or loopback interface from a public web application.
trusted-types: Help prevent DOM-based XSS attacks by ensuring all untrusted content is sanitized before being inserted into the page.
responsive-table: Build a data table that presents tabular data with proper header semantics, and remains readable and navigable on small screens and with assistive technologies.
spatial-navigation: Implement accessible spatial navigation using arrow keys that works correctly in different layout modes (grid etc)
cpp-on-the-web: Compile C/C++ to WebAssembly using Emscripten

Updated the animated-select-picker guide to advise using standard value attributes on <option> elements to ensure standard form submission behavior.
Updated the branded-select-styling guide to emphasize retaining standard value attributes on <option> elements to preserve default form submission behaviors.
Updated the custom-select-picker-layouts guide with guidance on using :open::picker(select) selectors, customizing the ::checkmark pseudo-element, wrapping <selectedcontent> in a <button>, and managing keyboard navigation and accessibility constraints for grid layouts.
Updated the rich-media-picker guide to clarify that standard value attributes should be maintained on <option> elements to preserve form submission functionality.
Updated the out-of-order-html-streaming guide to document the full suite of static and streaming DOM insertion methods, detailing built-in sanitizer behaviors, WritableStream integration, and processing instruction marker practices.
Updated the sanitize-untrusted-html guide to detail node manipulation patterns using Document.parseHTML() to avoid mutation XSS, explain child preservation rules via replaceWithChildrenElements, and provide aligned DOMPurify fallback configurations.
Updated…Removed the prevent-text-wrapping guide.

HTML processing instructions: Added Chrome 150 and Edge 150 support in out-of-order-html-streaming.

A four-column table titled "Benchmark Evaluations" comparing unguided versus guided pass rates across 132 tasks and 1,124 assertions.

Row 1: codex_cli (gpt-5.6-sol) achieved a 59% unguided pass rate and an 81% guided pass rate, an uplift of +22 percentage points.

Row 2: claude_code (claude-sonnet-5) achieved a 54% unguided pass rate and an 87% guided pass rate, an uplift of +33 percentage points.

Row 3: antigravity (gemini-3.8-flash-medium) achieved a 65% unguided pass rate and a 91% guided pass rate, an uplift of +26 percentage points.
@agektmr.comSep 29, 2026, 6:36 AMReposted by @developer.chrome.com

Connection Allowlists announcement blog post has been published.
developer.chrome.com/blog/connect...

@developer.chrome.comSep 29, 2026, 5:59 PM

See how Modern Web Guidance helps your coding agent write a swipe-to-remove feature. Compare side-by-side with an unassisted agent.

Modern Web Guidance provides best practices, smooth web animation patterns, and cross-browser fallbacks directly to your coding agent → goo.gle/mwg

@developer.chrome.comSep 24, 2026, 6:07 PM

Build interactive components like sticky headers and overflow indicators with state-based container queries → goo.gle/4d53htk

In this episode, learn how to use scroll state queries for stuck, snapped, and scrollable UI elements to create dynamic web experiences without relying on extra JavaScript.

@developer.chrome.comSep 24, 2026, 5:30 PM

See what new web platform features arrived in August → goo.gle/4iIdCis
Highlights reaching Baseline:
- Precision text-box alignment controls
- Dynamic sibling-count() and sibling-index() functions
- Global autocorrect HTML attribute support

Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-10 20:13:24 EDT