Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6cd7aec936678f8164131163770ae1f213bd10a9
      
https://github.com/WebKit/WebKit/commit/6cd7aec936678f8164131163770ae1f213bd10a9
  Author: Elika Etemad <fantasai.b...@inkedblade.net>
  Date:   2025-09-17 (Wed, 17 Sep 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-position-multicol-002.html
    M 
LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-insets-fixed-expected.txt
    M Source/WebCore/rendering/RenderElement.cpp

  Log Message:
  -----------
  Return fixedpos containing block (if any) for a fixedpos's offsetParent
https://bugs.webkit.org/show_bug.cgi?id=212372
rdar://63739636

Reviewed by Simon Fraser.

Sometimes an element (such as a transformed element) that is not the viewport
forms the containing block of fixed positioned descendants. In this case,
offsetParent should return that box.

See spec: https://www.w3.org/TR/cssom-view/#dom-htmlelement-offsetparent

* 
LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-insets-fixed-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-position-multicol-002.html:
* Source/WebCore/rendering/RenderElement.cpp:
(WebCore::RenderElement::offsetParent const):

Canonical link: https://commits.webkit.org/300097@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to