You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug 1972027 [wpt PR 53072] - [functions] Validate defaults against their type, a=testonly
Automatic update from web-platform-tests
[functions] Validate defaults against their type
The spec was recently clarified to make @function rules
with "mistyped" defaults invalid. For example, the following
is now invalid, because the default given for --arg doesn't match
the type given for --arg:
@function --foo(--arg <color>: 10px) { /* ... */ }
w3c/csswg-drafts#12243
Fixed: 423673310
Change-Id: I3239b573ece22bb48746a496758d53f57ac00b70
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6632858
Commit-Queue: Anders Hartvoll Ruud <[email protected]>
Reviewed-by: Steinar H Gunderson <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1472448}
--
wpt-commits: 779425e137ff128ba9736c9e8cb3812cd9fac95b
wpt-pr: 53072
0 commit comments