New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
relnote(116): CSSPropertyRule enabled in Fx nightly by default #20346
relnote(116): CSSPropertyRule enabled in Fx nightly by default #20346
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; nice work @bsmth
Thank you |
I spent an hour this morning and found that this does not work(broken?) in the nightly https://bugzilla.mozilla.org/show_bug.cgi?id=1846488 Right now, information about the presence of this feature in v119 is incorrect and may confuse users. Does it make sense to revert it? |
I'm sorry you wasted time on this! I've amended the entries in the linked PR with a note linking to https://bugzilla.mozilla.org/show_bug.cgi?id=1846516 ("Support interpolating registered custom properties") which you can track for the fixes and improvements. |
The pref
layout.css.properties-and-values.enabled
is set to true (enabled) on Nightly in 116. This allows for using the following APIs:CSSPropertyRule
CSSPropertyRule.inherits
CSSPropertyRule.initialvalue
CSSPropertyRule.name
CSSPropertyRule.syntax
registerProperty()
And the following CSS syntax:
pen/demo:
https://codepen.io/bsmth/pen/xxQpVow?editors=0111
Related issues and pull requests:
layout.css-properties-values-api
enabled on nightly content#27756Bugzilla: