OLD | NEW |
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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 && textEmphasisPosition == o.textEmphasisPosition | 207 && textEmphasisPosition == o.textEmphasisPosition |
208 && m_touchActionDelay == o.m_touchActionDelay | 208 && m_touchActionDelay == o.m_touchActionDelay |
209 && m_textAlignLast == o.m_textAlignLast | 209 && m_textAlignLast == o.m_textAlignLast |
210 && m_textJustify == o.m_textJustify | 210 && m_textJustify == o.m_textJustify |
211 && m_textOrientation == o.m_textOrientation | 211 && m_textOrientation == o.m_textOrientation |
212 && m_textIndentLine == o.m_textIndentLine | 212 && m_textIndentLine == o.m_textIndentLine |
213 && m_lineBoxContain == o.m_lineBoxContain | 213 && m_lineBoxContain == o.m_lineBoxContain |
214 && hyphenationString == o.hyphenationString | 214 && hyphenationString == o.hyphenationString |
215 && locale == o.locale | 215 && locale == o.locale |
216 && textEmphasisCustomMark == o.textEmphasisCustomMark | 216 && textEmphasisCustomMark == o.textEmphasisCustomMark |
217 && QuotesData::equals(quotes.get(), o.quotes.get()) | 217 && quotes.get() == o.quotes.get() |
218 && m_tabSize == o.m_tabSize | 218 && m_tabSize == o.m_tabSize |
219 && m_imageRendering == o.m_imageRendering | 219 && m_imageRendering == o.m_imageRendering |
220 && m_textUnderlinePosition == o.m_textUnderlinePosition | 220 && m_textUnderlinePosition == o.m_textUnderlinePosition |
221 && m_rubyPosition == o.m_rubyPosition | 221 && m_rubyPosition == o.m_rubyPosition |
222 && StyleImage::imagesEquivalent(listStyleImage.get(), o.listStyleImage.g
et()); | 222 && StyleImage::imagesEquivalent(listStyleImage.get(), o.listStyleImage.g
et()); |
223 } | 223 } |
224 | 224 |
225 bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData&
o) const | 225 bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData&
o) const |
226 { | 226 { |
227 if ((!textShadow && o.textShadow) || (textShadow && !o.textShadow)) | 227 if ((!textShadow && o.textShadow) || (textShadow && !o.textShadow)) |
228 return false; | 228 return false; |
229 if (textShadow && o.textShadow && (*textShadow != *o.textShadow)) | 229 if (textShadow && o.textShadow && (*textShadow != *o.textShadow)) |
230 return false; | 230 return false; |
231 return true; | 231 return true; |
232 } | 232 } |
233 | 233 |
234 } // namespace WebCore | 234 } // namespace WebCore |
OLD | NEW |