From 9879972e9350286c2e930ab8ee089a099b097fe3 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Wed, 8 Nov 2023 15:23:17 +0000 Subject: [PATCH] Bug 1859959 [wpt PR 42623] - Rewrite property-cascade.html with getComputedStyle(), a=testonly Automatic update from web-platform-tests Rewrite property-cascade.html with getComputedStyle() (#42623) Fixes https://github.com/web-platform-tests/interop/issues/588 -- wpt-commits: 0d569c25cc1d7265e8eb92ead6049600edef4a1b wpt-pr: 42623 UltraBlame original commit: 356d689d5441d068224f52a979715941a3172c61 --- .../property-cascade.html | 42 +++---------------- 1 file changed, 6 insertions(+), 36 deletions(-) diff --git a/testing/web-platform/tests/css/css-properties-values-api/property-cascade.html b/testing/web-platform/tests/css/css-properties-values-api/property-cascade.html index 9d17945520e1d..fbba32b189c45 100644 --- a/testing/web-platform/tests/css/css-properties-values-api/property-cascade.html +++ b/testing/web-platform/tests/css/css-properties-values-api/property-cascade.html @@ -231,23 +231,13 @@ . assert_equals ( -inner -. -computedStyleMap +getComputedStyle ( +inner ) . -get -( -' color ' -) -. -toString -( -) -' rgb ( 1 @@ -345,23 +335,13 @@ . assert_equals ( -inner -. -computedStyleMap +getComputedStyle ( +inner ) . -get -( -' color ' -) -. -toString -( -) -' rgb ( 3 @@ -499,23 +479,13 @@ ; assert_equals ( -element -. -computedStyleMap +getComputedStyle ( +element ) . -get -( -' color ' -) -. -toString -( -) -' rgb ( 4