Bug
1733145 [wpt PR 30937] - Fix the transform-fixed-bg-*.html tests., a=testonly
Automatic update from web-platform-tests
Fix the transform-fixed-bg-*.html tests. (#30937)
These tests were, I believe, testing an old version of the spec, prior
to the wording:
Fixed backgrounds on the root element are affected by any transform
specified for that element. For all other elements that are effected
by a transform (i.e. have a transform applied to them, or to any of
their ancestor elements), a value of fixed for the
background-attachment property is treated as if it had a value of
scroll.
This updates the tests to reflect that change.
I intend to write an additional set of tests testing fixed backgrounds
on the root element, which these did not test.
Prior to this change:
* Chromium and WebKit pass tests 005 and 007 only and fail the other 5
tests (but fail 002 and 004 differently).
* Gecko fails all 7 tests
After this change:
* Chromium and WebKit pass tests 001 and 003 only, and fail the other 5
tests (but fail 002 and 004 differently).
* Gecko passes all 7 tests.
I checked in both Chromium and Gecko that all 7 tests match the
reference if I remove the background-attachment: fixed.
--
wpt-commits:
bfec5f548f67491d7cf6af31a172100f2b9900c0
wpt-pr: 30937