Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CSS] @font-palette-values override-colors accepts only absolute color #28398

Commits on May 11, 2024

  1. [CSS] @font-palette-values override-colors accepts only absolute color

    https://bugs.webkit.org/show_bug.cgi?id=273888
    rdar://127714701
    
    Reviewed by Tim Nguyen.
    
    "The specified <color> must be an absolute color."
    
    https://drafts.csswg.org/css-fonts/#override-color
    
    * LayoutTests/TestExpectations:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-palette-values-invalid-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-palette-values-valid-expected.txt:
    * Source/WebCore/css/CSSPrimitiveValue.cpp:
    (WebCore::CSSPrimitiveValue::absoluteColor const):
    * Source/WebCore/css/CSSPrimitiveValue.h:
    * Source/WebCore/css/parser/CSSParserImpl.cpp:
    (WebCore::CSSParserImpl::consumeFontPaletteValuesRule):
    
    Canonical link: https://commits.webkit.org/278645@main
    mdubet committed May 11, 2024
    Configuration menu
    Copy the full SHA
    da248b2 View commit details
    Browse the repository at this point in the history