Skip to content

Support CSS Property Values - inherit & unset #628

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

Closed
NathanaelA opened this issue Aug 25, 2015 · 2 comments · Fixed by #10709
Closed

Support CSS Property Values - inherit & unset #628

NathanaelA opened this issue Aug 25, 2015 · 2 comments · Fixed by #10709

Comments

@NathanaelA
Copy link
Contributor

NathanaelA commented Aug 25, 2015

The NativeScript CSS property value does not currently appear to support;
inherit, initial, !important and unset.
All four of these are very useful in some situations; see:
http://www.quirksmode.org/css/cascading/values.html


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@vakrilov
Copy link
Contributor

You are right - there is still no support for these values.
There is support for inheritable properties - for example the font related properties are inherited. This means they will inherit their values from their parent. So you can do: Page { color: blue; } to make all text on the page blue. However, there is no way to force inheritance for properties that are not inheritable by default.

That said if you have more specific scenario that requires inherit, initial and unset values it would be useful to share it.

@NathanaelA

This comment was marked as abuse.

@N3ll N3ll added this to the 1.5 (Under Review) milestone Oct 12, 2015
@hshristov hshristov modified the milestones: 1.6 (Under Review), 1.5 (Under Review) Oct 16, 2015
@hshristov hshristov changed the title Add missing CSS Property Values Support CSS Property Values - inherit & unset Oct 16, 2015
@N3ll N3ll added the css label Dec 3, 2015
@hshristov hshristov modified the milestones: 1.7.0 (Under Review), 1.6.0 Jan 6, 2016
@valentinstoychev valentinstoychev modified the milestone: 1.7.0 (Under Review) Feb 24, 2016
@enchev enchev added the feature label Aug 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants