Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 324460324818d8c11892d690a58d5b7b37b2209d
      
https://github.com/WebKit/WebKit/commit/324460324818d8c11892d690a58d5b7b37b2209d
  Author: Chirag M Shah <[email protected]>
  Date:   2022-12-02 (Fri, 02 Dec 2022)

  Changed paths:
    A LayoutTests/fast/rendering/render-style-null-optgroup-crash-expected.txt
    A LayoutTests/fast/rendering/render-style-null-optgroup-crash.html
    M Source/WebCore/rendering/RenderListBox.cpp

  Log Message:
  -----------
  Don't crash when RenderStyle is NULL for elements like optgroup when
rendering
https://bugs.webkit.org/show_bug.cgi?id=248575

Reviewed by Simon Fraser.

* LayoutTests/fast/rendering/render-style-null-optgroup-crash-expected.txt: 
Added.
* LayoutTests/fast/rendering/render-style-null-optgroup-crash.html: Added.
* Source/WebCore/rendering/RenderListBox.cpp:
(WebCore::RenderListBox::paintItemForeground):
(WebCore::RenderListBox::paintItemBackground):

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


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

Reply via email to