Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 376df4a530517e75deff751306ce29b63ce4a866
      
https://github.com/WebKit/WebKit/commit/376df4a530517e75deff751306ce29b63ce4a866
  Author: Sam Weinig <[email protected]>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/css/CSSPrimitiveValueMappings.h
    R Source/WebCore/style/values/overflow/StyleScrollBehavior.cpp
    M Source/WebCore/style/values/overflow/StyleScrollBehavior.h
    M 
Source/WebCore/style/values/primitives/StylePrimitiveKeyword+CSSValueConversion.h
    M Source/WebCore/style/values/primitives/StylePrimitiveKeyword+Logging.h
    M 
Source/WebCore/style/values/primitives/StylePrimitiveKeyword+ValueRepresentationNeeded.h

  Log Message:
  -----------
  [Style] Generate ValueRepresentation specializations for all enums that use 
DEFINE_TO_FROM_CSS_VALUE_ID_FUNCTIONS
https://bugs.webkit.org/show_bug.cgi?id=301230

Reviewed by Darin Adler.

Generate the trivial ValueRepresentation specializations by adding
an additional macro generator to the DEFINE_TO_FROM_CSS_VALUE_ID_FUNCTIONS
macro in CSSPrimitiveValueMappings.h.

This allows us to remove quite a few hand written logging functions
and paves the way for additional autogeneration.

* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/CSSPrimitiveValueMappings.h:
* Source/WebCore/style/values/overflow/StyleScrollBehavior.cpp: Removed.
* Source/WebCore/style/values/overflow/StyleScrollBehavior.h:
* 
Source/WebCore/style/values/primitives/StylePrimitiveKeyword+CSSValueConversion.h:
* Source/WebCore/style/values/primitives/StylePrimitiveKeyword+Logging.h:
* 
Source/WebCore/style/values/primitives/StylePrimitiveKeyword+ValueRepresentationNeeded.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to