relnote(116): CSSPropertyRule enabled in Fx nightly by default#20346
Merged
sideshowbarker merged 4 commits intomdn:mainfrom Jul 18, 2023
Merged
relnote(116): CSSPropertyRule enabled in Fx nightly by default#20346sideshowbarker merged 4 commits intomdn:mainfrom
sideshowbarker merged 4 commits intomdn:mainfrom
Conversation
2 tasks
chrisdavidmills
approved these changes
Jul 18, 2023
Contributor
chrisdavidmills
left a comment
There was a problem hiding this comment.
LGTM; nice work @bsmth
sideshowbarker
approved these changes
Jul 18, 2023
12 tasks
Member
Author
|
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? |
Member
Author
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The pref
layout.css.properties-and-values.enabledis set to true (enabled) on Nightly in 116. This allows for using the following APIs:CSSPropertyRuleCSSPropertyRule.inheritsCSSPropertyRule.initialvalueCSSPropertyRule.nameCSSPropertyRule.syntaxregisterProperty()And the following CSS syntax:
pen/demo:
https://codepen.io/bsmth/pen/xxQpVow?editors=0111
Related issues and pull requests:
layout.css-properties-values-apienabled on nightly content#27756Bugzilla: