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

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

Issue 2737673003: Revert of Catch up the spec update in CSS Rhythmic Sizing (Closed)
Patch Set: 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 aff1dfd3fb8547857b1376a596b62b3b42da6687..340e8b6f3fd66282fca8d5435e605ded708ecb46 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1942,13 +1942,18 @@
QuotesData* quotes() const { return m_rareInheritedData->quotes.get(); }
void setQuotes(PassRefPtr<QuotesData>);
- // line-height-step
- static uint8_t initialLineHeightStep() { return 0; }
- uint8_t lineHeightStep() const {
- return m_rareInheritedData->m_lineHeightStep;
- }
- void setLineHeightStep(uint8_t unit) {
- SET_VAR(m_rareInheritedData, m_lineHeightStep, unit);
+ // snap-height
+ uint8_t snapHeightPosition() const {
+ return m_rareInheritedData->m_snapHeightPosition;
+ }
+ 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);
}
// 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