Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 95091b3ea725d9c6caaee71f76221bc36a6e26b6
      
https://github.com/WebKit/WebKit/commit/95091b3ea725d9c6caaee71f76221bc36a6e26b6
  Author: Antti Koivisto <[email protected]>
  Date:   2026-07-01 (Wed, 01 Jul 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-mixins/dashed-function-eval-expected.txt
    M Source/WebCore/style/StyleSubstitutionResolver.cpp

  Log Message:
  -----------
  [css-mixins-1] Unwrap braces in function arguments
https://bugs.webkit.org/show_bug.cgi?id=318332
rdar://181118666

Reviewed by Alan Baradlay.

Comma-containing values can be used in arguments using braces like 
--f({1px,2px}).

https://drafts.csswg.org/css-values-5/#component-function-commas

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-mixins/dashed-function-eval-expected.txt:
* Source/WebCore/style/StyleSubstitutionResolver.cpp:
(WebCore::Style::unwrapArgumentBraces):

Add a helper.

(WebCore::Style::SubstitutionResolver::substituteDashedFunction):
(WebCore::Style::SubstitutionResolver::substituteInternalAutoBaseFunction):

Also use for -internal-auto-base which already had unwrap code.

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



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

Reply via email to