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>
33 lines
474 B
HTML
33 lines
474 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
.container {
|
|
display: flex;
|
|
overflow: auto;
|
|
width: 500px;
|
|
position: relative;
|
|
}
|
|
|
|
.container {
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.child {
|
|
width: 1900px;
|
|
height: 100px;
|
|
flex-shrink: 0;
|
|
background: lightblue;
|
|
}
|
|
.sticky {
|
|
position: absolute;
|
|
left: 0;
|
|
width: 100px;
|
|
height: 100px;
|
|
flex-shrink: 0;
|
|
background: lightgreen;
|
|
}
|
|
</style>
|
|
<div class="container" dir="rtl">
|
|
<div class="child">1</div>
|
|
<div class="sticky">20</div>
|
|
</div>
|