Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6e090026a7cd2c31b7b9c9d13cbe964d56569040
      
https://github.com/WebKit/WebKit/commit/6e090026a7cd2c31b7b9c9d13cbe964d56569040
  Author: Antti Koivisto <[email protected]>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/style/AnchorPositionEvaluator.cpp

  Log Message:
  -----------
  [css-anchor-position-1] Chained anchors don't scroll with their anchor
https://bugs.webkit.org/show_bug.cgi?id=295012
rdar://154355127

Reviewed by Alan Baradlay.

* LayoutTests/TestExpectations:
* Source/WebCore/style/AnchorPositionEvaluator.cpp:
(WebCore::Style::AnchorPositionEvaluator::scrollOffsetFromAnchor):

The anchor may be scroll-compensated itself. Include these offsets recursively.
Recursion ends because anchors can't form cycles.

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



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

Reply via email to