Files
sousa-gecko/testing/web-platform/tests/css/css-position/backdrop-ua-style.html
T
EyvLil 60fde18810 Bug 2043084 [wpt PR 60207] - Added tests for ::backdrop UA styles, a=testonly
Automatic update from web-platform-tests
Added tests for ::backdrop UA styles (#60207)
--

wpt-commits: 28db93d0c8f525cf146dda940887011453a9f896
wpt-pr: 60207
2026-06-02 10:25:21 +00:00

24 lines
835 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Positioned Layout Test: ::backdrop UA styles"</title>
<link rel="author" title="Eyvind Lillesveen" href="mailto:eyvind.lillesveen@gmail.com">
<link rel="help" href="https://drafts.csswg.org/css-position-4/#backdrop">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<div id="elm"></div>
<script>
test(() => {
const backdrop_style = getComputedStyle(elm, "::backdrop");
assert_equals(backdrop_style.position, "fixed");
assert_equals(backdrop_style.top, "0px");
assert_equals(backdrop_style.right, "0px");
assert_equals(backdrop_style.left, "0px");
assert_equals(backdrop_style.bottom, "0px");
}, "UA styles for ::backdrop");
</script>
</body>
</html>