servo/components
Martin Robinson bd285f543e
Layout floats as children of their inline ancestors (#30130)
When layout was split into two phases, floats were laid out as direct
children of the inline formatting context. This meant that they were
positioned properly, but not properly made children of their inline
ancestors' stacking contexts. This change maintains the proper
positioning of floats, but positions them relatively to their inline
ancestors.

The big change here is that `text-align` needs to be taken into account
before actually laying out LineItems. This has the added benefit of
setting inline layout for the implementation of `text-align: full`. Now
all line items are laid out at the real final position and we can adjust
the `start_corner` property of float `BoxFragments` when their ancestors
are laid out.
2023-08-22 20:10:34 +00: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 [NFC] compositing: extract types into new compositing_traits crate (#30125) 2023-08-18 11:37:04 +00:00
compositing_traits [NFC] compositing: extract types into new compositing_traits crate (#30125) 2023-08-18 11:37:04 +00:00
config remove minibrowser from prefs (#30127) 2023-08-19 08:29:44 +00:00
config_plugins Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
constellation Fix mach test-wpt to make crash tests work (#29832) 2023-08-18 23:43:32 +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 Format toml files (#30112) 2023-08-17 15:07:43 +00:00
layout_2020 Layout floats as children of their inline ancestors (#30130) 2023-08-22 20:10:34 +00:00
layout_thread Further changes required by Servo 2023-08-16 17:46:41 +02: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 Further changes required by Servo 2023-08-16 17:46:41 +02:00
net Format toml files (#30112) 2023-08-17 15:07:43 +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 Update wgpu to 0.17 (#30147) 2023-08-21 07:40:06 +00:00
script_layout_interface Try to use WebRender types more 2023-07-10 17:35:50 +02:00
script_plugins Format toml files (#30112) 2023-08-17 15:07:43 +00:00
script_traits Remove EventLoopWaker from Constellation (#30101) 2023-08-15 18:02:02 +00:00
selectors Format toml files (#30112) 2023-08-17 15:07:43 +00:00
servo [NFC] compositing: extract types into new compositing_traits crate (#30125) 2023-08-18 11:37:04 +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 Further changes required by Servo 2023-08-16 17:46:41 +02:00
std_test_override Upgrade remaining components to edition 2018 2023-02-18 09:42:37 +01:00
style Format toml files (#30112) 2023-08-17 15:07:43 +00:00
style_derive Avoid complaints from ./mach test-tidy 2023-08-16 17:46:41 +02:00
style_traits style: Update color-mix() syntax to match the current spec 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 [NFC] compositing: extract types into new compositing_traits crate (#30125) 2023-08-18 11:37:04 +00:00
webgpu Update wgpu to 0.17 (#30147) 2023-08-21 07:40:06 +00:00
webrender_surfman Format toml files (#30112) 2023-08-17 15:07:43 +00:00
webrender_traits Format toml files (#30112) 2023-08-17 15:07:43 +00:00