diff options
author | tanishka <109246904+taniishkaaa@users.noreply.github.com> | 2024-12-05 17:03:09 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-05 11:33:09 +0000 |
commit | bba3bc6ac2dd8c28d365a5f30d32da838f78286e (patch) | |
tree | 9593d8b83aefae2b42c076e99b8ec564d4eff915 /components/script/dom/webgpu | |
parent | d93e6f76a10322eb450e53837ab1dbe1c3df66db (diff) | |
download | servo-bba3bc6ac2dd8c28d365a5f30d32da838f78286e.tar.gz servo-bba3bc6ac2dd8c28d365a5f30d32da838f78286e.zip |
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>
Diffstat (limited to 'components/script/dom/webgpu')
0 files changed, 0 insertions, 0 deletions