Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f5368c85b0d78ebeb667f6b8b457d80731d7cf92
https://github.com/WebKit/WebKit/commit/f5368c85b0d78ebeb667f6b8b457d80731d7cf92
Author: Antti Koivisto <[email protected]>
Date: 2025-05-13 (Tue, 13 May 2025)
Changed paths:
A
LayoutTests/fast/css/match-result-cache-with-fast-path-inheritance-expected.html
A LayoutTests/fast/css/match-result-cache-with-fast-path-inheritance.html
M Source/WebCore/style/MatchResultCache.cpp
M Source/WebCore/style/MatchResultCache.h
M Source/WebCore/style/StyleTreeResolver.cpp
Log Message:
-----------
Video player in Reddit doesn’t hide the progress bar for linked YouTube
videos on iOS
https://bugs.webkit.org/show_bug.cgi?id=292921
rdar://150653562
Reviewed by Alan Baradlay.
Fast-path inheritance fails to update the style in match result cache so if
both of these optimizations
get used on the same element then we may return a stale style.
*
LayoutTests/fast/css/match-result-cache-with-fast-path-inheritance-expected.html:
Added.
* LayoutTests/fast/css/match-result-cache-with-fast-path-inheritance.html:
Added.
* Source/WebCore/style/MatchResultCache.cpp:
(WebCore::Style::MatchResultCache::updateForFastPathInherit):
Add a function to update match result cache for fast-path inheritance.
* Source/WebCore/style/MatchResultCache.h:
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::styleForStyleable):
Canonical link: https://commits.webkit.org/294842@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