CSS advanced attr() function

Implement the augmentation to attr() specified in CSS Level 4, which allows types besides <string> and usage in all CSS properties (besides pseudo-element 'content'). Note: CSS Level 4 has made substantial revisions to attr() compared to Level 3 to ease the implementation. We'll following CSS4.

Motivation

This is a highly requested feature, with 77 stars at crbug.com/246571. We also want to keep it considered in the CR period by adding the first impelementation.

Documentation

Specification

Editor's draft

Status in Chromium

Blink>CSS


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Search tags

css, css-values, attr,

Last updated on 2020-10-27