2027 Web Platform Feature Ranking

Sören Hentzschel

Ranked proposals (top = most important)

  1. CSS margin-⁠trim

    Removes the margins of child elements when they meet the edges of the container.

  2. CSS line-⁠clamp property

    Limits the text in a block container to a certain number of lines. Also allows custom end text if content overflow occurs.

  3. CSS gap decorations

    column-⁠rule and row-⁠rule display decorative lines between columns and rows of a flex, grid, or multi-column layout.

  4. Single-axis scroll containers

    Such as overflow: scroll clip, which allows position: sticky to work relative to different scroll containers per axis.

  5. CSS flex-⁠wrap: balance

    Distributes items in a multi-line flex container so each line has about the same number of items.

  6. CSS scroll-triggered animations

    timeline-⁠trigger and animation-⁠trigger play, pause, or reverse animations when the user scrolls to a particular point.

  7. CSS box-⁠decoration-⁠break without a vendor prefix

    Sets whether borders and backgrounds wrap each fragment of a box split across lines, columns, or pages.

  8. Progressive rendering of JPEG XL and AVIF images

    Displays a preview version of the image while the rest downloads.

  9. CSS AccentColor system color reflects accent-⁠color

    Provides a consistent way to style custom form controls to match native ones.

  10. LayoutShift entries in the Performance API

    Measures the layout stability of web pages based on movements of the elements on the page. Used to calculate cumulative layout shift (CLS).

  11. JavaScript modules in more contexts

    Such as <script type="module"> in XHTML and SVG documents, and module background scripts in web extensions.

  12. CSS :has-⁠slotted pseudo-class

    Matches <slot> elements that have slotted content, rather than showing fallback content.