Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b6da0e1efbd8b6680f85b03505b125ec08aa40bd
      
https://github.com/WebKit/WebKit/commit/b6da0e1efbd8b6680f85b03505b125ec08aa40bd
  Author: Sam Weinig <s...@webkit.org>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M Source/WTF/WTF.xcodeproj/project.pbxproj
    M Source/WTF/wtf/CMakeLists.txt
    A Source/WTF/wtf/FlatteningVariantAdaptor.h
    M Source/WTF/wtf/Forward.h
    M Source/WTF/wtf/StdLibExtras.h
    M Source/WTF/wtf/VariantExtras.h
    M Source/WebCore/Headers.cmake
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/css/calc/CSSCalcTree+Simplification.cpp
    M Source/WebCore/css/calc/CSSCalcTree+Simplification.h
    M Source/WebCore/css/calc/CSSCalcValue.cpp
    M Source/WebCore/css/calc/CSSCalcValue.h
    M Source/WebCore/css/values/CSSValueAggregates.h
    A Source/WebCore/css/values/primitives/CSSPrimitiveData.h
    A Source/WebCore/css/values/primitives/CSSPrimitiveKeywordList.h
    A Source/WebCore/css/values/primitives/CSSPrimitiveNumeric.h
    M Source/WebCore/css/values/primitives/CSSPrimitiveNumericConcepts.h
    A Source/WebCore/css/values/primitives/CSSPrimitiveNumericOrKeyword.h
    M Source/WebCore/css/values/primitives/CSSPrimitiveNumericRaw.h
    A 
Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+CSSValueConversions.h
    M 
Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+CSSValueCreation.h
    M Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes.h
    M Source/WebCore/style/values/primitives/StylePosition.h
    A Source/WebCore/style/values/primitives/StylePrimitiveNumeric.h
    A 
Source/WebCore/style/values/primitives/StylePrimitiveNumericOrKeyword+Conversions.h
    A Source/WebCore/style/values/primitives/StylePrimitiveNumericOrKeyword.h
    M 
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Conversions.h
    M 
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Evaluation.h
    M Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes.h
    M Source/WebCore/style/values/shapes/StyleShapeFunction.cpp

  Log Message:
  -----------
  Add strongly type representations of CSS/Style Numeric + Keywords
https://bugs.webkit.org/show_bug.cgi?id=286889

Reviewed by Antti Koivisto.

Partially re-applies only the new base types from 288829@main after
having the subset tested and finding no performance regression.

Refactors CSS::PrimitiveNumeric and Style::PrimitiveNumeric so that
their underlying data structure can be used to implement
CSS::PrimitiveNumericOrKeyword and Style::PrimitiveNumericOrKeyword.

* Source/WTF/WTF.xcodeproj/project.pbxproj:
* Source/WTF/wtf/CMakeLists.txt:
* Source/WTF/wtf/FlatteningVariantAdaptor.h: Added.
* Source/WTF/wtf/Forward.h:
* Source/WTF/wtf/StdLibExtras.h:
* Source/WTF/wtf/VariantExtras.h:
* Source/WebCore/Headers.cmake:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/calc/CSSCalcTree+Simplification.cpp:
* Source/WebCore/css/calc/CSSCalcTree+Simplification.h:
* Source/WebCore/css/calc/CSSCalcValue.cpp:
* Source/WebCore/css/calc/CSSCalcValue.h:
* Source/WebCore/css/values/CSSValueAggregates.h:
* Source/WebCore/css/values/CSSValueConcepts.h:
* Source/WebCore/css/values/primitives/CSSPrimitiveData.h: Added.
* Source/WebCore/css/values/primitives/CSSPrimitiveKeywordList.h: Added.
* Source/WebCore/css/values/primitives/CSSPrimitiveNumeric.h: Added.
* Source/WebCore/css/values/primitives/CSSPrimitiveNumericConcepts.h:
* Source/WebCore/css/values/primitives/CSSPrimitiveNumericOrKeyword.h: Added.
* 
Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+CSSValueConversions.h:
 Added.
* 
Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+CSSValueCreation.h:
* Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes.h:
* Source/WebCore/rendering/TextPainter.cpp:
* Source/WebCore/style/values/StyleValueTypes.h:
* Source/WebCore/style/values/primitives/StylePrimitiveNumeric.h: Copied from 
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes.h.
* 
Source/WebCore/style/values/primitives/StylePrimitiveNumericOrKeyword+Conversions.h:
 Added.
* Source/WebCore/style/values/primitives/StylePrimitiveNumericOrKeyword.h: 
Added.
* 
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Conversions.h:
* 
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Evaluation.h:
* Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes.h:
* Source/WebCore/style/values/shapes/StyleShapeFunction.cpp:

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



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

Reply via email to