layout: Take margins in the inline direction into account when

guessing the inline-size of block formatting contexts.

Fixes the layout on reddit.com.

Partially addresses #10571.
This commit is contained in:
Patrick Walton 2016-05-10 17:10:37 -07:00
parent 40be84df26
commit b6bed345f5
5 changed files with 100 additions and 14 deletions

View file

@ -616,6 +616,18 @@
"url": "/_mozilla/css/block_formatting_context_margin_collapse_a.html"
}
],
"css/block_formatting_context_margin_inout_a.html": [
{
"path": "css/block_formatting_context_margin_inout_a.html",
"references": [
[
"/_mozilla/css/block_formatting_context_margin_inout_ref.html",
"=="
]
],
"url": "/_mozilla/css/block_formatting_context_margin_inout_a.html"
}
],
"css/block_formatting_context_max_width_a.html": [
{
"path": "css/block_formatting_context_max_width_a.html",
@ -7410,6 +7422,18 @@
"url": "/_mozilla/css/block_formatting_context_margin_collapse_a.html"
}
],
"css/block_formatting_context_margin_inout_a.html": [
{
"path": "css/block_formatting_context_margin_inout_a.html",
"references": [
[
"/_mozilla/css/block_formatting_context_margin_inout_ref.html",
"=="
]
],
"url": "/_mozilla/css/block_formatting_context_margin_inout_a.html"
}
],
"css/block_formatting_context_max_width_a.html": [
{
"path": "css/block_formatting_context_max_width_a.html",