mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
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:
parent
dc018b5f9f
commit
219a2f2038
7 changed files with 58 additions and 19 deletions
13
tests/wpt/meta/MANIFEST.json
vendored
13
tests/wpt/meta/MANIFEST.json
vendored
|
@ -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",
|
||||
[
|
||||
|
|
30
tests/wpt/tests/css/CSS2/floats/new-fc-beside-float-with-min-width.html
vendored
Normal file
30
tests/wpt/tests/css/CSS2/floats/new-fc-beside-float-with-min-width.html
vendored
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue