mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Auto merge of #13302 - pcwalton:negative-margin-speculation, r=notriddle
layout: Disable the speculation of block formatting contexts' inline sizes if the block formatting contexts have negative margins. The heuristics that determine how and whether floats flow into the margins are not valid in that case. Closes #13299. r? @notriddle <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13302) <!-- Reviewable:end -->
This commit is contained in:
commit
993fbc4320
4 changed files with 195 additions and 26 deletions
|
@ -652,6 +652,18 @@
|
|||
"url": "/_mozilla/css/block_formatting_context_max_width_a.html"
|
||||
}
|
||||
],
|
||||
"css/block_formatting_context_negative_margins_a.html": [
|
||||
{
|
||||
"path": "css/block_formatting_context_negative_margins_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/block_formatting_context_negative_margins_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/block_formatting_context_negative_margins_a.html"
|
||||
}
|
||||
],
|
||||
"css/block_formatting_context_overflow_a.html": [
|
||||
{
|
||||
"path": "css/block_formatting_context_overflow_a.html",
|
||||
|
@ -10064,6 +10076,18 @@
|
|||
"url": "/_mozilla/css/block_formatting_context_max_width_a.html"
|
||||
}
|
||||
],
|
||||
"css/block_formatting_context_negative_margins_a.html": [
|
||||
{
|
||||
"path": "css/block_formatting_context_negative_margins_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/block_formatting_context_negative_margins_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/block_formatting_context_negative_margins_a.html"
|
||||
}
|
||||
],
|
||||
"css/block_formatting_context_overflow_a.html": [
|
||||
{
|
||||
"path": "css/block_formatting_context_overflow_a.html",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue