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

Side by Side Diff: Source/core/rendering/style/StyleRareInheritedData.h

Issue 40733004: Replace compile flag with runtime check for text-underline-position (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Julien's review #2 (rebased) Created 7 years, 1 month 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 | Annotate | Revision Log
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 unsigned textEmphasisPosition : 1; // TextEmphasisPosition 94 unsigned textEmphasisPosition : 1; // TextEmphasisPosition
95 unsigned m_textAlignLast : 3; // TextAlignLast 95 unsigned m_textAlignLast : 3; // TextAlignLast
96 unsigned m_textJustify : 2; // TextJustify 96 unsigned m_textJustify : 2; // TextJustify
97 unsigned m_textOrientation : 2; // TextOrientation 97 unsigned m_textOrientation : 2; // TextOrientation
98 unsigned m_textIndentLine : 1; // TextIndentEachLine 98 unsigned m_textIndentLine : 1; // TextIndentEachLine
99 unsigned m_lineBoxContain: 7; // LineBoxContain 99 unsigned m_lineBoxContain: 7; // LineBoxContain
100 // CSS Image Values Level 3 100 // CSS Image Values Level 3
101 unsigned m_imageRendering : 2; // EImageRendering 101 unsigned m_imageRendering : 2; // EImageRendering
102 unsigned m_lineSnap : 2; // LineSnap 102 unsigned m_lineSnap : 2; // LineSnap
103 unsigned m_lineAlign : 1; // LineAlign 103 unsigned m_lineAlign : 1; // LineAlign
104 #if ENABLE(CSS3_TEXT)
105 unsigned m_textUnderlinePosition : 3; // TextUnderlinePosition 104 unsigned m_textUnderlinePosition : 3; // TextUnderlinePosition
106 #endif // CSS3_TEXT
107 unsigned m_rubyPosition : 1; // RubyPosition 105 unsigned m_rubyPosition : 1; // RubyPosition
108 unsigned m_touchActionDelay : 1; // TouchActionDelay 106 unsigned m_touchActionDelay : 1; // TouchActionDelay
109 107
110 AtomicString hyphenationString; 108 AtomicString hyphenationString;
111 short hyphenationLimitBefore; 109 short hyphenationLimitBefore;
112 short hyphenationLimitAfter; 110 short hyphenationLimitAfter;
113 short hyphenationLimitLines; 111 short hyphenationLimitLines;
114 112
115 AtomicString locale; 113 AtomicString locale;
116 114
117 AtomicString textEmphasisCustomMark; 115 AtomicString textEmphasisCustomMark;
118 RefPtr<QuotesData> quotes; 116 RefPtr<QuotesData> quotes;
119 117
120 AtomicString m_lineGrid; 118 AtomicString m_lineGrid;
121 unsigned m_tabSize; 119 unsigned m_tabSize;
122 120
123 Color tapHighlightColor; 121 Color tapHighlightColor;
124 122
125 DataRef<StyleVariableData> m_variables; 123 DataRef<StyleVariableData> m_variables;
126 124
127 private: 125 private:
128 StyleRareInheritedData(); 126 StyleRareInheritedData();
129 StyleRareInheritedData(const StyleRareInheritedData&); 127 StyleRareInheritedData(const StyleRareInheritedData&);
130 }; 128 };
131 129
132 } // namespace WebCore 130 } // namespace WebCore
133 131
134 #endif // StyleRareInheritedData_h 132 #endif // StyleRareInheritedData_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/RenderStyleConstants.h ('k') | Source/core/rendering/style/StyleRareInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698