Closed Bug 1694246 Opened 5 years ago Closed 5 years ago

CSS3 attr() function for all properties

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 435426

People

(Reporter: amir123456789893, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0

Steps to reproduce:

Hi, I have faced a problem it can be solved with JS but the CSS attr() function will be a lifesaver now the web needs this kind of feature.

As I know, now in 2021 attr() function is just available for CSS content property, it can be practical if we can have attr() function for all properties just a simple example like this.

And another more complicated

Actual results:

Depend on

What should happen:

Expected results:

Depend on

What really happens (now):

OS: Unspecified → All
Hardware: Unspecified → All

The Bugbug bot thinks this bug should belong to the 'Core::JavaScript Engine' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Component: JavaScript Engine → DOM: CSS Object Model

This is handled by bug 435426, right?

Component: DOM: CSS Object Model → CSS Parsing and Computation

(In reply to Mats Palmgren (: mats) from comment #4)

This is handled by bug 435426, right?

Nobody does talk about it last reply is for 7 months ago and this is not good after years, is it in progress? how can I see the process?

This is in fact just bug 435426. As far as I can tell, experimentation is not particularly blocked by anything (I'd happily mentor that bug), though actually shipping the feature is probably blocked on reaching consensus on issues like https://github.com/w3c/csswg-drafts/issues/5092 and https://github.com/w3c/csswg-drafts/issues/5136.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.