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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 1820773002: getComputedStyle() should return used value for 'line-height' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index e8cfa48f05318a61df84761b8b96387380eef664..51d02a69db2e64b54ac29681403408f7ce465060 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -633,7 +633,7 @@ public:
const Length& specifiedLineHeight() const;
Length lineHeight() const;
- int computedLineHeight() const;
+ float computedLineHeight() const;
Timothy Loh 2016/04/11 03:32:16 Why is this changing?
nainar 2016/04/11 04:42:15 If I retain it as int we lose out on information.
Timothy Loh 2016/04/11 04:44:43 Doesn't this mean we're changing layout behaviour
EWhiteSpace whiteSpace() const { return static_cast<EWhiteSpace>(inherited_flags._white_space); }
static bool autoWrap(EWhiteSpace ws)

Powered by Google App Engine
This is Rietveld 408576698