Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fb36d5800b0726ebea340a8af205618e1450813a
      
https://github.com/WebKit/WebKit/commit/fb36d5800b0726ebea340a8af205618e1450813a
  Author: Antti Koivisto <an...@apple.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

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

  Log Message:
  -----------
  [css-anchor-position-1] Don't use outOfFlowBoxes list for renderer order 
testing
https://bugs.webkit.org/show_bug.cgi?id=293796
rdar://problem/152308454

Reviewed by Alan Baradlay.

* Source/WebCore/style/AnchorPositionEvaluator.cpp:
(WebCore::Style::AnchorPositionEvaluator::findAnchorForAnchorFunctionAndAttemptResolution):

Also set usesAnchorFunctions bit before any bailout conditions.

(WebCore::Style::firstChildPrecedesSecondChild):

outOfFlowBoxes list is updated on layout. Walk the render tree structure 
instead for robustness.

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