diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-01-11 01:07:22 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-01-11 01:12:41 +0100 |
commit | 99f6d6f1b88d5f34c3092546626fa239e75d1c69 (patch) | |
tree | ffd6a4eb384317e020b5e6c0d467028acd92891a /components/script/dom/navigator.rs | |
parent | 119b316885f4ceb584bf920e8b2c17ce8bfe68bc (diff) | |
download | servo-99f6d6f1b88d5f34c3092546626fa239e75d1c69.tar.gz servo-99f6d6f1b88d5f34c3092546626fa239e75d1c69.zip |
style: Three-value position syntax uses calc() as its computed value representation.
This restores the previous behavior of using calc().
Note that background-position / object-position, which test this, weren't
hitting the assertion because they use another codepath.
I didn't add more extensive tests for this because it's well tested for those
two properties, and because this is legacy anyway, see the comment in the test.
I did add the assertion to the codepath those two properties hit.
Differential Revision: https://phabricator.services.mozilla.com/D16176
Diffstat (limited to 'components/script/dom/navigator.rs')
0 files changed, 0 insertions, 0 deletions