Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8a011645e7ae8104a27f7a3401668084311e7e63
      
https://github.com/WebKit/WebKit/commit/8a011645e7ae8104a27f7a3401668084311e7e63
  Author: Pawel Lampe <[email protected]>
  Date:   2024-10-20 (Sun, 20 Oct 2024)

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

  Log Message:
  -----------
  [css-anchor-position-1] Fix intrinsic layout of anchor-positioned element 
after visibility change
https://bugs.webkit.org/show_bug.cgi?id=281728

Reviewed by Antti Koivisto.

Since style resolution is not being done in one pass when anchoring is used, 
block elements hold its children resolution until resolving anchors is done.
In that case - when it finally happens - the resolution of block element 
children is not enforced (as it would be during 1st pass) and the children are
not willing to "force update" and create renderers in the process. The net 
outcome is that children of elements that became visible again, are not 
rendered.

This change fixes the above issue by extending one of the conditions that leads 
to creation of renderers when the resolution is deferred due to anchoring.

* LayoutTests/TestExpectations:
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::determineResolutionType):

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