diff options
author | Brian Birtles <birtles@gmail.com> | 2017-05-23 15:14:18 +0900 |
---|---|---|
committer | Brian Birtles <birtles@gmail.com> | 2017-05-24 11:08:51 +0900 |
commit | 4d187524c67be18cf9dcb243e819276e2b8561d0 (patch) | |
tree | 9782ecf41c63dee96cc032fb4178783b7cc29fc1 /components/script/dom/bindings/codegen/parser/tests/test_any_null.py | |
parent | d45ee9d66276ee3431dc89be812c30ab78333df1 (diff) | |
download | servo-4d187524c67be18cf9dcb243e819276e2b8561d0.tar.gz servo-4d187524c67be18cf9dcb243e819276e2b8561d0.zip |
Support addition of font-stretch
Although there are no specific tests for this yet if any code does try
to perform addition or accumulation with a font-stretch value it will
likely fail the bounds check in the Into trait. To avoid that this
patch provides an basic implementation of add_weighted for font-stretch
that should work correctly with portions whose sum is outside the [0.0,
1.0] range.
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/tests/test_any_null.py')
0 files changed, 0 insertions, 0 deletions