Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9649ee33c20c830a78b1fd660123b4a9d2fe5989
      
https://github.com/WebKit/WebKit/commit/9649ee33c20c830a78b1fd660123b4a9d2fe5989
  Author: Pratiksha Choudhury <[email protected]>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    A 
LayoutTests/fast/css/css-typed-om/css-builder-converter-initial-letter-crash-expected.txt
    A 
LayoutTests/fast/css/css-typed-om/css-builder-converter-initial-letter-crash.html
    M Source/WebCore/css/CSSQuadValue.cpp
    M Source/WebCore/css/CSSQuadValue.h
    M Source/WebCore/css/typedom/StylePropertyMap.cpp

  Log Message:
  -----------
  ASAN_TRAP in Style::BuilderConverter::convertInitialLetter
https://bugs.webkit.org/show_bug.cgi?id=285459
rdar://141024836

Reviewed by Matthieu Dubet and Ryosuke Niwa.

Added a check to verify the CSSQuad value else throw TypeError.

* 
LayoutTests/fast/css/css-typed-om/css-builder-converter-initial-letter-crash-expected.txt:
 Added.
* 
LayoutTests/fast/css/css-typed-om/css-builder-converter-initial-letter-crash.html:
 Added.
* Source/WebCore/css/CSSQuadValue.cpp:
(WebCore::CSSQuadValue::CSSQuadValue):
(WebCore::CSSQuadValue::canBeCoalesced const):
* Source/WebCore/css/CSSQuadValue.h:
* Source/WebCore/css/typedom/StylePropertyMap.cpp:
(WebCore::StylePropertyMap::set):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to