gecko-dev/servo/components
Boris Chiou c8d7bee5ff Bug 1467277 - Avoid getting zero normalized vector of rotate3d for animations. r=hiro
If we have a rotate axis whose length is extremely large, we will get an
infinite value, and its normalized vector is a zero vector, instead of an
unit vector, i.e. (x/inf, y/inf, z/inf) == (0, 0, 0).
The solution is: we scale the vector, so the length becomes a finite value,
and we could get a valid unit vector. Therefore, we use
a different normalization method, robust_normalize().

MozReview-Commit-ID: L8SteFe09aO

--HG--
extra : rebase_source : 4568c8bf906a9246e4ef13672a9ed541852b974a
2018-07-05 15:41:23 -07:00
..
fallible servo: Merge #19494 - Update smallvec to 0.6 (from Eijebong:smallvec); r=emilio 2017-12-05 13:44:19 -06:00
hashglobe servo: Merge #20371 - Bump ipc-channel and bincode (from Eijebong:ipc-channel); r=nox 2018-03-21 09:00:16 -04:00
malloc_size_of Bug 1467277 - Bump euclid to 0.18 for style, style_traits, malloc_size_of, and tests. r=emilio 2018-07-09 12:10:50 -07:00
malloc_size_of_derive Bug 1469228: Cherry-pick malloc_size_of_derive and style_derive changes from servo/servo#20690. r=me 2018-06-18 10:43:05 +02:00
selectors Bug 1454165 - Make :host() and ::slotted() account for the inner selector's specificity. r=xidorn 2018-06-28 10:58:06 +00:00
servo_arc No bug - Fix tidy issues and Servo build, and fix unit test bustage. r=me 2018-04-29 05:20:27 +02:00
size_of_test
style Bug 1467277 - Avoid getting zero normalized vector of rotate3d for animations. r=hiro 2018-07-05 15:41:23 -07:00
style_derive Bug 1470145: Better debugging for media-query related code and ua-cache. r=xidorn 2018-06-22 02:33:44 +02:00
style_traits Bug 1467277 - Bump euclid to 0.18 for style, style_traits, malloc_size_of, and tests. r=emilio 2018-07-09 12:10:50 -07:00