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

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

Issue 1328283005: Add support for multiple text decorations with same line positioning (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 2 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 , textEmphasisFill(TextEmphasisFillFilled) 83 , textEmphasisFill(TextEmphasisFillFilled)
84 , textEmphasisMark(TextEmphasisMarkNone) 84 , textEmphasisMark(TextEmphasisMarkNone)
85 , textEmphasisPosition(TextEmphasisPositionOver) 85 , textEmphasisPosition(TextEmphasisPositionOver)
86 , m_textAlignLast(ComputedStyle::initialTextAlignLast()) 86 , m_textAlignLast(ComputedStyle::initialTextAlignLast())
87 , m_textJustify(ComputedStyle::initialTextJustify()) 87 , m_textJustify(ComputedStyle::initialTextJustify())
88 , m_textOrientation(TextOrientationVerticalRight) 88 , m_textOrientation(TextOrientationVerticalRight)
89 , m_textCombine(ComputedStyle::initialTextCombine()) 89 , m_textCombine(ComputedStyle::initialTextCombine())
90 , m_textIndentLine(ComputedStyle::initialTextIndentLine()) 90 , m_textIndentLine(ComputedStyle::initialTextIndentLine())
91 , m_textIndentType(ComputedStyle::initialTextIndentLine()) 91 , m_textIndentType(ComputedStyle::initialTextIndentLine())
92 , m_imageRendering(ComputedStyle::initialImageRendering()) 92 , m_imageRendering(ComputedStyle::initialImageRendering())
93 , m_textUnderlinePosition(ComputedStyle::initialTextUnderlinePosition()) 93 , m_hasSimpleUnderlinePosition(ComputedStyle::initialTextUnderlinePosition() )
94 , m_rubyPosition(ComputedStyle::initialRubyPosition()) 94 , m_rubyPosition(ComputedStyle::initialRubyPosition())
95 , m_subtreeWillChangeContents(false) 95 , m_subtreeWillChangeContents(false)
96 , m_selfOrAncestorHasDirAutoAttribute(false) 96 , m_selfOrAncestorHasDirAutoAttribute(false)
97 , m_respectImageOrientation(false) 97 , m_respectImageOrientation(false)
98 , hyphenationLimitBefore(-1) 98 , hyphenationLimitBefore(-1)
99 , hyphenationLimitAfter(-1) 99 , hyphenationLimitAfter(-1)
100 , hyphenationLimitLines(-1) 100 , hyphenationLimitLines(-1)
101 , tapHighlightColor(ComputedStyle::initialTapHighlightColor()) 101 , tapHighlightColor(ComputedStyle::initialTapHighlightColor())
102 , m_tabSize(ComputedStyle::initialTabSize()) 102 , m_tabSize(ComputedStyle::initialTabSize())
103 { 103 {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 , textEmphasisFill(o.textEmphasisFill) 138 , textEmphasisFill(o.textEmphasisFill)
139 , textEmphasisMark(o.textEmphasisMark) 139 , textEmphasisMark(o.textEmphasisMark)
140 , textEmphasisPosition(o.textEmphasisPosition) 140 , textEmphasisPosition(o.textEmphasisPosition)
141 , m_textAlignLast(o.m_textAlignLast) 141 , m_textAlignLast(o.m_textAlignLast)
142 , m_textJustify(o.m_textJustify) 142 , m_textJustify(o.m_textJustify)
143 , m_textOrientation(o.m_textOrientation) 143 , m_textOrientation(o.m_textOrientation)
144 , m_textCombine(o.m_textCombine) 144 , m_textCombine(o.m_textCombine)
145 , m_textIndentLine(o.m_textIndentLine) 145 , m_textIndentLine(o.m_textIndentLine)
146 , m_textIndentType(o.m_textIndentType) 146 , m_textIndentType(o.m_textIndentType)
147 , m_imageRendering(o.m_imageRendering) 147 , m_imageRendering(o.m_imageRendering)
148 , m_textUnderlinePosition(o.m_textUnderlinePosition) 148 , m_hasSimpleUnderlinePosition(o.m_hasSimpleUnderlinePosition)
149 , m_rubyPosition(o.m_rubyPosition) 149 , m_rubyPosition(o.m_rubyPosition)
150 , m_subtreeWillChangeContents(o.m_subtreeWillChangeContents) 150 , m_subtreeWillChangeContents(o.m_subtreeWillChangeContents)
151 , m_selfOrAncestorHasDirAutoAttribute(o.m_selfOrAncestorHasDirAutoAttribute) 151 , m_selfOrAncestorHasDirAutoAttribute(o.m_selfOrAncestorHasDirAutoAttribute)
152 , m_respectImageOrientation(o.m_respectImageOrientation) 152 , m_respectImageOrientation(o.m_respectImageOrientation)
153 , hyphenationString(o.hyphenationString) 153 , hyphenationString(o.hyphenationString)
154 , hyphenationLimitBefore(o.hyphenationLimitBefore) 154 , hyphenationLimitBefore(o.hyphenationLimitBefore)
155 , hyphenationLimitAfter(o.hyphenationLimitAfter) 155 , hyphenationLimitAfter(o.hyphenationLimitAfter)
156 , hyphenationLimitLines(o.hyphenationLimitLines) 156 , hyphenationLimitLines(o.hyphenationLimitLines)
157 , locale(o.locale) 157 , locale(o.locale)
158 , textEmphasisCustomMark(o.textEmphasisCustomMark) 158 , textEmphasisCustomMark(o.textEmphasisCustomMark)
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 && m_textIndentType == o.m_textIndentType 212 && m_textIndentType == o.m_textIndentType
213 && m_subtreeWillChangeContents == o.m_subtreeWillChangeContents 213 && m_subtreeWillChangeContents == o.m_subtreeWillChangeContents
214 && m_selfOrAncestorHasDirAutoAttribute == o.m_selfOrAncestorHasDirAutoAt tribute 214 && m_selfOrAncestorHasDirAutoAttribute == o.m_selfOrAncestorHasDirAutoAt tribute
215 && m_respectImageOrientation == o.m_respectImageOrientation 215 && m_respectImageOrientation == o.m_respectImageOrientation
216 && hyphenationString == o.hyphenationString 216 && hyphenationString == o.hyphenationString
217 && locale == o.locale 217 && locale == o.locale
218 && textEmphasisCustomMark == o.textEmphasisCustomMark 218 && textEmphasisCustomMark == o.textEmphasisCustomMark
219 && quotesDataEquivalent(o) 219 && quotesDataEquivalent(o)
220 && m_tabSize == o.m_tabSize 220 && m_tabSize == o.m_tabSize
221 && m_imageRendering == o.m_imageRendering 221 && m_imageRendering == o.m_imageRendering
222 && m_textUnderlinePosition == o.m_textUnderlinePosition 222 && m_hasSimpleUnderlinePosition == o.m_hasSimpleUnderlinePosition
223 && m_rubyPosition == o.m_rubyPosition 223 && m_rubyPosition == o.m_rubyPosition
224 && dataEquivalent(listStyleImage.get(), o.listStyleImage.get()) 224 && dataEquivalent(listStyleImage.get(), o.listStyleImage.get())
225 && dataEquivalent(appliedTextDecorations, o.appliedTextDecorations); 225 && dataEquivalent(appliedTextDecorations, o.appliedTextDecorations);
226 } 226 }
227 227
228 bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData& o) const 228 bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData& o) const
229 { 229 {
230 return dataEquivalent(textShadow.get(), o.textShadow.get()); 230 return dataEquivalent(textShadow.get(), o.textShadow.get());
231 } 231 }
232 232
233 bool StyleRareInheritedData::quotesDataEquivalent(const StyleRareInheritedData& o) const 233 bool StyleRareInheritedData::quotesDataEquivalent(const StyleRareInheritedData& o) const
234 { 234 {
235 return dataEquivalent(quotes, o.quotes); 235 return dataEquivalent(quotes, o.quotes);
236 } 236 }
237 237
238 } // namespace blink 238 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698