Branch: refs/heads/webkitglib/2.48 Home: https://github.com/WebKit/WebKit Commit: 6186fdf6b03a731a756693595fd71eafc9b67a81 https://github.com/WebKit/WebKit/commit/6186fdf6b03a731a756693595fd71eafc9b67a81 Author: Tim Nguyen <n...@apple.com> Date: 2025-04-28 (Mon, 28 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: ----------- Cherry-pick 293967@main (0db60d2b4123). https://bugs.webkit.org/show_bug.cgi?id=291174 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 Canonical link: https://commits.webkit.org/290945.165@webkitglib/2.48 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