diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /testing/web-platform/tests/css/css-properties-values-api | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-properties-values-api')
-rw-r--r-- | testing/web-platform/tests/css/css-properties-values-api/at-property-shadow.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/web-platform/tests/css/css-properties-values-api/at-property-shadow.html b/testing/web-platform/tests/css/css-properties-values-api/at-property-shadow.html index db282d10b0..69f4f4c107 100644 --- a/testing/web-platform/tests/css/css-properties-values-api/at-property-shadow.html +++ b/testing/web-platform/tests/css/css-properties-values-api/at-property-shadow.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1/#at-property-rule"> +<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1/#shadow-dom"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="./resources/utils.js"></script> @@ -16,7 +16,7 @@ </style> <template id=template> <style> - /* This rule should have no effect */ + /* This rule should be globally registered */ @property --y { syntax: "<length>"; inherits: false; @@ -38,9 +38,9 @@ test(() => { root.append(template.content.cloneNode(true)); let inside = root.querySelector('#inside'); assert_equals(getComputedStyle(outside).getPropertyValue('--x'), '2px'); - assert_equals(getComputedStyle(outside).getPropertyValue('--y'), 'calc(1px + 1px)'); + assert_equals(getComputedStyle(outside).getPropertyValue('--y'), '2px'); assert_equals(getComputedStyle(inside).getPropertyValue('--x'), '2px'); - assert_equals(getComputedStyle(inside).getPropertyValue('--y'), 'calc(1px + 1px)'); -}, '@property rules in shadow trees should have no effect'); + assert_equals(getComputedStyle(inside).getPropertyValue('--y'), '2px'); +}, '@property rules in shadow trees should be globally registered'); </script> |