CSS highlight inheritance is changing


CSS highlight inheritance is changing for the ::selection and ::target-text pseudo-classes. This creates a more intuitive model for style inheritance and aligns with the recently added ::highlight, ::spelling-error and ::grammar-error pseudo-classes. For more updates, check out New in Chrome 131.

Watch more New in Chrome → https://goo.gle/NewInChrome
Subscribe to Chrome for Developers → https://goo.gle/ChromeDevs

Speaker: Mariko Kosaka
Products Mentioned: Chrome