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>
36 lines
679 B
HTML
36 lines
679 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://www.w3.org/TR/css-position-3/#sticky-pos" />
|
|
<meta name="assert" content="Position sticky works correctly with rtl" />
|
|
<link rel="match" href="position-sticky-rtl-ref.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: sticky;
|
|
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>
|