aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgpu/gpupipelineerror.rs
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2024-11-28 13:57:38 +0100
committerGitHub <noreply@github.com>2024-11-28 12:57:38 +0000
commita37ccc3e64c92e8ba10a3cdc48ebd7f031bb7298 (patch)
treee66e22153a3ed1e59019c0e50806265402dbf4e3 /components/script/dom/webgpu/gpupipelineerror.rs
parent895b8d30eac41afbdbd20efd65c5a6e58ae3f43d (diff)
downloadservo-a37ccc3e64c92e8ba10a3cdc48ebd7f031bb7298.tar.gz
servo-a37ccc3e64c92e8ba10a3cdc48ebd7f031bb7298.zip
Use natural ratio for `object-fit` (#34413)
We were using the preferred aspect ratio provided by the `aspect-ratio` property instead of the natural aspect ratio. However, the preferred aspect ratio should only be used to size the replaced element. To paint the replaced contents into that element we need the natural ratio. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'components/script/dom/webgpu/gpupipelineerror.rs')
0 files changed, 0 insertions, 0 deletions