Re: [csswg-drafts] [css-values] Computed value of a negative calc unit that doesn't allow negative lengths.

I've written these tests that check whether an animated negative calc value is clamped at computed value time (and thus a range of negative values aren't present in the animation) or used value time (where a range of negative values will be present in clamped form for a duration in the animation)

https://github.com/astearns/web-platform-tests/commit/da5892fdfb227227c924405467f823b34c33b9a0

The results I'm seeing are all over the place. Pass means clamping is happening at used value time (mostly). Fail means it's clamping at computed value time.

width and padding-left have the same results

width-up
FF, Chrome: pass
Safari: fail
Edge: no animation

width-down
FF: pass
Safari, Chrome: fail
Edge: no animation

opacity and font-size have the same results

opacity-up
Chrome, Edge: pass
(though the Chrome animation appears to be incorrect)
Safari, FF: fail

opacity-down
Chrome, Safari, FF, Edge: fail

font-size up
Chrome: pass
FF, Safari: fail
Edge: loading problem page (though the animation seems to fail)

font-size down
Chrome, FF, Safari: fail
Edge: no animation

-- 
GitHub Notification of comment by astearns
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/434#issuecomment-341267463 using your GitHub account

Received on Wednesday, 1 November 2017 22:55:30 UTC