diff options
author | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-05-28 18:06:59 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-05-31 00:01:22 +0200 |
commit | 37d1c749aa1b78c6c8157af6bd2ef7944835cdc8 (patch) | |
tree | e76165b19a1184d8b7aeb0b8fedf7d695245ad44 /components/script/dom/htmlsourceelement.rs | |
parent | 5668a55ef43f7eab701c802736e451d8bdacab83 (diff) | |
download | servo-37d1c749aa1b78c6c8157af6bd2ef7944835cdc8.tar.gz servo-37d1c749aa1b78c6c8157af6bd2ef7944835cdc8.zip |
layout: Correctly calculate the angle for gradients with corners
The previous code assumed that the diagonals of the elements were
perpendicular, which only happens with squares.
tests: layout: Test linear gradient corners
Diffstat (limited to 'components/script/dom/htmlsourceelement.rs')
0 files changed, 0 insertions, 0 deletions