-
Notifications
You must be signed in to change notification settings - Fork 41
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
The value definition of -webkit-background-clip
is missing none
#194
Comments
Checking the CSS spec for it, which is introducing text. @cdoublev What do you suggest? |
We might possibly remove the |
I open #195 for comment #12 |
Honestly I was only concerned about automatic parsing of value definitions: I should be able to successfully parse In Chrome: element.style.webkitBackgroundClip = 'initial'
console.log(getComputedStyle(target).webkitBackgroundClip) // 'border-box' I think it should have been If |
Ah! That makes sense. So yes either way we will be deleting the text (#195) or I'll make a PR to edit the value. |
Yes, Chrome and Firefox (not checked in other browsers) already parse style.webkitBackgroundClip = 'text, padding-box'
console.log(style.webkitBackgroundClip) // 'text, padding-box'
console.log(style.backgroundClip) // 'text, padding-box'
style.webkitBackgroundClip = 'none'
console.log(style.webkitBackgroundClip) // 'text, padding-box' |
Safari does, Chrome doesn't yet for |
@karlcow should we close here? |
yes :) |
The
initial
value of-webkit-background-clip
isnone
but it is missing from itsvalue
definition.The text was updated successfully, but these errors were encountered: