Cleanup after #33396 (#33429)

Mostly formatting improvements, but also recovering a pair of parenthesis
that was accidentally removed, changing the logic.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2024-09-12 21:23:17 +02:00 committed by GitHub
parent dc018b5f9f
commit 219a2f2038
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 58 additions and 19 deletions

View file

@ -55302,6 +55302,19 @@
{}
]
],
"new-fc-beside-float-with-min-width.html": [
"6337a1f9ff88c2fe27c1c4e26a51d49c68901836",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"new-fc-relayout.html": [
"97d8b9a2ff1f3be8aeab2c26817e7542511c59cb",
[

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com" />
<link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#bfc-next-to-float" title="9.5 Floats">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="#bfc should be 50px wide, not just 25px as per its min-width">
<style>
#wrapper {
width: 100px;
height: 100px;
background: red;
}
#float {
float: left;
width: 50px;
height: 100px;
background: green;
}
#bfc {
overflow: hidden;
height: 100px;
min-width: 25px;
background: green;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div id="wrapper">
<div id="float"></div>
<div id="bfc"></div>
</div>