Index: Source/core/layout/LayoutFieldset.cpp |
diff --git a/Source/core/layout/LayoutFieldset.cpp b/Source/core/layout/LayoutFieldset.cpp |
index ecd61e67a409a040b310f86a089775ac5ffbbccf..96e01e150698a2f6cc8c9a827598f56fc8b53abd 100644 |
--- a/Source/core/layout/LayoutFieldset.cpp |
+++ b/Source/core/layout/LayoutFieldset.cpp |
@@ -67,7 +67,7 @@ LayoutObject* LayoutFieldset::layoutSpecialExcludedChild(bool relayoutChildren, |
LayoutBox* legend = findLegend(); |
if (legend) { |
if (relayoutChildren) |
- legend->setNeedsLayoutAndFullPaintInvalidation(); |
+ legend->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::FieldsetChanged); |
legend->layoutIfNeeded(); |
LayoutUnit logicalLeft; |