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 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
4 * | 5 * |
5 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
9 * | 10 * |
10 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 14 * Library General Public License for more details. |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 , m_grid(o.m_grid) | 120 , m_grid(o.m_grid) |
120 , m_gridItem(o.m_gridItem) | 121 , m_gridItem(o.m_gridItem) |
121 , m_content(o.m_content ? o.m_content->clone() : nullptr) | 122 , m_content(o.m_content ? o.m_content->clone() : nullptr) |
122 , m_counterDirectives(o.m_counterDirectives ? clone(*o.m_counterDirectives)
: nullptr) | 123 , m_counterDirectives(o.m_counterDirectives ? clone(*o.m_counterDirectives)
: nullptr) |
123 , m_boxShadow(o.m_boxShadow) | 124 , m_boxShadow(o.m_boxShadow) |
124 , m_boxReflect(o.m_boxReflect) | 125 , m_boxReflect(o.m_boxReflect) |
125 , m_animations(o.m_animations ? CSSAnimationData::create(*o.m_animations) :
nullptr) | 126 , m_animations(o.m_animations ? CSSAnimationData::create(*o.m_animations) :
nullptr) |
126 , m_transitions(o.m_transitions ? CSSTransitionData::create(*o.m_transitions
) : nullptr) | 127 , m_transitions(o.m_transitions ? CSSTransitionData::create(*o.m_transitions
) : nullptr) |
127 , m_mask(o.m_mask) | 128 , m_mask(o.m_mask) |
128 , m_maskBoxImage(o.m_maskBoxImage) | 129 , m_maskBoxImage(o.m_maskBoxImage) |
| 130 , m_navigation(o.m_navigation) |
129 , m_pageSize(o.m_pageSize) | 131 , m_pageSize(o.m_pageSize) |
130 , m_shapeOutside(o.m_shapeOutside) | 132 , m_shapeOutside(o.m_shapeOutside) |
131 , m_shapeMargin(o.m_shapeMargin) | 133 , m_shapeMargin(o.m_shapeMargin) |
132 , m_shapeImageThreshold(o.m_shapeImageThreshold) | 134 , m_shapeImageThreshold(o.m_shapeImageThreshold) |
133 , m_clipPath(o.m_clipPath) | 135 , m_clipPath(o.m_clipPath) |
134 , m_textDecorationColor(o.m_textDecorationColor) | 136 , m_textDecorationColor(o.m_textDecorationColor) |
135 , m_visitedLinkTextDecorationColor(o.m_visitedLinkTextDecorationColor) | 137 , m_visitedLinkTextDecorationColor(o.m_visitedLinkTextDecorationColor) |
136 , m_visitedLinkBackgroundColor(o.m_visitedLinkBackgroundColor) | 138 , m_visitedLinkBackgroundColor(o.m_visitedLinkBackgroundColor) |
137 , m_visitedLinkOutlineColor(o.m_visitedLinkOutlineColor) | 139 , m_visitedLinkOutlineColor(o.m_visitedLinkOutlineColor) |
138 , m_visitedLinkBorderLeftColor(o.m_visitedLinkBorderLeftColor) | 140 , m_visitedLinkBorderLeftColor(o.m_visitedLinkBorderLeftColor) |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 && m_willChange == o.m_willChange | 209 && m_willChange == o.m_willChange |
208 && m_filter == o.m_filter | 210 && m_filter == o.m_filter |
209 && m_grid == o.m_grid | 211 && m_grid == o.m_grid |
210 && m_gridItem == o.m_gridItem | 212 && m_gridItem == o.m_gridItem |
211 && contentDataEquivalent(o) | 213 && contentDataEquivalent(o) |
212 && counterDataEquivalent(o) | 214 && counterDataEquivalent(o) |
213 && shadowDataEquivalent(o) | 215 && shadowDataEquivalent(o) |
214 && reflectionDataEquivalent(o) | 216 && reflectionDataEquivalent(o) |
215 && animationDataEquivalent(o) | 217 && animationDataEquivalent(o) |
216 && transitionDataEquivalent(o) | 218 && transitionDataEquivalent(o) |
| 219 && m_navigation == o.m_navigation |
217 && m_mask == o.m_mask | 220 && m_mask == o.m_mask |
218 && m_maskBoxImage == o.m_maskBoxImage | 221 && m_maskBoxImage == o.m_maskBoxImage |
219 && m_pageSize == o.m_pageSize | 222 && m_pageSize == o.m_pageSize |
220 && m_shapeOutside == o.m_shapeOutside | 223 && m_shapeOutside == o.m_shapeOutside |
221 && m_shapeMargin == o.m_shapeMargin | 224 && m_shapeMargin == o.m_shapeMargin |
222 && m_shapeImageThreshold == o.m_shapeImageThreshold | 225 && m_shapeImageThreshold == o.m_shapeImageThreshold |
223 && m_clipPath == o.m_clipPath | 226 && m_clipPath == o.m_clipPath |
224 && m_textDecorationColor == o.m_textDecorationColor | 227 && m_textDecorationColor == o.m_textDecorationColor |
225 && m_visitedLinkTextDecorationColor == o.m_visitedLinkTextDecorationColo
r | 228 && m_visitedLinkTextDecorationColor == o.m_visitedLinkTextDecorationColo
r |
226 && m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor | 229 && m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 return false; | 317 return false; |
315 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions); | 318 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions); |
316 } | 319 } |
317 | 320 |
318 bool StyleRareNonInheritedData::hasFilters() const | 321 bool StyleRareNonInheritedData::hasFilters() const |
319 { | 322 { |
320 return m_filter.get() && !m_filter->m_operations.isEmpty(); | 323 return m_filter.get() && !m_filter->m_operations.isEmpty(); |
321 } | 324 } |
322 | 325 |
323 } // namespace blink | 326 } // namespace blink |
OLD | NEW |