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

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

Issue 2736043002: Re-land Catch up the spec update in CSS Rhythmic Sizing (Closed)
Patch Set: Fix core/BUILD.gn Created 3 years, 9 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 ed8e7e1d62eaebd494ea9261bb7fd8b15e9887b9..bd5e230f315d6cf069ea08866b985fbc12c038fe 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1942,18 +1942,13 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
QuotesData* quotes() const { return m_rareInheritedData->quotes.get(); }
void setQuotes(PassRefPtr<QuotesData>);
- // snap-height
- uint8_t snapHeightPosition() const {
- return m_rareInheritedData->m_snapHeightPosition;
+ // line-height-step
+ static uint8_t initialLineHeightStep() { return 0; }
+ uint8_t lineHeightStep() const {
+ return m_rareInheritedData->m_lineHeightStep;
}
- uint8_t snapHeightUnit() const {
- return m_rareInheritedData->m_snapHeightUnit;
- }
- void setSnapHeightPosition(uint8_t position) {
- SET_VAR(m_rareInheritedData, m_snapHeightPosition, position);
- }
- void setSnapHeightUnit(uint8_t unit) {
- SET_VAR(m_rareInheritedData, m_snapHeightUnit, unit);
+ void setLineHeightStep(uint8_t unit) {
+ SET_VAR(m_rareInheritedData, m_lineHeightStep, unit);
}
// speak
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698