Skip to content
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

border-radius inherit not being compiled #271

Open
YarnSphere opened this issue Jul 30, 2014 · 4 comments
Open

border-radius inherit not being compiled #271

YarnSphere opened this issue Jul 30, 2014 · 4 comments

Comments

@YarnSphere
Copy link

@import 'nib'
div
  border-radius 5px
  span
    border-radius inherit

compiles into:

div {
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

instead of:

div {
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
div span {
  -webkit-border-radius: inherit;
  border-radius: inherit;
}
@notslang
Copy link
Collaborator

Nice catch! Wanna take a stab at a PR for fixing it?

@2is10
Copy link

2is10 commented Jan 8, 2015

I encountered this issue in my own stylesheets and was very surprised. Anything that a stylesheet processor doesn’t understand, it should leave alone.

@2is10
Copy link

2is10 commented Feb 3, 2015

Here’s the workaround I’m using, in case it helps others:

border-radius: '%s' % inherit

@SerikDM
Copy link

SerikDM commented Aug 22, 2018

Got same issue. Spent an hours investigating it.
What's a reason for removing this property?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants