servo/components
Joshua Holmes c909c64378
Fix typing issues in flex layout (#30784)
* Use `Option` instead of `Result` when passing optional values into vector

Also renames vector and adds comment for clarity, just in case that's helpful

Signed-off-by: Joshua Holmes <joshua.phillip.holmes@gmail.com>

* Replace use of Option with new enum, , when seperating flex content

Signed-off-by: Joshua Holmes <joshua.phillip.holmes@gmail.com>

* Move global  function body into the  method

Signed-off-by: Joshua Holmes <joshua.phillip.holmes@gmail.com>

---------

Signed-off-by: Joshua Holmes <joshua.phillip.holmes@gmail.com>
2023-12-04 10:02:07 +00:00
..
allocator Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
atoms Further changes required by Servo 2023-11-06 09:35:57 +01:00
background_hang_monitor Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
bluetooth Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
canvas Further changes required by Servo 2023-11-21 15:36:35 +01:00
compositing constellation: clean up logging of pipelines and browsing contexts (#30657) 2023-11-14 04:53:31 +00:00
config Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
config_plugins Remove use of proc_macro_diagnostics feature (#30745) 2023-11-17 10:36:09 +00:00
constellation constellation: clean up logging of pipelines and browsing contexts (#30657) 2023-11-14 04:53:31 +00:00
deny_public_fields Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
derive_common Further changes required by Servo 2023-11-24 08:57:14 +01:00
devtools Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
dom_struct Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
domobject_derive Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
geometry Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
gfx Stop sending " " to linebreaker for replaced content (#30740) 2023-11-30 14:46:14 +00:00
jstraceable_derive Update to syn 2 where possible (#30387) 2023-09-19 15:57:37 +00:00
layout Add initial support for sticky positioning for non-legacy layout (#30686) 2023-11-29 09:03:24 +00:00
layout_2020 Fix typing issues in flex layout (#30784) 2023-12-04 10:02:07 +00:00
layout_thread Further changes required by Servo 2023-11-21 15:36:35 +01:00
layout_thread_2020 Add initial support for sticky positioning for non-legacy layout (#30686) 2023-11-29 09:03:24 +00:00
malloc_size_of style: Rustfmt servo/. r=zrhoffman 2023-11-24 08:57:14 +01:00
media Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
metrics Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
net Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
pixels Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
profile Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
rand Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
range Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
remutex Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
script Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
selectors Further changes required by Servo 2023-11-24 08:57:14 +01:00
servo Update Servo::handle_events to take IntoIterator (#30762) 2023-11-22 15:13:39 +00:00
servo_arc style: Rustfmt servo/. r=zrhoffman 2023-11-24 08:57:14 +01:00
shared Add initial support for sticky positioning for non-legacy layout (#30686) 2023-11-29 09:03:24 +00:00
size_of_test Further changes required by Servo 2023-08-16 17:46:41 +02:00
style Add initial support for sticky positioning for non-legacy layout (#30686) 2023-11-29 09:03:24 +00:00
style_derive Further changes required by Servo 2023-11-24 08:57:14 +01:00
style_traits style: Remove viewport rule code 2023-11-24 08:57:14 +01:00
to_shmem style: Rustfmt servo/. r=zrhoffman 2023-11-24 08:57:14 +01:00
to_shmem_derive Further changes required by Servo 2023-11-24 08:57:14 +01:00
url Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
webdriver_server Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
webgpu Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
webrender_surfman Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00