summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-properties-values-api/at-property-shadow.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /testing/web-platform/tests/css/css-properties-values-api/at-property-shadow.html
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.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/at-property-shadow.html')
-rw-r--r--testing/web-platform/tests/css/css-properties-values-api/at-property-shadow.html10
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>