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>
60 lines
986 B
HTML
60 lines
986 B
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<title>cross-axis top and left overflow</title>
|
|
<link rel="author" title="Google, Inc." href="http://www.google.com/">
|
|
<link rel="match" href="overflow-top-left-ref.html">
|
|
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#cross-sizing">
|
|
</head>
|
|
|
|
<style>
|
|
.row-wrapper, .column-wrapper {
|
|
margin: 4px 0;
|
|
overflow: auto;
|
|
display: flex;
|
|
direction: rtl;
|
|
border: 2px solid black;
|
|
}
|
|
|
|
.column-wrapper {
|
|
width: 300px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.row-wrapper {
|
|
height: 300px;
|
|
flex-direction: column;
|
|
writing-mode: vertical-rl;
|
|
}
|
|
|
|
.column-wrapper > div {
|
|
margin: 4px;
|
|
height: 30px;
|
|
background: #CCC;
|
|
}
|
|
|
|
.h-overflow {
|
|
width: 500px;
|
|
}
|
|
|
|
.row-wrapper > div {
|
|
margin: 4px;
|
|
width: 30px;
|
|
background: #CCC;
|
|
}
|
|
|
|
.v-overflow {
|
|
height: 500px;
|
|
}
|
|
</style>
|
|
|
|
<div class=column-wrapper>
|
|
<div>one</div>
|
|
<div class=h-overflow>two</div>
|
|
</div>
|
|
|
|
<div class=row-wrapper>
|
|
<div>one</div>
|
|
<div class=v-overflow>two</div>
|
|
</div>
|