Skip to content

[css-values-5] Enable random-item() by default - #71629

Merged
webkit-commit-queue merged 1 commit into
WebKit:mainfrom
J0pan:random-item-enable-by-default
Aug 14, 2026
Merged

webkit-commit-queue merged 1 commit into
WebKit:mainfrom
J0pan:random-item-enable-by-default

Conversation

@J0pan

@J0pan J0pan commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

34252a2

[css-values-5] Enable random-item() by default
https://bugs.webkit.org/show_bug.cgi?id=321777
rdar://181816677

Reviewed by Antti Koivisto.

Turn CSSRandomItemFunctionEnabled on by default and move it to stable, matching
CSSRandomFunctionEnabled. All of the imported WPT coverage passes:
random-item-computed.html, random-item-valid.html, random-item-invalid.html,
random-item-serialize.html, random-item-nested.html, random-item-in-keyframe.html,
random-item-unresolvable-argument.html and
random-item-in-container-query.tentative.html.

Two known limitations, both tracked:

<random-ua-ident> is not implemented, so that branch of <random-cache-key> is
rejected (bug 321552). Nothing else in the grammar depends on it.

An auto random() and an auto random-item() in the same property value share a base
value, because each counts its <random-key> index from zero in its own space
(bug 319919).

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:

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

a0c392b

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows Apple Internal
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe ✅ 🛠 win ⏳ 🛠 ios-apple
✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug loading-orange 🧪 wpe-wk2   🧪 win-tests ⏳ 🛠 mac-apple
✅ 🧪 webkitperl   🧪 ios-wk2   🧪 api-mac ✅ 🧪 api-wpe ⏳ 🛠 vision-apple
  🧪 ios-wk2-wpt   🧪 api-mac-debug ✅ 🧪 jsc-wpe
✅ 🧪 jsc-x86-64   🧪 api-ios   🧪 mac-wk2 ✅ 🛠 gtk3-gcc
✅ 🛠 🧪 jsc-debug-arm64 ✅ 🛠 ios-safer-cpp   🧪 mac-AS-debug-wk2 ✅ 🛠 gtk
✅ 🛠 vision loading-orange 🧪 gtk-wk2
✅ 🛠 🧪 merge ✅ 🛠 vision-sim   🧪 mac-intel-wk2 loading 🧪 api-gtk
✅ 🧪 vision-wk2   🛠 mac-safer-cpp ✅ 🛠 playstation
✅ 🛠 tv   🧪 mac-site-isolation
✅ 🛠 tv-sim
  🛠 watch
✅ 🛠 watch-sim

@J0pan J0pan self-assigned this Aug 14, 2026
@J0pan J0pan added the New Bugs Unclassified bugs are placed in this component until the correct component can be determined. label Aug 14, 2026
@J0pan J0pan added the merge-queue Applied to send a pull request to merge-queue label Aug 14, 2026
@webkit-commit-queue
webkit-commit-queue force-pushed the random-item-enable-by-default branch from a0c392b to a1ad76f Compare August 14, 2026 17:15
https://bugs.webkit.org/show_bug.cgi?id=321777
rdar://181816677

Reviewed by Antti Koivisto.

Turn CSSRandomItemFunctionEnabled on by default and move it to stable, matching
CSSRandomFunctionEnabled. All of the imported WPT coverage passes:
random-item-computed.html, random-item-valid.html, random-item-invalid.html,
random-item-serialize.html, random-item-nested.html, random-item-in-keyframe.html,
random-item-unresolvable-argument.html and
random-item-in-container-query.tentative.html.

Two known limitations, both tracked:

<random-ua-ident> is not implemented, so that branch of <random-cache-key> is
rejected (bug 321552). Nothing else in the grammar depends on it.

An auto random() and an auto random-item() in the same property value share a base
value, because each counts its <random-key> index from zero in its own space
(bug 319919).

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:

Canonical link: https://commits.webkit.org/319180@main
@webkit-commit-queue
webkit-commit-queue force-pushed the random-item-enable-by-default branch from a1ad76f to 34252a2 Compare August 14, 2026 17:16
@webkit-commit-queue

Copy link
Copy Markdown
Collaborator

Committed 319180@main (34252a2): https://commits.webkit.org/319180@main

Reviewed commits have been landed. Closing PR #71629 and removing active labels.

@webkit-commit-queue
webkit-commit-queue merged commit 34252a2 into WebKit:main Aug 14, 2026
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New Bugs Unclassified bugs are placed in this component until the correct component can be determined.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants