Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 52647688635a838d355fdc63ae061545d0f41680
      
https://github.com/WebKit/WebKit/commit/52647688635a838d355fdc63ae061545d0f41680
  Author: Antti Koivisto <an...@apple.com>
  Date:   2025-09-04 (Thu, 04 Sep 2025)

  Changed paths:
    M LayoutTests/TestExpectations
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/position-visibility-anchors-visible-clip-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/position-visibility-anchors-visible-clip-ref.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/position-visibility-anchors-visible-clip.html
    M Source/WebCore/style/AnchorPositionEvaluator.cpp

  Log Message:
  -----------
  [css-anchor-position-1] wrong clip testing with 'position-visibility: 
anchors-visible'
https://bugs.webkit.org/show_bug.cgi?id=298379
rdar://159790886

Reviewed by Alan Baradlay.

* LayoutTests/TestExpectations:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/position-visibility-anchors-visible-clip-expected.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/position-visibility-anchors-visible-clip-ref.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/position-visibility-anchors-visible-clip.html:
 Added.
* Source/WebCore/style/AnchorPositionEvaluator.cpp:
(WebCore::Style::AnchorPositionEvaluator::isDefaultAnchorInvisibleOrClippedByInterveningBoxes):

Traverse the container chain instead of the parent chain to find the boxes that 
actually clip the anchor.

Canonical link: https://commits.webkit.org/299554@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