[webkit-changes] [WebKit/WebKit] adf1f0: transform-style:preserve-3d doesn't work across di...

mattwoodrow noreply at github.com
Wed May 8 02:20:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: adf1f00fb1ff19e7927fb3f519fe19e7d99caf22
      https://github.com/WebKit/WebKit/commit/adf1f00fb1ff19e7927fb3f519fe19e7d99caf22
  Author: Matt Woodrow <mattwoodrow at apple.com>
  Date:   2024-05-08 (Wed, 08 May 2024)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-preserve3d-014-expected.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-preserve3d-014.html
    M LayoutTests/platform/mac/TestExpectations
    M Source/WebCore/rendering/RenderLayer.cpp

  Log Message:
  -----------
  transform-style:preserve-3d doesn't work across display:contents ancestors
https://bugs.webkit.org/show_bug.cgi?id=273627
<rdar://127468969>

Reviewed by Alan Baradlay.

When looking for the ancestor element to see if it has 'preserve-3d', any intermediate
ancestors with display:contents should be skipped.

* LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-preserve3d-014-expected.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-preserve3d-014.html: Added.
* LayoutTests/platform/mac/TestExpectations:
* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::flattenedParent):
(WebCore::RenderLayer::ancestorLayerIsDOMParent const):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list