aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgpu/gpurenderbundle.rs
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2025-04-04 03:15:40 -0700
committerGitHub <noreply@github.com>2025-04-04 10:15:40 +0000
commit202cac900d6b660bd21de33d3433cf0ae9d8f0ab (patch)
tree13d12ba9732657a40ab6d5c6c7ab0ea8e466c95e /components/script/dom/webgpu/gpurenderbundle.rs
parentc19c7b2ed8216254bf3e88b06ad4526fc0aa26f4 (diff)
downloadservo-202cac900d6b660bd21de33d3433cf0ae9d8f0ab.tar.gz
servo-202cac900d6b660bd21de33d3433cf0ae9d8f0ab.zip
layout: Restrict stretch alignment to flex items with computed auto size (#36288)
We were allowing `align-self: stretch` to stretch flex items whose cross size behaves as `auto`, including cyclic percentages. However, https://github.com/w3c/csswg-drafts/issues/4525 resolved that stretching should only happen when the cross size computes to `auto`. So this patch exposes this information in `ContentBoxSizesAndPBM`, and refactors the flexbox stretching logic. Fixes: #36285 Testing: - `/css/css-flexbox/quirks-auto-block-size-with-percentage-item.html` - `/css/css-flexbox/stretch-requires-computed-auto-size.html` Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'components/script/dom/webgpu/gpurenderbundle.rs')
0 files changed, 0 insertions, 0 deletions