1
0
Fork 0
firefox/testing/web-platform/tests/css/css-inline/text-box-trim/text-box-trim-float-start-001.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

24 lines
645 B
HTML

<!DOCTYPE html>
<title>Tests BFC resolves at the box trimmed by `text-box-trim`.</title>
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-trim">
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-edge">
<link rel="match" href="text-box-trim-float-start-001-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
.float {
float: left;
width: 100px;
height: 50px;
background: yellow;
}
.text {
margin-top: 100px;
font: 50px/3 Ahem;
text-box-trim: trim-start;
text-box-edge: text;
}
</style>
<div>
<div class="float"></div>
<div class="text">A</div>
</div>