Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 0db60d2b4123e101f8d16f925634f6226f7daaae https://github.com/WebKit/WebKit/commit/0db60d2b4123e101f8d16f925634f6226f7daaae Author: Tim Nguyen <n...@apple.com> Date: 2025-04-22 (Tue, 22 Apr 2025)
Changed paths: A LayoutTests/imported/w3c/web-platform-tests/css/selectors/popover-open-with-has-sibling-selector-expected.xht A LayoutTests/imported/w3c/web-platform-tests/css/selectors/popover-open-with-has-sibling-selector.html M Source/WebCore/html/HTMLElement.cpp M Source/WebCore/style/StyleInvalidator.cpp Log Message: ----------- REGRESSION (286644@main): style invalidation for `:has(+:popover-open)` doesn't work properly https://bugs.webkit.org/show_bug.cgi?id=291174 rdar://148774717 Reviewed by Ryosuke Niwa. Undo behavior change that accidentally slipped in 286644@main that was missed during review. That behavior change caused style invalidation to stop working with the sibling selector. * LayoutTests/imported/w3c/web-platform-tests/css/selectors/popover-open-with-has-sibling-selector-expected.xht: Added. * LayoutTests/imported/w3c/web-platform-tests/css/selectors/popover-open-with-has-sibling-selector.html: Added. * Source/WebCore/html/HTMLElement.cpp: (WebCore::HTMLElement::hidePopoverInternal): * Source/WebCore/style/StyleInvalidator.cpp: (WebCore::Style::Invalidator::invalidateStyleWithMatchElement): Canonical link: https://commits.webkit.org/293967@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