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

Side by Side Diff: third_party/WebKit/Source/core/style/StyleRareInheritedData.h

Issue 1696373003: Add CSS parser support for the snap-height property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 unsigned m_rubyPosition : 1; // RubyPosition 138 unsigned m_rubyPosition : 1; // RubyPosition
139 139
140 // Though will-change is not itself an inherited property, the intent 140 // Though will-change is not itself an inherited property, the intent
141 // expressed by 'will-change: contents' includes descendants. 141 // expressed by 'will-change: contents' includes descendants.
142 unsigned m_subtreeWillChangeContents : 1; 142 unsigned m_subtreeWillChangeContents : 1;
143 143
144 unsigned m_selfOrAncestorHasDirAutoAttribute : 1; 144 unsigned m_selfOrAncestorHasDirAutoAttribute : 1;
145 145
146 unsigned m_respectImageOrientation : 1; 146 unsigned m_respectImageOrientation : 1;
147 147
148 unsigned m_snapHeightPosition : 7;
149
148 AtomicString hyphenationString; 150 AtomicString hyphenationString;
149 short hyphenationLimitBefore; 151 short hyphenationLimitBefore;
150 short hyphenationLimitAfter; 152 short hyphenationLimitAfter;
151 short hyphenationLimitLines; 153 short hyphenationLimitLines;
152 154
155 uint8_t m_snapHeightUnit;
156
153 AtomicString textEmphasisCustomMark; 157 AtomicString textEmphasisCustomMark;
154 RefPtr<QuotesData> quotes; 158 RefPtr<QuotesData> quotes;
155 159
156 Color tapHighlightColor; 160 Color tapHighlightColor;
157 161
158 RefPtr<AppliedTextDecorationList> appliedTextDecorations; 162 RefPtr<AppliedTextDecorationList> appliedTextDecorations;
159 TabSize m_tabSize; 163 TabSize m_tabSize;
160 164
161 RefPtr<StyleVariableData> variables; 165 RefPtr<StyleVariableData> variables;
162 166
163 private: 167 private:
164 StyleRareInheritedData(); 168 StyleRareInheritedData();
165 StyleRareInheritedData(const StyleRareInheritedData&); 169 StyleRareInheritedData(const StyleRareInheritedData&);
166 }; 170 };
167 171
168 } // namespace blink 172 } // namespace blink
169 173
170 #endif // StyleRareInheritedData_h 174 #endif // StyleRareInheritedData_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698