mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Convert RGBA to AbsoluteColor for computed/animated/resolved CSS colors
Computed color values will not be in the correct format, closer to the one specified by the author. This also means that colors accross the code are stored now as AbsoluteColor or StyleAbsoluteColor. This allows color space/gamut information to be available for use. Some animation related test failures had to be changed, because colors now has greater precision. Animated a color now causes a lot more animation updates, which was not initially expected. See the bug for discussion. Differential Revision: https://phabricator.services.mozilla.com/D171021
This commit is contained in:
parent
3763d9a6cc
commit
8c1c4073e2
19 changed files with 233 additions and 258 deletions
|
@ -224,7 +224,6 @@ impl_trivial_to_shmem!(
|
|||
usize
|
||||
);
|
||||
|
||||
impl_trivial_to_shmem!(cssparser::RGBA);
|
||||
impl_trivial_to_shmem!(cssparser::SourceLocation);
|
||||
impl_trivial_to_shmem!(cssparser::TokenSerializationType);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue