servo/components
Emilio Cobos Álvarez 3eed093e33 style: Tweak contain bitflag definition order to avoid static constructors
This has no behavior change otherwise. The STRICT definition depended on
SIZE, which was defined later. That's fine in Rust, but in C++ it causes
the initialization to be dynamic because it doesn't have the definition
of SIZE yet (ugh).

This is the fix for the regression, though the following patch turns on
constexpr support in cbindgen, which would've caught this at build-time,
and guarantees that we don't have extra static constructors.

Differential Revision: https://phabricator.services.mozilla.com/D144316
2023-08-16 17:46:41 +02:00
..
allocator Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
atoms Further changes required by Servo 2023-08-16 17:46:41 +02:00
background_hang_monitor Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
bluetooth Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
bluetooth_traits Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
canvas [chore] Update 'half' in components/canvas (#30098) 2023-08-15 05:58:31 +00:00
canvas_traits Try to use WebRender types more 2023-07-10 17:35:50 +02:00
compositing winit: initial minibrowser (#29976) 2023-08-15 08:08:50 +00:00
config Switch to rustls and webpki-roots (#30025) 2023-08-08 14:00:10 +00:00
config_plugins Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
constellation Remove EventLoopWaker from Constellation (#30101) 2023-08-15 18:02:02 +00:00
deny_public_fields Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
derive_common style: Allow to derive Parse/ToCss/SpecifiedValueInfo on bitflags 2023-08-16 17:46:41 +02:00
devtools Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
devtools_traits Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
dom_struct Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
domobject_derive Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
embedder_traits winit: initial minibrowser (#29976) 2023-08-15 08:08:50 +00:00
geometry Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
gfx Try to use WebRender types more 2023-07-10 17:35:50 +02:00
gfx_traits Try to use WebRender types more 2023-07-10 17:35:50 +02:00
jstraceable_derive Use mozjs tracing infrastructure (#29918) 2023-08-10 21:46:06 +00:00
layout Revert "Backport several style changes from Gecko (5) (#30099)" (#30104) 2023-08-16 06:24:42 +00:00
layout_2020 Revert "Backport several style changes from Gecko (5) (#30099)" (#30104) 2023-08-16 06:24:42 +00:00
layout_thread Revert "Backport several style changes from Gecko (5) (#30099)" (#30104) 2023-08-16 06:24:42 +00:00
layout_thread_2020 Try to use WebRender types more 2023-07-10 17:35:50 +02:00
layout_traits Vendor the current version of WebRender 2023-07-03 17:55:17 +02:00
malloc_size_of Try to use WebRender types more 2023-07-10 17:35:50 +02:00
media Try to use WebRender types more 2023-07-10 17:35:50 +02:00
metrics Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
msg Revert "Backport several style changes from Gecko (5) (#30099)" (#30104) 2023-08-16 06:24:42 +00:00
net Switch to rustls and webpki-roots (#30025) 2023-08-08 14:00:10 +00:00
net_traits Switch to rustls and webpki-roots (#30025) 2023-08-08 14:00:10 +00:00
pixels Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
profile Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
profile_traits Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
rand Update uuid 2023-06-26 16:27:12 +02:00
range Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
remutex Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
script Further changes required by Servo 2023-08-16 17:46:41 +02:00
script_layout_interface Try to use WebRender types more 2023-07-10 17:35:50 +02:00
script_plugins Use mozjs tracing infrastructure (#29918) 2023-08-10 21:46:06 +00:00
script_traits Remove EventLoopWaker from Constellation (#30101) 2023-08-15 18:02:02 +00:00
selectors Revert "Backport several style changes from Gecko (5) (#30099)" (#30104) 2023-08-16 06:24:42 +00:00
servo Remove EventLoopWaker from Constellation (#30101) 2023-08-15 18:02:02 +00:00
servo_arc style: Refactor the author sheet cache to keep alive the relevant StylesheetContents 2023-05-24 18:32:30 +02:00
size_of_test Revert "Backport several style changes from Gecko (5) (#30099)" (#30104) 2023-08-16 06:24:42 +00:00
std_test_override Upgrade remaining components to edition 2018 2023-02-18 09:42:37 +01:00
style style: Tweak contain bitflag definition order to avoid static constructors 2023-08-16 17:46:41 +02:00
style_derive style: Remove assert that doesn't hold for text-decorations because of presentation hints 2023-08-16 17:46:41 +02:00
style_traits style: Implement parsing / serialization for container{,-type,-name} CSS properties 2023-08-16 17:46:41 +02:00
to_shmem style: Remove ThinBoxedSlice 2023-06-09 10:22:25 +02:00
to_shmem_derive Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
url Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
webdriver_server bump base64 from 0.10 to 0.21 (#29804) 2023-08-02 21:25:37 +00:00
webgpu Try to use WebRender types more 2023-07-10 17:35:50 +02:00
webrender_surfman Remove dependency on surfman-chains (#30090) 2023-08-11 14:24:10 +00:00
webrender_traits Try to use WebRender types more 2023-07-10 17:35:50 +02:00