mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
ffa1da7545
For example, if we set a transform to rotate3d(0, 0, 1e50, 45deg), the expected normalized rotate axis is (0, 0, 1). However, the length is larger than the maximum of float, so the actual value is (0/inf, 0/inf, 1e50/inf) == (0, 0, 0). Therefore, we scale the vector before doing normalization to avoid getting a zero vector. MozReview-Commit-ID: 5LUDWD4RuNj --HG-- extra : rebase_source : eb82f0b3979bf6ea3cd11b643ebb30a49edc24f8 |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |