fune/servo/components
Emilio Cobos Álvarez 7875df041f Bug 1560702 - Improve hit boxes of titlebar buttons. r=stransky,desktop-theme-reviewers,dao
In order to do it, expose the button padding to CSS via env(), and make
the buttons just use the regular drawing.

This slightly changes the padding to the end of the titlebar to match
one half of the inter-button spacing, rather that however much padding
the headerbar has.

We could improve on this slightly by also exposing the headerbar padding
and applying that to the last button, but that's not terribly easy to do
due to us supporting re-ordering of the titlebar buttons, and reversing
their placement, so it'd involve some rather hacky CSS. Not impossible,
but not trivial, and this looks good enough IMO.

Differential Revision: https://phabricator.services.mozilla.com/D202616
2024-02-27 10:28:56 +00:00
..
derive_common
malloc_size_of Bug 1879743 - Rewrite custom property substitution to avoid re-tokenization. r=zrhoffman,firefox-style-system-reviewers 2024-02-11 15:23:22 +00:00
selectors Bug 1876962: Part 1 - Fix up logic for determining Rightmost in matches_selector. r=firefox-style-system-reviewers,emilio 2024-02-12 14:42:07 +00:00
servo_arc Bug 1871884 - Use the equivalent of std::ptr::addr_eq in servo_arc::Arc::ptr_eq. r=emilio 2023-12-26 22:56:56 +00:00
style Bug 1560702 - Improve hit boxes of titlebar buttons. r=stransky,desktop-theme-reviewers,dao 2024-02-27 10:28:56 +00:00
style_derive
style_traits
to_shmem Bug 1879743 - Rewrite custom property substitution to avoid re-tokenization. r=zrhoffman,firefox-style-system-reviewers 2024-02-11 15:23:22 +00:00
to_shmem_derive