[webkit-changes] [WebKit/WebKit] 7785f2: [css-anchor-position-1] Disable style sharing with...
Antti Koivisto
noreply at github.com
Fri Sep 13 02:05:07 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7785f2f7d2923e7a7d037a4a5b7a5c689ec23105
https://github.com/WebKit/WebKit/commit/7785f2f7d2923e7a7d037a4a5b7a5c689ec23105
Author: Antti Koivisto <antti at apple.com>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-position-borders-001-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-position-borders-002-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-position-inline-004-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-scroll-002-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-scroll-004-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/position-try-001-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/position-try-004-expected.txt
M Source/WebCore/style/StyleScope.h
M Source/WebCore/style/StyleSharingResolver.cpp
Log Message:
-----------
[css-anchor-position-1] Disable style sharing with anchor positioned elements
https://bugs.webkit.org/show_bug.cgi?id=279654
rdar://135939062
Reviewed by Antoine Quint.
Style sharing can't deal with anchor positioning.
* LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-position-borders-001-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-position-borders-002-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-position-inline-004-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-scroll-002-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-scroll-004-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/position-try-001-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/position-try-004-expected.txt:
* Source/WebCore/style/StyleScope.h:
* Source/WebCore/style/StyleSharingResolver.cpp:
(WebCore::Style::SharingResolver::canShareStyleWithElement const):
Disable if there are anchor positioned elements.
Canonical link: https://commits.webkit.org/283607@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