mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Implement sequential fallback to float speculation
Fixes #13284 Fixes #13223
This commit is contained in:
parent
ef1b594f48
commit
fe2018682b
10 changed files with 184 additions and 35 deletions
|
@ -1,3 +0,0 @@
|
|||
[block-formatting-contexts-015.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[floats-bfc-002.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1592,6 +1592,18 @@
|
|||
"url": "/_mozilla/css/float_clearance_intrinsic_width_a.html"
|
||||
}
|
||||
],
|
||||
"css/float_cleared_with_just_height.html": [
|
||||
{
|
||||
"path": "css/float_cleared_with_just_height.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/float_cleared_with_just_height_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/float_cleared_with_just_height.html"
|
||||
}
|
||||
],
|
||||
"css/float_intrinsic_height.html": [
|
||||
{
|
||||
"path": "css/float_intrinsic_height.html",
|
||||
|
@ -15230,6 +15242,18 @@
|
|||
"url": "/_mozilla/css/float_clearance_intrinsic_width_a.html"
|
||||
}
|
||||
],
|
||||
"css/float_cleared_with_just_height.html": [
|
||||
{
|
||||
"path": "css/float_cleared_with_just_height.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/float_cleared_with_just_height_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/float_cleared_with_just_height.html"
|
||||
}
|
||||
],
|
||||
"css/float_intrinsic_height.html": [
|
||||
{
|
||||
"path": "css/float_intrinsic_height.html",
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>floats can be cleared with just height</title>
|
||||
<link rel="match" href="float_cleared_with_just_height_ref.html">
|
||||
<style>
|
||||
.a {
|
||||
height: 20px;
|
||||
}
|
||||
.b {
|
||||
height: 10px;
|
||||
width: 50px;
|
||||
float: right;
|
||||
}
|
||||
.c {
|
||||
border: solid 1px #000;
|
||||
background: red;
|
||||
height: 10px;
|
||||
overflow: auto
|
||||
}
|
||||
</style>
|
||||
<div class=b></div>
|
||||
<div class=a></div>
|
||||
<div class=b></div>
|
||||
<div class=a></div>
|
||||
<div class=c></div>
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>REFERENCE: floats can be cleared with just height</title>
|
||||
<style>
|
||||
.a {
|
||||
height: 20px;
|
||||
}
|
||||
.c {
|
||||
border: solid 1px #000;
|
||||
background: red;
|
||||
height: 10px;
|
||||
overflow: auto
|
||||
}
|
||||
</style>
|
||||
<div class=a></div>
|
||||
<div class=a></div>
|
||||
<div class=c></div>
|
Loading…
Add table
Add a link
Reference in a new issue