mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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>
This commit is contained in:
parent
78f74d0d5e
commit
57b99d641e
2 changed files with 5 additions and 15 deletions
|
@ -1,2 +0,0 @@
|
|||
[background-bg-pos-206.xht]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue