Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1bceed1cdf972deb4854794d43034df2c9f5e0d6
      
https://github.com/WebKit/WebKit/commit/1bceed1cdf972deb4854794d43034df2c9f5e0d6
  Author: Tim Nguyen <n...@apple.com>
  Date:   2025-03-05 (Wed, 05 Mar 2025)

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

  Log Message:
  -----------
  `will-change: offset-path` should create a stacking context and a containing 
block
https://bugs.webkit.org/show_bug.cgi?id=289162
rdar://146292698

Reviewed by Oriol Brufau and Simon Fraser.

>From the css-will-change spec:

> If any non-initial value of a property would cause the element to generate a 
> containing block for fixed-position elements, specifying that property in 
> will-change must cause the element to generate a containing block for 
> fixed-position elements.

> If any non-initial value of a property would create a stacking context on the 
> element, specifying that property in will-change must create a stacking 
> context on the element.

`offset-path` is just another type of `transform`.

* LayoutTests/TestExpectations:
* Source/WebCore/rendering/style/WillChangeData.cpp:
(WebCore::WillChangeData::createsContainingBlockForOutOfFlowPositioned const):
(WebCore::WillChangeData::propertyCreatesStackingContext):
(WebCore::propertyTriggersCompositingOnBoxesOnly):

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