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>
29 lines
742 B
HTML
29 lines
742 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level" />
|
|
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo" />
|
|
<link rel="match" href="block-in-inline-first-line-001-ref.html"/>
|
|
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org" />
|
|
<style>
|
|
div::first-line {
|
|
background: orange;
|
|
}
|
|
</style>
|
|
<body>
|
|
<div>
|
|
<span>
|
|
First line.<br>
|
|
Second line.
|
|
<div>
|
|
First line in 1st block box.<br>
|
|
Second line.
|
|
</div>
|
|
<div>
|
|
First line in 2nd block box.<br>
|
|
Second line.
|
|
</div>
|
|
First line after block-in-inline is not ::first-line.<br>
|
|
Second line.
|
|
</span>
|
|
</div>
|
|
</body>
|