servo/components
tanishka bba3bc6ac2
layout: Add missing support for some alignment keywords on absolutely positioned elements (#34365)
* Add missing support for some alignment keywords on absolutely positioned elements

Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>

* Check the direction of the alignment container, nits, test expectations

In this case we need to check the direction of the static position
containing block, not the actual containing block:
```html
<!DOCTYPE html>
<div style="position: relative">
  <div style="display: flex; flex-direction: column; width: 100px; height: 100px; border: solid; direction: rtl">
    <div style="position: absolute; width: 20px; height: 20px; background: cyan; top: 20px; align-self: self-start"></div>
    <div style="position: absolute; width: 20px; height: 20px; background: magenta; bottom: 20px; align-self: self-end"></div>
  </div>
</div>
```

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

---------

Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-12-05 11:33:09 +00:00
..
allocator Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
background_hang_monitor Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
bluetooth Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
canvas Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
compositing Use webrender_api::units::DevicePixel rather than style_traits::DevicePixel unless interfacing with Stylo (#34353) 2024-11-25 23:42:04 +00:00
config Layout: Implement CSS Grid using taffy (#32619) 2024-11-21 20:21:01 +00:00
config_plugins add allow(non_camel_case_types) to generated pref structs (#33987) 2024-10-24 09:36:13 +00:00
constellation Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools DevTools: Fix console in Firefox 131 (#33661) 2024-10-09 12:09:06 +00:00
dom_struct Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
domobject_derive Replace ShouldNotImplDomObject with NoDomObjectInDomObject (#33627) 2024-10-03 12:58:34 +00:00
fonts ohos: fonts: Fix HalfwidthandFullwidthForms font fallback (#34410) 2024-11-28 11:03:05 +00:00
geometry servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
hyper_serde Stop using time@0.1 in Servo (#33394) 2024-09-11 07:09:56 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout Use webrender_api::units::DevicePixel rather than style_traits::DevicePixel unless interfacing with Stylo (#34353) 2024-11-25 23:42:04 +00:00
layout_2020 layout: Add missing support for some alignment keywords on absolutely positioned elements (#34365) 2024-12-05 11:33:09 +00:00
layout_thread Move stylo thread pool mutex to servo layout thread crates (#34480) 2024-12-05 04:10:27 +00:00
layout_thread_2020 Move stylo thread pool mutex to servo layout thread crates (#34480) 2024-12-05 04:10:27 +00:00
malloc_size_of Implement MallocSizeOf for markup5ever rather than xml5ever. (#34403) 2024-11-27 01:21:41 +00:00
media Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
metrics Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
net Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
pixels Optimized unmultiply_inplace to remove fp ops (#33582) 2024-09-30 19:39:27 +00:00
profile [NFC] Remove unused interval profiler events (#34285) 2024-11-19 07:18:52 +00:00
rand crypto: Begin SubtleCrypto implementation (#33628) 2024-10-08 03:51:08 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script Don't register unconnected shadow roots with their owner document (#34361) 2024-12-02 18:33:25 +00:00
servo Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
shared Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
url Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
webdriver_server Remove referrer policy from document (#34263) 2024-11-19 12:45:10 +00:00
webgpu Only send mapping back on unmap when MapMode = WRITE (#34054) 2024-10-29 18:42:07 +00:00