aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/tests/css/css-values/tree-counting/calc-sibling-function-in-shadow-dom.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/tests/css/css-values/tree-counting/calc-sibling-function-in-shadow-dom.html')
-rw-r--r--tests/wpt/tests/css/css-values/tree-counting/calc-sibling-function-in-shadow-dom.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/wpt/tests/css/css-values/tree-counting/calc-sibling-function-in-shadow-dom.html b/tests/wpt/tests/css/css-values/tree-counting/calc-sibling-function-in-shadow-dom.html
index 92fb6ce3351..ca8eb560ba1 100644
--- a/tests/wpt/tests/css/css-values/tree-counting/calc-sibling-function-in-shadow-dom.html
+++ b/tests/wpt/tests/css/css-values/tree-counting/calc-sibling-function-in-shadow-dom.html
@@ -33,9 +33,9 @@
<slot></slot>
</div>
`;
- assert_equals(getComputedStyle(target).zIndex, '3');
- assert_equals(getComputedStyle(target).order, '3');
- assert_equals(getComputedStyle(target).orphans, '3');
- assert_equals(getComputedStyle(target).widows, '3');
- }, 'Host children have sibling-index() and sibling-count() based on assignedNodes order');
+ assert_equals(getComputedStyle(target).zIndex, '4');
+ assert_equals(getComputedStyle(target).order, '4');
+ assert_equals(getComputedStyle(target).orphans, '4');
+ assert_equals(getComputedStyle(target).widows, '4');
+ }, 'Host children have sibling-index() and sibling-count() based on the DOM tree order');
</script>