Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFieldset.cpp

Issue 1583083003: Fieldset uses marginLeft for marginRight by mistake (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify test case's some parts commented by esprehn Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/forms/fieldset/legend-margin-with-float-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutFieldset.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp b/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp
index dd4b46f1b56a985c7a8e63a7da4b7495902cde77..fa14c3f7fbe9a6e6c102202316092b4d98dbdd70 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp
@@ -46,7 +46,7 @@ void LayoutFieldset::computePreferredLogicalWidths()
int legendMinWidth = legend->minPreferredLogicalWidth();
Length legendMarginLeft = legend->style()->marginLeft();
- Length legendMarginRight = legend->style()->marginLeft();
+ Length legendMarginRight = legend->style()->marginRight();
if (legendMarginLeft.isFixed())
legendMinWidth += legendMarginLeft.value();
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/forms/fieldset/legend-margin-with-float-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698