[webkit-changes] [WebKit/WebKit] 967f74: Fix type confusion in StyleBuilderCustom::ApplyVal...

Arunsundar Kannan noreply at github.com
Mon May 8 01:31:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 967f74508a933d74938539523c1559ff2f08147c
      https://github.com/WebKit/WebKit/commit/967f74508a933d74938539523c1559ff2f08147c
  Author: Arunsundar Kannan <arunsundar_kannan at apple.com>
  Date:   2023-05-08 (Mon, 08 May 2023)

  Changed paths:
    A LayoutTests/fast/css/style-builder-custom-apply-value-will-change-type-confusion-expected.txt
    A LayoutTests/fast/css/style-builder-custom-apply-value-will-change-type-confusion.html
    M Source/WebCore/style/StyleBuilderCustom.h

  Log Message:
  -----------
  Fix type confusion in StyleBuilderCustom::ApplyValueWillChange.
https://bugs.webkit.org/show_bug.cgi?id=256053.
rdar://108502113.

Reviewed by Antti Koivisto.

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

* LayoutTests/fast/css/style-builder-custom-apply-value-will-change-type-confusion-expected.txt: Added.
* LayoutTests/fast/css/style-builder-custom-apply-value-will-change-type-confusion.html: Added.
* Source/WebCore/style/StyleBuilderCustom.h:
(WebCore::Style::BuilderCustom::applyValueWillChange):

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




More information about the webkit-changes mailing list