Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 47bc6653d9ad8c1604e5130803416c48ffc7ee82
      
https://github.com/WebKit/WebKit/commit/47bc6653d9ad8c1604e5130803416c48ffc7ee82
  Author: Sam Weinig <[email protected]>
  Date:   2024-11-26 (Tue, 26 Nov 2024)

  Changed paths:
    M Source/WebCore/css/CSSGradientValue.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Image.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Percentage.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Percentage.h
    M Source/WebCore/css/values/images/CSSGradient.h
    M 
Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+CSSValueVisitation.h
    M 
Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+ComputedStyleDependencies.h
    M 
Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+Serialization.h
    M Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes.h
    M Source/WebCore/style/values/images/StyleGradient.cpp
    M Source/WebCore/style/values/images/StyleGradient.h
    M 
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Blending.h
    M 
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Conversions.h
    M Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes.h

  Log Message:
  -----------
  Add NumberOrPercentageResolvedToNumber CSS/Style type
https://bugs.webkit.org/show_bug.cgi?id=283589

Reviewed by Darin Adler.

A relatively common idiom is a [ <number> | <percentage> ] that always resolves
to a <number>. This implements a type for that in the new CSS/Style value types.

* Source/WebCore/css/parser/CSSPropertyParserConsumer+Image.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Percentage.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Percentage.h:
* Source/WebCore/css/values/images/CSSGradient.h:
* 
Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+CSSValueVisitation.h:
* 
Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+ComputedStyleDependencies.h:
* Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+Serialization.h:
* Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes.h:
* Source/WebCore/style/values/images/StyleGradient.cpp:
* Source/WebCore/style/values/images/StyleGradient.h:
* Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Blending.h:
* 
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Conversions.h:
* Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes.h:

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



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

Reply via email to