Skip to content
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

[css-view-transitions-2] Allow auto as a keyword #10922

Merged
merged 8 commits into from
Oct 1, 2024
Merged

Conversation

noamr
Copy link
Collaborator

@noamr noamr commented Sep 19, 2024

auto resolves to either the element's ID, or to a unique identifier that is stable for the duration of the transition and is not web-observable.

Resolution: #8320 (comment)
Closes #8320

`auto` resolves to either the element's ID, or to a unique identifier
that is stable for the duration of the transition and is not web-observable.

Resolution: w3c#8320 (comment)
Closes w3c#8320
css-view-transitions-2/Overview.bs Outdated Show resolved Hide resolved
css-view-transitions-2/Overview.bs Outdated Show resolved Hide resolved
css-view-transitions-2/Overview.bs Outdated Show resolved Hide resolved
css-view-transitions-2/Overview.bs Show resolved Hide resolved
css-view-transitions-2/Overview.bs Outdated Show resolved Hide resolved
Co-authored-by: Khushal Sagar <[email protected]>
@noamr noamr merged commit 0ab99f3 into w3c:main Oct 1, 2024
1 check passed
@noamr noamr deleted the vt2-auto branch October 1, 2024 19:41
noamr added a commit to noamr/csswg-drafts that referenced this pull request Oct 2, 2024
* [css-view-transitions-2] Allow `auto` as a keyword

`auto` resolves to either the element's ID, or to a unique identifier
that is stable for the duration of the transition and is not web-observable.

Resolution: w3c#8320 (comment)
Closes w3c#8320

* Fix refs

* Tighten definition of unique string

* Update css-view-transitions-2/Overview.bs

Co-authored-by: Khushal Sagar <[email protected]>

* Handle scoping

* Change scoping text

* Change scoping text

* Update Overview.bs

Co-authored-by: Khushal Sagar <[email protected]>

---------

Co-authored-by: Khushal Sagar <[email protected]>

## Additions to 'view-transition-name' ## {#additions-to-vt-name}

In addition to the existing values, the 'view-transition-name' also accepts an <dfn for=view-transition-name type=value export>auto</dfn> keyword.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would have been useful for w3c tools, to define it with New values in a (partial) property definition table (exemple).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I was not aware of this, thanks. I'll upload a revision.

aarongable pushed a commit to chromium/chromium that referenced this pull request Oct 4, 2024
This allows generating view-transition-names automatically, reducing
the burden of inventing unique names from the user, in cases where the
element is the same (or has the same ID) between the two states.

See spec PR: w3c/csswg-drafts#10922

Change-Id: I1b6c6752acc7106929b08ac6fcdda9578d6402d3
Bug: 365997248
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5878355
Commit-Queue: Noam Rosenthal <[email protected]>
Reviewed-by: Khushal Sagar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1364180}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Oct 4, 2024
This allows generating view-transition-names automatically, reducing
the burden of inventing unique names from the user, in cases where the
element is the same (or has the same ID) between the two states.

See spec PR: w3c/csswg-drafts#10922

Change-Id: I1b6c6752acc7106929b08ac6fcdda9578d6402d3
Bug: 365997248
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5878355
Commit-Queue: Noam Rosenthal <[email protected]>
Reviewed-by: Khushal Sagar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1364180}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Oct 4, 2024
This allows generating view-transition-names automatically, reducing
the burden of inventing unique names from the user, in cases where the
element is the same (or has the same ID) between the two states.

See spec PR: w3c/csswg-drafts#10922

Change-Id: I1b6c6752acc7106929b08ac6fcdda9578d6402d3
Bug: 365997248
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5878355
Commit-Queue: Noam Rosenthal <[email protected]>
Reviewed-by: Khushal Sagar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1364180}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Oct 10, 2024
…testonly

Automatic update from web-platform-tests
Implement view-transition-name: auto

