[webkit-changes] [WebKit/WebKit] 0875b5: Fix type confusion in StyleBuilderConverter::Conve...

Arunsundar Kannan noreply at github.com
Thu May 4 10:16:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0875b595b40e4c768aa706f8eb6a53f786676dd2
      https://github.com/WebKit/WebKit/commit/0875b595b40e4c768aa706f8eb6a53f786676dd2
  Author: Arunsundar Kannan <arunsundar_kannan at apple.com>
  Date:   2023-05-04 (Thu, 04 May 2023)

  Changed paths:
    A LayoutTests/fast/css/style-converter-convert-shape-value-type-confusion-expected.txt
    A LayoutTests/fast/css/style-converter-convert-shape-value-type-confusion.html
    M Source/WebCore/style/StyleBuilderConverter.h

  Log Message:
  -----------
  Fix type confusion in StyleBuilderConverter::ConvertShapeValue.
https://bugs.webkit.org/show_bug.cgi?id=256049.
rdar://108502377.

Reviewed by Antti Koivisto.

This change fixes convertShapeValue so that it can deal with single
values instead of expecting a list of values towards the end.

* LayoutTests/fast/css/style-converter-convert-shape-value-type-confusion-expected.txt: Added.
* LayoutTests/fast/css/style-converter-convert-shape-value-type-confusion.html: Added.
* Source/WebCore/style/StyleBuilderConverter.h:
(WebCore::Style::BuilderConverter::convertShapeValue):

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




More information about the webkit-changes mailing list