Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 82d7f771ca51303270401ea3f5438bd0d7687d37
      
https://github.com/WebKit/WebKit/commit/82d7f771ca51303270401ea3f5438bd0d7687d37
  Author: Antti Koivisto <[email protected]>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    A LayoutTests/fast/has-sibling-without-parent-crash-expected.html
    A LayoutTests/fast/has-sibling-without-parent-crash.html
    M Source/WebCore/style/StyleInvalidator.cpp

  Log Message:
  -----------
  Nullptr crash with :has(~sibling) invalidation in shadow tree
https://bugs.webkit.org/show_bug.cgi?id=260902
rdar://110129945

Reviewed by Chris Dumez.

* LayoutTests/fast/has-sibling-without-parent-crash-expected.html: Added.
* LayoutTests/fast/has-sibling-without-parent-crash.html: Added.
* Source/WebCore/style/StyleInvalidator.cpp:
(WebCore::Style::Invalidator::invalidateStyleWithMatchElement):

Elements with siblings don't have a parent element when they are parented to a 
shadow root.

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to