Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
| index 007c6f9921e3a9d44d789a19655c9229f9ecde7a..df17d22b91bdd7bf115c9d9c5466bf7404e3d146 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
| @@ -1627,6 +1627,8 @@ LayoutUnit LayoutBox::containingBlockLogicalWidthForContent() const |
| return overrideContainingBlockContentLogicalWidth(); |
| LayoutBlock* cb = containingBlock(); |
| + if (!isTable() && styleRef().position() == AbsolutePosition) |
|
mstensho (USE GERRIT)
2016/05/11 08:36:22
Why not for tables?
And rather than "styleRef().p
Deokjin Kim
2016/05/11 14:10:04
In case of tables, even though the absolute positi
mstensho (USE GERRIT)
2016/05/12 09:34:03
That's weird. I don't think there's anything in th
Deokjin Kim
2016/05/12 11:24:20
In updateLogicalWidth() of LayoutTable.cpp, if abs
|
| + return cb->clientLogicalWidth(); |
|
mstensho (USE GERRIT)
2016/05/11 08:36:22
Right, the padding box (and not the content box) o
Deokjin Kim
2016/05/11 14:10:04
First time I thought that this code is only used f
|
| return cb->availableLogicalWidth(); |
| } |