aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgpu/gputextureview.rs
diff options
context:
space:
mode:
authortanishka <109246904+taniishkaaa@users.noreply.github.com>2024-12-05 17:03:09 +0530
committerGitHub <noreply@github.com>2024-12-05 11:33:09 +0000
commitbba3bc6ac2dd8c28d365a5f30d32da838f78286e (patch)
tree9593d8b83aefae2b42c076e99b8ec564d4eff915 /components/script/dom/webgpu/gputextureview.rs
parentd93e6f76a10322eb450e53837ab1dbe1c3df66db (diff)
downloadservo-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/gputextureview.rs')
0 files changed, 0 insertions, 0 deletions