diff options
author | Martin Robinson <mrobinson@igalia.com> | 2025-05-24 11:45:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-24 09:45:53 +0000 |
commit | 57b99d641e06a30a37f22a2869d6ecd072129e44 (patch) | |
tree | d908ff4ff1b4d1a748569fc7b12d473159b13d08 /components/script_bindings/codegen/run.py | |
parent | 78f74d0d5ec885a68a9ee467168de5a91082bba6 (diff) | |
download | servo-57b99d641e06a30a37f22a2869d6ecd072129e44.tar.gz servo-57b99d641e06a30a37f22a2869d6ecd072129e44.zip |
layout: Use the viewport size as the `background-attachment: fixed` positioning area (#37097)
This fixes the combination of `background-attachment: fixed` and
`no-repeat`. The positioning of the background should be relative to the
viewport, so using an infinite rectangle breaks things like `center`.
I'm not sure what the original motivation of using an infinite rectangle
here
and it doesn't seem to break any tests to stop using it.
Testing: This fixes `/css/CSS2/backgrounds/background-bg-pos-206.xht`.
Fixes #37082.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/script_bindings/codegen/run.py')
0 files changed, 0 insertions, 0 deletions