Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
index e9d007419042c786cccfc583a3b5e339e3730c45..23fe093e9d4c38fb5da325bcd5e321cd867278c7 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
@@ -30,11 +30,13 @@ |
#include "core/layout/LayoutBlockFlow.h" |
+#include "core/InputTypeNames.h" |
#include "core/dom/AXObjectCache.h" |
#include "core/frame/FrameView.h" |
#include "core/frame/LocalFrame.h" |
#include "core/frame/Settings.h" |
#include "core/html/HTMLDialogElement.h" |
+#include "core/html/HTMLInputElement.h" |
#include "core/layout/HitTestLocation.h" |
#include "core/layout/LayoutAnalyzer.h" |
#include "core/layout/LayoutFlowThread.h" |
@@ -319,6 +321,9 @@ void LayoutBlockFlow::layoutBlock(bool relayoutChildren) |
if (isHTMLDialogElement(node()) && isOutOfFlowPositioned()) |
positionDialog(); |
+ if (isHTMLInputElement(node()) && toHTMLInputElement(*node()).type() == InputTypeNames::radio) |
keishi
2016/02/16 02:22:47
We try to avoid the "if (input.type==foo) input.ba
je_julie(Not used)
2016/02/16 05:19:03
OK. I'll update it on next patch.
|
+ toHTMLInputElement(*node()).needUpdatePositionOfRadioGroup(); |
+ |
clearNeedsLayout(); |
} |