commit bccd86ae369c1c1c22ffe897596d8182e33b990e
parent 7c3eaeff1276adcf60651b780d964f53ea348ae1
Author: Tim Nguyen <nt1m@users.noreply.github.com>
Date: Tue, 21 Oct 2025 10:38:15 +0000
Bug 1995112 [wpt PR 55523] - Fix new-content-transform-position-fixed.html to pass with colored scrollbars, a=testonly
Automatic update from web-platform-tests
Fix new-content-transform-position-fixed.html to pass with colored scrollbars (#55523)
Add lightpink background to root element so macOS Tahoe scrollbar heuristic picks up lightpink instead of white as scrollbar background. Red box-shadow is added on the root to distinguish it from the `::view-transition` pseudo-element.
--
wpt-commits: c4d24fa4abeb2cc01b58535cbaeec876eb9be368
wpt-pr: 55523
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/testing/web-platform/tests/css/css-view-transitions/new-content-transform-position-fixed.html b/testing/web-platform/tests/css/css-view-transitions/new-content-transform-position-fixed.html
@@ -8,6 +8,11 @@
<script src="/common/reftest-wait.js"></script>
<script src="../../../../../resources/ui-helper.js"></script>
<style>
+:root {
+ background: lightpink;
+ box-shadow: 10px 0 0 0 inset red;
+}
+
.box {
background: lightblue;
width: 100px;