diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-05-30 17:28:34 -0500 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-05-30 17:28:34 -0500 |
commit | 134fd1876718e9e547873c5d1acf140ae5d6aaac (patch) | |
tree | e76165b19a1184d8b7aeb0b8fedf7d695245ad44 /components/script/dom/performance.rs | |
parent | 5668a55ef43f7eab701c802736e451d8bdacab83 (diff) | |
parent | 37d1c749aa1b78c6c8157af6bd2ef7944835cdc8 (diff) | |
download | servo-134fd1876718e9e547873c5d1acf140ae5d6aaac.tar.gz servo-134fd1876718e9e547873c5d1acf140ae5d6aaac.zip |
Auto merge of #11490 - emilio:linear-gradient, r=SimonSapin
layout: Fix display list construction of linear gradients
Fixes #11486
The previous code assumed that the diagonals of the elements were
perpendicular, which only happens with squares.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #11486 (github issue number if applicable).
<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11490)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/performance.rs')
0 files changed, 0 insertions, 0 deletions