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

Added !important suffix for styles #26

Merged
merged 2 commits into from
Sep 16, 2016
Merged

Added !important suffix for styles #26

merged 2 commits into from
Sep 16, 2016

Conversation

monolithed
Copy link
Contributor

@monolithed monolithed commented Sep 13, 2016

visibility -> opacity

visibility occupies space and you can click on element behind it. Can be overridden via side-effect in nested blocks.
opacity occupies space, you don't see it but you can not click on elements behind it.

!important

When an important rule is used on a style declaration, this declaration overrides any other declarations.

All these changes are working on my project.

@zinserjan, can you merge it?

@zinserjan
Copy link
Owner

Nice catch!

I added some missing tests and created a new PR (#27) with your fixes. A new PR created by me is also necessary cause PR's from forks cannot be tested with Saucelabs due to security restrictions of Travis CI.

I'll also create a new PR for the hidden elements fix.

@zinserjan zinserjan merged commit bcdd6a9 into zinserjan:master Sep 16, 2016
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

Successfully merging this pull request may close these issues.

2 participants