Skip to content

Conversation

@JakeQZ
Copy link
Collaborator

@JakeQZ JakeQZ commented Dec 18, 2025

Part of #389

@JakeQZ JakeQZ marked this pull request as draft December 18, 2025 00:11
@JakeQZ JakeQZ force-pushed the feature/css-expressions branch from 14118a2 to abb4c47 Compare December 18, 2025 01:09
@JakeQZ JakeQZ mentioned this pull request Dec 18, 2025
@coveralls
Copy link

coveralls commented Dec 18, 2025

Coverage Status

coverage: 69.267% (+0.08%) from 69.191%
when pulling bf16950 on feature/css-expressions
into 3500d42 on main.

@JakeQZ JakeQZ force-pushed the feature/css-expressions branch from 86dc7a7 to bf16950 Compare December 18, 2025 02:10
@JakeQZ
Copy link
Collaborator Author

JakeQZ commented Dec 18, 2025

I can't find any specification reference that indicates this should be allowed or possible, though I'm sure I've seen it before.

Unless anyone can find it, I suggest this PR be closed as invalid.

@oliverklee
Copy link
Collaborator

I can't find any specification reference that indicates this should be allowed or possible, though I'm sure I've seen it before.

Unless anyone can find it, I suggest this PR be closed as invalid.

I also can only find the calc() syntax.

I agree that we should close this as invalid.

Closing it now.

@oliverklee oliverklee closed this Dec 18, 2025
@oliverklee oliverklee added the wontimplement Suggestions for enhancements that maintainers have agreed by consensus are not worthwhile for now label Dec 18, 2025
@JakeQZ
Copy link
Collaborator Author

JakeQZ commented Dec 18, 2025

I also can only find the calc() syntax.

I just put the test CSS into Firefox. If it's fixed so that the values are well formed (with a length and a unit), the expressions do work inside the max function, but not as standalones.

So there is something to support - expressions within CSS function values. I don't know if all functions support expressions - or just specific length calculation functions like max...

@JakeQZ
Copy link
Collaborator Author

JakeQZ commented Dec 19, 2025

So there is something to support - expressions within CSS function values. I don't know if all functions support expressions - or just specific length calculation functions like max...

#1438 captures this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wontimplement Suggestions for enhancements that maintainers have agreed by consensus are not worthwhile for now

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants