Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd transitions for CSS `calc()`. #7653
Conversation
|
r? @dzbarsky |
|
I'm surprised by the conversion of 100px to calc(100px + 0%). What do other browsers do here? As I remember the calc spec, they mentioned keeping values as calc even with a component of 0 would avoid issues with the function not interpolating smoothly, which would seem to imply that this should use the from state for 0-50%, and then switch to the to state. |
|
The main reason for that conversation is to support stuff like transitioning from 100px to 50%. The spec days that should work the same as transitioning from calc(100px + 0%) to calc(0px + 50%). |
|
Wrong button... |
|
|
|
Ok, I checked and it looks like browsers actually do this conversion thing. r=me |
|
I don't think bors listens to me so you'll have to get someone to trigger the merge. |
|
@bors-servo: r=dzbarsky |
|
|
Add transitions for CSS `calc()`. Closes #7284 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7653) <!-- Reviewable:end -->
|
|
notriddle commentedSep 17, 2015
Closes #7284