WebKit icon indicating copy to clipboard operation
WebKit copied to clipboard

Fixed backgrounds should behave like 'scroll' inside transformed elements

Open vitorroriz opened this issue 3 years ago โ€ข 5 comments

d4322edcec39c91e1223b3a6cdecb034f69b6441

Fixed backgrounds should behave like 'scroll' inside transformed elements
https://bugs.webkit.org/show_bug.cgi?id=15679
Include a Radar link (OOPS!).

Reviewed by NOBODY (OOPS!).

* Source/WebCore/rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry const):

According to spec (https://drafts.csswg.org/css-transforms/), if an element or any of its ancestor elements
have a transform, its background-attachment property should be treated as it has 'scroll' value instead of 'fixed'.

https://github.com/WebKit/WebKit/commit/d4322edcec39c91e1223b3a6cdecb034f69b6441

Misc iOS, tvOS & watchOS macOS Linux Windows
โœ… ๐Ÿงช style โœ… ๐Ÿ›  ios โœ… ๐Ÿ›  mac โœ… ๐Ÿ›  wpe โœ… ๐Ÿ›  ๐Ÿงช win
โœ… ๐Ÿงช bindings โœ… ๐Ÿ›  ios-sim โœ… ๐Ÿ›  mac-debug โœ… ๐Ÿ›  gtk โœ… ๐Ÿ›  wincairo
โœ… ๐Ÿงช webkitperl โœ… ๐Ÿงช ios-wk2 โœ… ๐Ÿ›  mac-AS-debug โœ… ๐Ÿงช gtk-wk2
โœ… ๐Ÿงช api-ios โœ… ๐Ÿงช api-mac โœ… ๐Ÿงช api-gtk
โœ… ๐Ÿ›  tv โœ… ๐Ÿงช mac-wk1
โœ… ๐Ÿ›  tv-sim โœ… ๐Ÿงช mac-wk2
โ€ƒ ~~๐Ÿ›  ๐Ÿงช merge~~ โœ… ๐Ÿ›  watch โœ… ๐Ÿงช mac-AS-debug-wk2
โœ… ๐Ÿ›  watch-sim โœ… ๐Ÿงช mac-wk2-stress

vitorroriz avatar Aug 17 '22 23:08 vitorroriz

Committed 255055@main (eba490ba3cc4): https://commits.webkit.org/255055@main

Reviewed commits have been landed. Closing PR #3433 and removing active labels.

webkit-commit-queue avatar Oct 01 '22 00:10 webkit-commit-queue