Baseline is now in DevTools

By Chrome for Developers

Share:

Key Concepts:

  • Baseline: A new feature or concept integrated into browser Developer Tools, specifically enhancing information display for CSS properties.
  • DevTools (Developer Tools): Built-in web development tools available in web browsers, used for inspecting, debugging, and modifying web pages.
  • CSS Property: An attribute used in Cascading Style Sheets to define the style of an HTML element (e.g., color, font-size, display).
  • Styles Panel: A specific section within DevTools that allows developers to view and edit the CSS styles applied to selected elements.
  • Tooltip: A small, transient pop-up window that appears when a user hovers a mouse pointer over an item, providing brief information about that item.
  • Browser Support Information: Data indicating which web browsers (and their specific versions) are compatible with a particular web technology or CSS feature.

New "Baseline" Feature Integration in DevTools

The primary announcement is the integration of "Baseline" functionality directly into the browser's Developer Tools. This new feature is designed to enhance the developer experience, particularly when working with CSS properties.

Enhanced CSS Property Tooltips with Browser Support

A significant update has been implemented for the tooltips that appear when a user interacts with CSS properties within the DevTools' "styles panel." Previously, these tooltips offered only a brief description of the property's function. Now, their functionality has been expanded to include crucial browser support information.

Detailed Browser Support Information Categories

The updated tooltips now provide immediate insights into the availability and compatibility of a given CSS property across different web browsers. This information is categorized into three distinct states:

  • Limited Availability: Indicates that the CSS property has restricted support, meaning it may only work in certain browsers or specific versions, or might require vendor prefixes.
  • Newly Available: Suggests that the property is a recent addition to browser support, implying it might not yet be universally adopted across all major browsers or older versions.
  • Widely Available: Signifies that the property enjoys broad and stable support across most major web browsers and their common versions, making it generally safe for widespread use.

This enhancement provides "Browser support info at your fingertips," allowing developers to quickly assess the compatibility of CSS properties without needing to consult external documentation or compatibility tables.

Step-by-Step Access to the Feature

To utilize this new functionality, developers can follow a simple process:

  1. Open the browser's Developer Tools.
  2. Navigate to the "styles panel," which displays the CSS rules applied to the selected element.
  3. Hover the mouse cursor over any CSS property listed within this panel.
  4. The enhanced tooltip will then appear, displaying not only the property's short description but also its browser support status (limited, newly, or widely available).

Further Learning Opportunities

For developers interested in exploring other recent updates and features within DevTools, the transcript recommends checking the latest "what's new in DevTools" episode. This suggests that the "Baseline" feature is part of ongoing improvements to the developer toolkit.

Conclusion

The integration of "Baseline" into DevTools represents a significant improvement in developer workflow by embedding critical browser compatibility information directly into the CSS styles panel. This feature, delivered through an enriched tooltip, provides immediate and actionable feedback on the availability status of CSS properties. This streamlines the development process, helps developers make informed decisions about property usage, and ultimately contributes to building more robust and cross-browser compatible web applications.

Chat with this Video

AI-Powered

Load the transcript when you're ready to chat so the initial page stays lighter.

Ready to summarize another video?

Summarize YouTube Video