Skip to content

[view-transitions] Properly serialize match-element in computed style #47104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

nt1m
Copy link
Member

@nt1m nt1m commented Jun 24, 2025

1e32682

[view-transitions] Properly serialize match-element in computed style
https://bugs.webkit.org/show_bug.cgi?id=294887
rdar://154161055

Reviewed by Anne van Kesteren.

Properly handle match-element in computed style, instead of serializing it as empty string.

Also fix CSSProperties.json to not mention it's non-standard (since it's standardized in the level 2 specification).

* LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/parsing/view-transition-name-computed-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/parsing/view-transition-name-computed.html:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/style/StyleExtractorSerializer.h:
(WebCore::Style::ExtractorSerializer::serializeViewTransitionName):

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

aa23f0d

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe ✅ 🛠 win
✅ 🧪 bindings ✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug ✅ 🧪 wpe-wk2 ⏳ 🧪 win-tests
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 ✅ 🧪 api-mac ✅ 🧪 api-wpe
✅ 🧪 ios-wk2-wpt ✅ 🧪 mac-wk1 ✅ 🛠 wpe-cairo
✅ 🧪 api-ios ✅ 🧪 mac-wk2 ✅ 🛠 gtk
✅ 🛠 vision ✅ 🧪 mac-AS-debug-wk2 ✅ 🧪 gtk-wk2
✅ 🛠 vision-sim ✅ 🧪 mac-wk2-stress ✅ 🧪 api-gtk
✅ 🛠 🧪 merge ✅ 🧪 vision-wk2 ✅ 🧪 mac-intel-wk2 ✅ 🛠 playstation
✅ 🛠 tv ✅ 🛠 mac-safer-cpp
✅ 🛠 tv-sim
✅ 🛠 watch
✅ 🛠 watch-sim

@nt1m nt1m self-assigned this Jun 24, 2025
@nt1m nt1m added the CSS Cascading Style Sheets implementation label Jun 24, 2025
@nt1m nt1m force-pushed the eng/vt-match-element-cs branch from 8d558fe to aa23f0d Compare June 24, 2025 06:07
@nt1m nt1m added the safe-merge-queue Applied to automatically send a pull-request to merge-queue after passing EWS checks label Jun 24, 2025
@webkit-ews-buildbot webkit-ews-buildbot added merge-queue Applied to send a pull request to merge-queue and removed safe-merge-queue Applied to automatically send a pull-request to merge-queue after passing EWS checks labels Jun 24, 2025
@webkit-ews-buildbot
Copy link
Collaborator

Safe-Merge-Queue: Build #61258.

https://bugs.webkit.org/show_bug.cgi?id=294887
rdar://154161055

Reviewed by Anne van Kesteren.

Properly handle match-element in computed style, instead of serializing it as empty string.

Also fix CSSProperties.json to not mention it's non-standard (since it's standardized in the level 2 specification).

* LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/parsing/view-transition-name-computed-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/parsing/view-transition-name-computed.html:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/style/StyleExtractorSerializer.h:
(WebCore::Style::ExtractorSerializer::serializeViewTransitionName):

Canonical link: https://commits.webkit.org/296556@main
@webkit-commit-queue
Copy link
Collaborator

Committed 296556@main (1e32682): https://commits.webkit.org/296556@main

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

@webkit-commit-queue webkit-commit-queue merged commit 1e32682 into WebKit:main Jun 24, 2025
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS Cascading Style Sheets implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants