Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-position-sticky-position-sticky-table-td-subpixel-zoom-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

37 lines
850 B
HTML

<!DOCTYPE html>
<!-- Passes if a black transparent rectangle is painted with 1px borders. -->
<html style="zoom: 1.5625; overflow:hidden;">
<link rel="help" href="https://www.w3.org/TR/css-position-3/#sticky-pos" />
<meta name="assert" content="Position sticky pixel-snaps correctly under zoom" />
<link rel="match" href="position-sticky-table-td-subpixel-zoom-ref.html" />
<style>
table {
border-spacing: 0; width:200px;}
tr {
top: 0; position: sticky;
}
td {
border: 1px solid black;
width: 100px;
height: 20px;
}
div::-webkit-scrollbar {
display: none;
}
div {
height:100px;
overflow:auto;
}
</style>
<div style="">
<table>
<tr>
<td style="";></td>
</tr>
</table>
<div style="height: 1000px;"></div>
</div>
</html>