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

support for overflow-x and overflow-y? #36

Open
hrj opened this issue Aug 19, 2015 · 2 comments
Open

support for overflow-x and overflow-y? #36

hrj opened this issue Aug 19, 2015 · 2 comments

Comments

@hrj
Copy link
Contributor

hrj commented Aug 19, 2015

These are not yet standardised, but unofficially supported by all browsers since a long time.

For a blast from the past, this article is a good read.

@radkovo
Copy link
Owner

radkovo commented Aug 21, 2015

Hi, I have added a basic support for overflow-x and overflow-y parsing. However, they still remain independent on overflow in DOMAnalyser so the client app must consider the value of overflow when determining the computed values of overflow-x and overflow-y. It would be probably logical and consistent to transform overflow to overflow-x and -y but it would break the backward compatibility because no value would be actually available for overflow itself. We should probably wait with this until CSS Overflow Module Level 3 reaches some more stable version.

@hrj
Copy link
Contributor Author

hrj commented Aug 22, 2015

Thanks @radkovo for the quick response. It works!

The fall back to overflow is already implemented in gngr so that is not a significant problem for us (except for edge-cases such as both the short form and long form being specified in the same rule).

I guess, this issue can be left open for the fall back support in jStyleParser.

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

2 participants