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>
23 lines
608 B
HTML
23 lines
608 B
HTML
<!DOCTYPE html>
|
|
<title>background-clip:border-area on the root</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#propdef-background-clip">
|
|
<link rel="match" href="clip-border-area-on-body-not-propagated-to-root-ref.html">
|
|
<style>
|
|
html, body {
|
|
box-sizing: border-box;
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
html {
|
|
background-color: white;
|
|
}
|
|
body {
|
|
border: 20px solid transparent;
|
|
background-color: green;
|
|
background-clip: border-area;
|
|
padding: 10px;
|
|
}
|
|
</style>
|
|
|
|
There should be a 20px green border around the edge of the viewport. This text should be black on a white background.
|