gecko-dev/servo
Tiaan Louw fbd6dd0fce Bug 1920496 - Make ColorFunction be stored in ComputedStyle r=emilio
We now fully support the full ColorFunction in the ComputedStyle struct
in layout.  This solves an issue where colors are copied on the C++
side.

Some structs had to be renamed to avoid name collisions in the generates
C++ code.

Some specified structs has the #[repr(C)] attribute now to include them
in the ComputedStyle struct.  This is not really correct as they are
specified values and only computed values should be there. Splitting all
the unit structs into specified and computed is a lot of changes so
there is a follow up bug here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1924483

Differential Revision: https://phabricator.services.mozilla.com/D225080
2024-10-16 13:45:19 +00:00
..
components Bug 1920496 - Make ColorFunction be stored in ComputedStyle r=emilio 2024-10-16 13:45:19 +00:00
ports/geckolib Bug 1920496 - Make ColorFunction be stored in ComputedStyle r=emilio 2024-10-16 13:45:19 +00:00
tests/unit Bug 1884879 - [css-syntax] Implement recent syntax spec change to avoid parsing custom properties that look like selectors. r=firefox-style-system-reviewers,zrhoffman,supply-chain-reviewers,glandium 2024-04-30 23:49:44 +00:00
moz.build
rustfmt.toml