From 598be9d0c13be9b10bcdac3c668e24f631d5bb67 Mon Sep 17 00:00:00 2001 From: Alan Stearns Date: Thu, 7 Mar 2024 13:10:23 -0800 Subject: [PATCH 1/2] update test to expect shadow trees to find document keyframes --- css/css-scoping/keyframes-002.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css/css-scoping/keyframes-002.html b/css/css-scoping/keyframes-002.html index b80b250460be29..3a92fd12513566 100644 --- a/css/css-scoping/keyframes-002.html +++ b/css/css-scoping/keyframes-002.html @@ -1,5 +1,5 @@ -CSS Test: @keyframes from the document don't apply in the shadow tree. +CSS Test: @keyframes from the document should apply in the shadow tree. @@ -29,6 +29,6 @@
`; - assert_equals(host.shadowRoot.getElementById('in-shadow').getAnimations().length, 0); -}, "@keyframes from the document don't apply in the shadow tree"); + assert_equals(host.shadowRoot.getElementById('in-shadow').getAnimations().length, 1); +}, "@keyframes from the document should apply in the shadow tree"); From c122851491769182dfe5aaacafe16c1b29768010 Mon Sep 17 00:00:00 2001 From: Alan Stearns Date: Thu, 7 Mar 2024 13:25:25 -0800 Subject: [PATCH 2/2] always missing updating comments --- css/css-scoping/keyframes-001.html | 5 +---- css/css-scoping/keyframes-002.html | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/css/css-scoping/keyframes-001.html b/css/css-scoping/keyframes-001.html index b0a95ac6865674..56f0f32dcf901e 100644 --- a/css/css-scoping/keyframes-001.html +++ b/css/css-scoping/keyframes-001.html @@ -4,10 +4,7 @@ - +