aboutsummaryrefslogtreecommitdiffstats
path: root/python/mach_bootstrap.py
diff options
context:
space:
mode:
authorBrian Birtles <birtles@gmail.com>2017-06-05 11:24:38 +0900
committerBrian Birtles <birtles@gmail.com>2017-06-05 12:49:32 +0900
commite48f94cbdac07994ce743ad22aa4b647dac1f174 (patch)
treedfe80508dda2a4479ed5f39db0d83190897571d5 /python/mach_bootstrap.py
parent00cdced2cab794d2160fcae372dd3c6902c9098e (diff)
downloadservo-e48f94cbdac07994ce743ad22aa4b647dac1f174.tar.gz
servo-e48f94cbdac07994ce743ad22aa4b647dac1f174.zip
Don't introduce calc() when interpolating between length and percentages if either side is zero
Without this patch anim-css-strokewidth-1-by-pct-pct.svg (and possibly others) fails because we calculate the result as 'calc(0px + 10%)' and we don't support calc on stroke-width (yet) so the rendered result is incorrect. As a more thorough fix, we should make the zero-value for LengthOrPercentageOrNumber a zero *number* (instead of a zero length) but that won't work yet since we don't support animating between stroke-widths with units and those that don't (see https://bugzilla.mozilla.org/show_bug.cgi?id=1369614). Regardless of that, we still shouldn't introduce calc in order to add a zero value using the LengthOrPercentage type, so this change is still needed.
Diffstat (limited to 'python/mach_bootstrap.py')
0 files changed, 0 insertions, 0 deletions