[webkit-changes] [WebKit/WebKit] 6e3985: [css-contain] Use StyleBuilderConverter instead of...

Tim Nguyen noreply at github.com
Sat Jul 15 18:34:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6e398514a59d3bc7612d15bb982c2252d354d15d
      https://github.com/WebKit/WebKit/commit/6e398514a59d3bc7612d15bb982c2252d354d15d
  Author: Tim Nguyen <ntim.bugs at gmail.com>
  Date:   2023-07-15 (Sat, 15 Jul 2023)

  Changed paths:
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/style/StyleBuilderConverter.h
    M Source/WebCore/style/StyleBuilderCustom.h

  Log Message:
  -----------
  [css-contain] Use StyleBuilderConverter instead of StyleBuilderCustom for contain property
https://bugs.webkit.org/show_bug.cgi?id=259248

Reviewed by Darin Adler.

This is just converting a CSSValue to OptionSet<Containment>, we don't need to use BuilderCustom for this.

* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/style/StyleBuilderConverter.h:
(WebCore::Style::BuilderConverter::convertContain):
* Source/WebCore/style/StyleBuilderCustom.h:
(WebCore::Style::BuilderCustom::applyInitialContain): Deleted.
(WebCore::Style::BuilderCustom::applyInheritContain): Deleted.
(WebCore::Style::BuilderCustom::applyValueContain): Deleted.

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




More information about the webkit-changes mailing list