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 * | 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 return opacity == o.opacity && perspective_ == o.perspective_ && | 228 return opacity == o.opacity && perspective_ == o.perspective_ && |
229 shape_image_threshold_ == o.shape_image_threshold_ && | 229 shape_image_threshold_ == o.shape_image_threshold_ && |
230 order_ == o.order_ && perspective_origin_ == o.perspective_origin_ && | 230 order_ == o.order_ && perspective_origin_ == o.perspective_origin_ && |
231 object_position_ == o.object_position_ && line_clamp == o.line_clamp && | 231 object_position_ == o.object_position_ && line_clamp == o.line_clamp && |
232 draggable_region_mode_ == o.draggable_region_mode_ && | 232 draggable_region_mode_ == o.draggable_region_mode_ && |
233 deprecated_flexible_box_ == o.deprecated_flexible_box_ && | 233 deprecated_flexible_box_ == o.deprecated_flexible_box_ && |
234 flexible_box_ == o.flexible_box_ && multi_col_ == o.multi_col_ && | 234 flexible_box_ == o.flexible_box_ && multi_col_ == o.multi_col_ && |
235 transform_ == o.transform_ && will_change_ == o.will_change_ && | 235 transform_ == o.transform_ && will_change_ == o.will_change_ && |
236 filter_ == o.filter_ && backdrop_filter_ == o.backdrop_filter_ && | 236 filter_ == o.filter_ && backdrop_filter_ == o.backdrop_filter_ && |
237 grid_ == o.grid_ && grid_item_ == o.grid_item_ && | 237 grid_ == o.grid_ && grid_item_ == o.grid_item_ && |
238 scroll_snap_ == o.scroll_snap_ && ContentDataEquivalent(o) && | 238 scroll_snap_ == o.scroll_snap_ && |
239 CounterDataEquivalent(o) && ShadowDataEquivalent(o) && | 239 DataEquivalent(content_, o.content_) && |
240 ReflectionDataEquivalent(o) && AnimationDataEquivalent(o) && | 240 DataEquivalent(counter_directives_, o.counter_directives_) && |
241 TransitionDataEquivalent(o) && ShapeOutsideDataEquivalent(o) && | 241 DataEquivalent(box_shadow_, o.box_shadow_) && |
242 mask_ == o.mask_ && mask_box_image_ == o.mask_box_image_ && | 242 DataEquivalent(box_reflect_, o.box_reflect_) && |
243 page_size_ == o.page_size_ && shape_margin_ == o.shape_margin_ && | 243 DataEquivalent(animations_, o.animations_) && |
244 outline_ == o.outline_ && ClipPathDataEquivalent(o) && | 244 DataEquivalent(transitions_, o.transitions_) && |
| 245 DataEquivalent(shape_outside_, o.shape_outside_) && mask_ == o.mask_ && |
| 246 mask_box_image_ == o.mask_box_image_ && page_size_ == o.page_size_ && |
| 247 shape_margin_ == o.shape_margin_ && outline_ == o.outline_ && |
| 248 DataEquivalent(clip_path_, o.clip_path_) && |
245 text_decoration_color_ == o.text_decoration_color_ && | 249 text_decoration_color_ == o.text_decoration_color_ && |
246 visited_link_text_decoration_color_ == | 250 visited_link_text_decoration_color_ == |
247 o.visited_link_text_decoration_color_ && | 251 o.visited_link_text_decoration_color_ && |
248 visited_link_background_color_ == o.visited_link_background_color_ && | 252 visited_link_background_color_ == o.visited_link_background_color_ && |
249 visited_link_outline_color_ == o.visited_link_outline_color_ && | 253 visited_link_outline_color_ == o.visited_link_outline_color_ && |
250 visited_link_border_left_color_ == o.visited_link_border_left_color_ && | 254 visited_link_border_left_color_ == o.visited_link_border_left_color_ && |
251 visited_link_border_right_color_ == | 255 visited_link_border_right_color_ == |
252 o.visited_link_border_right_color_ && | 256 o.visited_link_border_right_color_ && |
253 visited_link_border_top_color_ == o.visited_link_border_top_color_ && | 257 visited_link_border_top_color_ == o.visited_link_border_top_color_ && |
254 visited_link_border_bottom_color_ == | 258 visited_link_border_bottom_color_ == |
(...skipping 27 matching lines...) Expand all Loading... |
282 scroll_snap_type_ == o.scroll_snap_type_ && | 286 scroll_snap_type_ == o.scroll_snap_type_ && |
283 requires_accelerated_compositing_for_external_reasons_ == | 287 requires_accelerated_compositing_for_external_reasons_ == |
284 o.requires_accelerated_compositing_for_external_reasons_ && | 288 o.requires_accelerated_compositing_for_external_reasons_ && |
285 has_inline_transform_ == o.has_inline_transform_ && | 289 has_inline_transform_ == o.has_inline_transform_ && |
286 resize_ == o.resize_ && | 290 resize_ == o.resize_ && |
287 has_compositor_proxy_ == o.has_compositor_proxy_ && | 291 has_compositor_proxy_ == o.has_compositor_proxy_ && |
288 has_author_background_ == o.has_author_background_ && | 292 has_author_background_ == o.has_author_background_ && |
289 has_author_border_ == o.has_author_border_; | 293 has_author_border_ == o.has_author_border_; |
290 } | 294 } |
291 | 295 |
292 bool StyleRareNonInheritedData::ContentDataEquivalent( | |
293 const StyleRareNonInheritedData& o) const { | |
294 return DataEquivalent(content_, o.content_); | |
295 } | |
296 | |
297 bool StyleRareNonInheritedData::CounterDataEquivalent( | |
298 const StyleRareNonInheritedData& o) const { | |
299 return DataEquivalent(counter_directives_, o.counter_directives_); | |
300 } | |
301 | |
302 bool StyleRareNonInheritedData::ShadowDataEquivalent( | |
303 const StyleRareNonInheritedData& o) const { | |
304 return DataEquivalent(box_shadow_, o.box_shadow_); | |
305 } | |
306 | |
307 bool StyleRareNonInheritedData::ReflectionDataEquivalent( | |
308 const StyleRareNonInheritedData& o) const { | |
309 return DataEquivalent(box_reflect_, o.box_reflect_); | |
310 } | |
311 | |
312 bool StyleRareNonInheritedData::AnimationDataEquivalent( | |
313 const StyleRareNonInheritedData& o) const { | |
314 return DataEquivalent(animations_, o.animations_); | |
315 } | |
316 | |
317 bool StyleRareNonInheritedData::TransitionDataEquivalent( | |
318 const StyleRareNonInheritedData& o) const { | |
319 return DataEquivalent(transitions_, o.transitions_); | |
320 } | |
321 | |
322 bool StyleRareNonInheritedData::ShapeOutsideDataEquivalent( | |
323 const StyleRareNonInheritedData& o) const { | |
324 return DataEquivalent(shape_outside_, o.shape_outside_); | |
325 } | |
326 | |
327 bool StyleRareNonInheritedData::ClipPathDataEquivalent( | |
328 const StyleRareNonInheritedData& o) const { | |
329 return DataEquivalent(clip_path_, o.clip_path_); | |
330 } | |
331 | |
332 } // namespace blink | 296 } // namespace blink |
OLD | NEW |