Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a57d3936e9a5d33ed231a75a40adbcb41c51e852
      
https://github.com/WebKit/WebKit/commit/a57d3936e9a5d33ed231a75a40adbcb41c51e852
  Author: Antti Koivisto <[email protected]>
  Date:   2026-08-12 (Wed, 12 Aug 2026)

  Changed paths:
    M LayoutTests/TestExpectations
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-values/random-computed.tentative-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-values/random-in-animations.tentative-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-values/random-in-custom-function.tentative-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-values/random-in-if.tentative-expected.txt
    M Source/WebCore/css/calc/CSSCalcTree+Parser.cpp
    M Source/WebCore/css/parser/CSSPropertyParser.cpp
    M Source/WebCore/css/parser/CSSPropertyParserState.h

  Log Message:
  -----------
  [css-values-5] Allow random() in custom properties
https://bugs.webkit.org/show_bug.cgi?id=321595
rdar://184715508

Reviewed by Tim Nguyen.

But also disallow it when element context is not present.

* LayoutTests/TestExpectations:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-values/random-computed.tentative-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-values/random-in-animations.tentative-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-values/random-in-custom-function.tentative-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-values/random-in-if.tentative-expected.txt:
* Source/WebCore/css/calc/CSSCalcTree+Parser.cpp:
(WebCore::CSSCalc::consumeRandom):
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::parseTypedCustomPropertyValue):
(WebCore::CSSPropertyParser::parseTypedCustomPropertyInitialValue):
* Source/WebCore/css/parser/CSSPropertyParserState.h:

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



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

Reply via email to