Skip to content

Commit

Permalink
[functions] Consume whitespace after type()
Browse files Browse the repository at this point in the history
Bug: 325504770
Change-Id: I2fe51bef48cf61959d064ed31064929374178171
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6172340
Reviewed-by: Steinar H Gunderson <[email protected]>
Commit-Queue: Anders Hartvoll Ruud <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1408630}
  • Loading branch information
andruud authored and chromium-wpt-export-bot committed Jan 20, 2025
1 parent 9e75c82 commit 2223c81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions css/css-mixins/at-function-parsing.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
test_valid_prelude('@function --foo(--x <length>: 10px, --y)');
test_valid_prelude('@function --foo(--x, --y <length>: 10px)');
test_valid_prelude('@function --foo(--x type(<length> | auto): auto)');
test_valid_prelude('@function --foo(--x type(<length> | auto) : auto)');
// The value does not have to match the type during @function parsing:
test_valid_prelude('@function --foo(--x <angle>: 10px)');

Expand Down

0 comments on commit 2223c81

Please sign in to comment.