From fb8263d8238017bdf10c57b97fc0f5f6170b6573 Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Fri, 5 Jul 2024 09:53:43 -0700 Subject: [PATCH] View transitions: names should be tree-scoped rather then nodes See spec PR: https://github.com/w3c/csswg-drafts/pull/10528 Using a new runtime flag so that it can be backported to M127. Bug: 349653208 Change-Id: Ifce6ee159ca44c5d8a54739ef050354eed5acf22 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5678884 Commit-Queue: Noam Rosenthal Reviewed-by: Khushal Sagar Cr-Commit-Position: refs/heads/main@{#1323734} --- .../shadow-part-with-name-nested.html | 53 +++++++++++++++++ ...art-with-name-overridden-by-important.html | 59 +++++++++++++++++++ .../shadow-part-with-name.html | 51 ++++++++++++++++ 3 files changed, 163 insertions(+) create mode 100644 css/css-view-transitions/shadow-part-with-name-nested.html create mode 100644 css/css-view-transitions/shadow-part-with-name-overridden-by-important.html create mode 100644 css/css-view-transitions/shadow-part-with-name.html diff --git a/css/css-view-transitions/shadow-part-with-name-nested.html b/css/css-view-transitions/shadow-part-with-name-nested.html new file mode 100644 index 00000000000000..e34903a4a2218a --- /dev/null +++ b/css/css-view-transitions/shadow-part-with-name-nested.html @@ -0,0 +1,53 @@ + + +View transitions: nested shadow parts should work with view-transition-name + + + + + + + + + + + + \ No newline at end of file diff --git a/css/css-view-transitions/shadow-part-with-name-overridden-by-important.html b/css/css-view-transitions/shadow-part-with-name-overridden-by-important.html new file mode 100644 index 00000000000000..139fbd01b76cf4 --- /dev/null +++ b/css/css-view-transitions/shadow-part-with-name-overridden-by-important.html @@ -0,0 +1,59 @@ + + +View transitions: shadow parts should give precedence to !important + + + + + +
+ + + + + + + + diff --git a/css/css-view-transitions/shadow-part-with-name.html b/css/css-view-transitions/shadow-part-with-name.html new file mode 100644 index 00000000000000..192fbca20c9924 --- /dev/null +++ b/css/css-view-transitions/shadow-part-with-name.html @@ -0,0 +1,51 @@ + + +View transitions: shadow parts + + + + + + + + + + + +