Closed Bug 2070531 Opened 1 month ago Closed 1 month ago

attr() and style queries don't work together

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox-esr153 --- unaffected
firefox155 --- wontfix
firefox156 --- wontfix
firefox157 --- fixed

People

(Reporter: jakea, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

I'm going to bet that's due to this.

Severity: -- → S3
Keywords: regression
Priority: -- → P3
Regressed by: 2047198

Yeah mozregression --launch 2026-06-16 behaves as expected.

That is, in the places where we are deciding to potentially replace a
value with another (the property deduplication, and the fast path to
avoid the cascade).

Otherwise we'd fail /css/css-values/attr-universal-selector.html

Assignee: nobody → emilio
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 2047198

:sukil, since you are the author of the regressor, bug 2047198, could you take a look?

For more information, please visit BugBot documentation.

Too slow bugbot :)

Flags: needinfo?(swarupukil1)
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e6fab792b2be https://hg.mozilla.org/integration/autoland/rev/8838df6b561d Only check attr taintedness for equality in the places we need to do so. r=firefox-style-system-reviewers,dshin
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch

This was spotted externally https://bsky.app/profile/alexlehner86.bsky.social/post/3mv3efru7rk26 so it might be worth an uplift.

But then, with "new attr" being so new, it could probably just ride the new faster trains.

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/62590 for changes under testing/web-platform/tests

Upstream PR merged by moz-wptsync-bot

QA Whiteboard: [qa-triage-done-c158/b157]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: