Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-backgrounds-inner-border-non-renderable-test.html
Zachary D. Rowitsch 16abbd78e7 Bulk-import 2899 WPT CSS reftests and add import tooling
Add scripts/import_wpt_reftests.py to sparse-clone the upstream WPT repo
and bulk-import qualifying CSS reftests (no JS, no external resources) as
known_fail entries. 23 tests already pass and are promoted. The import
script is idempotent and exposed via `just import-wpt`. CI now prints the
WPT summary (pass=36 known_fail=2877 skip=1) on every run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 00:15:27 -05:00

40 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Testing that child-background doesn't bleed through its parent border for a inner-border-radius that is larger than the content rect</title>
<link rel="match" href="inner-border-non-renderable-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-radius">
<link rel="assert" content="Testing that child-background doesn't bleed through its parent border for a inner-border-radius that is larger than the content rect">
<style>
body {
font-size: 24px;
color: black;
margin: 8px;
}
.clipping {
width: 300px;
height: 200px;
overflow: hidden;
border: 30px solid green;
border-top-color: gold;
border-top-right-radius: 150px 267px;
background-color: blue;
}
.composited {
width: 100%;
height: 100%;
background-color: blue;
}
.clip-test {
clip-path: inset(60px 10px 190px 320px);
}
</style>
</head>
<body>
<div> Test passes if no blue square is shown:</div>
<div class="clipping clip-test">
<div class="composited"></div>
</div>
</body>
</html>