Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7642333842d2e1878af6949a67fac4d8861b73f2
      
https://github.com/WebKit/WebKit/commit/7642333842d2e1878af6949a67fac4d8861b73f2
  Author: Antti Koivisto <[email protected]>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    A LayoutTests/fast/css/computed-style-no-render-tree-crash-expected.txt
    A LayoutTests/fast/css/computed-style-no-render-tree-crash.html
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  REGRESSION(267786@main): Nullptr crash under resolveComputedStyle when there 
is no render tree
https://bugs.webkit.org/show_bug.cgi?id=261509
rdar://115348354

Reviewed by Alan Baradlay.

* LayoutTests/fast/css/computed-style-no-render-tree-crash-expected.txt: Added.
* LayoutTests/fast/css/computed-style-no-render-tree-crash.html: Added.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::styleForElementIgnoringPendingStylesheets):

Render tree may not be present during navigations.

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


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

Reply via email to