Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-backgrounds-css3-background-clip-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

26 lines
794 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS Background-clip Test: the background is pruned to content box</title>
<link rel="author" title="Xie Bing" href="mailto:451887565@qq.com">
<link rel="reviewer" title="Dayang Shen" href="mailto:shendayang@baidu.com"> <!-- 2013-09-03 -->
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-width">
<link rel="match" href="reference/css3-background-clip-ref.html"/>
<style type="text/css">
div{
width:300px;
height:300px;
padding:50px;
border:10px dashed #000000;
background-color:yellow;
background-clip:content-box;
}
</style>
</head>
<body>
<p>The test passes if the background is pruned to content box.</p>
<div>Inner area!</div>
</body>
</html>