-
Notifications
You must be signed in to change notification settings - Fork 20.5k
.css(), the values like "+=10%" aren't ignored anymore (like .animate()) #1494
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
Conversation
|
This is specific to "%", but we want the functionality to work in all units, essentially moving some logic from |
|
Yes! I'll try very soon. |
|
@mr21 I'd love to land this soon. Do you think you'll have a chance to finish it? |
|
Hi, |
|
@dmethvin |
|
I don't think that will work, especially once it is back-ported into the 1.x-master branch as it must be. Try your patch there and run unit tests to see what I mean. This is a lot of code and will get bigger once it has enough protection around the CSS values like "auto". Plus, solutions that inject content into the body tend to create problems of their own. I'll put this in the 1.12/2.2 milestone since it would definitely not be something for a patch release. |
|
Hi, About the (For now, the code don't change anything for all the scripts already written, because they use only |
|
Try this patch in the 1.x-master branch with IE8, for example. |
|
@dmethvin hi, Sorry for the delay... I made another commit who secure the But this problem existed since the begining. |
|
Should I create another PR on the 1.x branch for my last commit about IE8? |
|
@mr21 This is slotted for the 1.12/2.2 release so it will be a few weeks before we land it. In the meantime if you'd like to create a 1.x patch that would be fine, although it may need to be rebased by that time. |
|
Hi @dmethvin, |
|
I think it would need to be in both branches since it affects browsers supported in both. My main concern at this point is the size of the patch. |
|
I reduce the code for the In resume:
I patch the two first bugs, the last one it's not possible I think... How can we know if |
|
This is still enormous. @mr21, here is the Do you think you could handle such an effort? |
Hi :)
Actually when we make:
it's work fine, the value is converted into percentage BUT if we write:
We don't have the same behavior...
The .css() function doesn't look the unity, it's "px" every time.