This allows generating view-transition-names automatically, reducing
the burden of inventing unique names from the user, in cases where the
element is the same (or has the same ID) between the two states.

See spec PR: w3c/csswg-drafts#10922

Change-Id: I1b6c6752acc7106929b08ac6fcdda9578d6402d3
Bug: 365997248
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5878355
Commit-Queue: Noam Rosenthal <[email protected]>
Reviewed-by: Khushal Sagar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1364180}

--

wpt-commits: 1a1d4ed2385977cf33fe1f5da2023c287a2f7288
wpt-pr: 48469
i3roly pushed a commit to i3roly/firefox-dynasty that referenced this pull request Oct 12, 2024
…testonly

Automatic update from web-platform-tests
Implement view-transition-name: auto

This allows generating view-transition-names automatically, reducing
the burden of inventing unique names from the user, in cases where the
element is the same (or has the same ID) between the two states.

See spec PR: w3c/csswg-drafts#10922

Change-Id: I1b6c6752acc7106929b08ac6fcdda9578d6402d3
Bug: 365997248
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5878355
Commit-Queue: Noam Rosenthal <[email protected]>
Reviewed-by: Khushal Sagar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1364180}

--

wpt-commits: 1a1d4ed2385977cf33fe1f5da2023c287a2f7288
wpt-pr: 48469
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 15, 2024
…testonly

Automatic update from web-platform-tests
Implement view-transition-name: auto

This allows generating view-transition-names automatically, reducing
the burden of inventing unique names from the user, in cases where the
element is the same (or has the same ID) between the two states.

See spec PR: w3c/csswg-drafts#10922

Change-Id: I1b6c6752acc7106929b08ac6fcdda9578d6402d3
Bug: 365997248
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5878355
Commit-Queue: Noam Rosenthal <nrosenthalchromium.org>
Reviewed-by: Khushal Sagar <khushalsagarchromium.org>
Cr-Commit-Position: refs/heads/main{#1364180}

--

wpt-commits: 1a1d4ed2385977cf33fe1f5da2023c287a2f7288
wpt-pr: 48469

UltraBlame original commit: 295ba3c31624ede939a6fd56f7279d8e3f2b2120
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 15, 2024
…testonly

Automatic update from web-platform-tests
Implement view-transition-name: auto

This allows generating view-transition-names automatically, reducing
the burden of inventing unique names from the user, in cases where the
element is the same (or has the same ID) between the two states.

See spec PR: w3c/csswg-drafts#10922

Change-Id: I1b6c6752acc7106929b08ac6fcdda9578d6402d3
Bug: 365997248
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5878355
Commit-Queue: Noam Rosenthal <nrosenthalchromium.org>
Reviewed-by: Khushal Sagar <khushalsagarchromium.org>
Cr-Commit-Position: refs/heads/main{#1364180}

--

wpt-commits: 1a1d4ed2385977cf33fe1f5da2023c287a2f7288
wpt-pr: 48469

UltraBlame original commit: 295ba3c31624ede939a6fd56f7279d8e3f2b2120
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 15, 2024
…testonly

Automatic update from web-platform-tests
Implement view-transition-name: auto

This allows generating view-transition-names automatically, reducing
the burden of inventing unique names from the user, in cases where the
element is the same (or has the same ID) between the two states.

See spec PR: w3c/csswg-drafts#10922

Change-Id: I1b6c6752acc7106929b08ac6fcdda9578d6402d3
Bug: 365997248
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5878355
Commit-Queue: Noam Rosenthal <nrosenthalchromium.org>
Reviewed-by: Khushal Sagar <khushalsagarchromium.org>
Cr-Commit-Position: refs/heads/main{#1364180}

--

wpt-commits: 1a1d4ed2385977cf33fe1f5da2023c287a2f7288
wpt-pr: 48469

UltraBlame original commit: 295ba3c31624ede939a6fd56f7279d8e3f2b2120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[css-view-transitions-2] view-transition-name determined by element
3 participants