-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Firefox only partially supports background-clip: text
#23966
Conversation
Mark background-clip:text as experimental (since it's only in the CSS Backgrounds 4 editor's draft) and mark Firefox's implementation as experimental because of many open issues related to it. Add background-clip:border from the same spec for consistency
remove stray comma
Fix formatting errors found by auto tests, some minor edits
Fix link formatting
Had to mark `background-clip:text` as non-standard because the autotests rule doesn't allow to mark its experimental support as experimental only because it's supported in many WebKit clones, despite Firefox's partial support is far from complete
The auto tests script states that "Experimental should be set to false as the feature is supported in multiple browser engines" and marks experimental status for The I would suggest keeping its experimental status until the CSS Backgrounds Level 4 spec matures and/or Firefox's implementation issues are fixed, if it's possible. |
remove experimental status of background-clip:text as the linter suggests
css/properties/background-clip.json
Outdated
@@ -101,6 +104,42 @@ | |||
"deprecated": false | |||
} | |||
}, | |||
"border": { | |||
"__compat": { | |||
"spec_url": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-clip-border", |
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.
css/properties/background-clip.json
Outdated
@@ -101,6 +104,42 @@ | |||
"deprecated": false | |||
} | |||
}, | |||
"border": { |
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.
Note that it has been renamed to border-area
in the specification.
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.
FYI, WebKit recently implemented border-area value.
This pull request has merge conflicts that must be resolved before it can be merged. |
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.
Note that background-clip: border-radius
was meanwhile added via #24333.
The IE note fixes make sense.
As for the Firefox comment, let's add specific bug links to the mentioned issues.
background-clip: text
Summary
Mark background-clip:text as experimental (since it's only in the CSS Backgrounds 4 editor's draft) and mark Firefox's implementation as experimental because of many open issues related to it.
Add background-clip:border from the same spec for consistency.
Test results and supporting details
None
Related issues
Fixes #23943