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

Side by Side Diff: Source/core/rendering/style/StyleRareNonInheritedData.cpp

Issue 669093002: RenderStyle operator== incorrect for shape-outside and clip-path. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/rendering/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 && m_gridItem == o.m_gridItem 197 && m_gridItem == o.m_gridItem
198 && contentDataEquivalent(o) 198 && contentDataEquivalent(o)
199 && counterDataEquivalent(o) 199 && counterDataEquivalent(o)
200 && shadowDataEquivalent(o) 200 && shadowDataEquivalent(o)
201 && reflectionDataEquivalent(o) 201 && reflectionDataEquivalent(o)
202 && animationDataEquivalent(o) 202 && animationDataEquivalent(o)
203 && transitionDataEquivalent(o) 203 && transitionDataEquivalent(o)
204 && m_mask == o.m_mask 204 && m_mask == o.m_mask
205 && m_maskBoxImage == o.m_maskBoxImage 205 && m_maskBoxImage == o.m_maskBoxImage
206 && m_pageSize == o.m_pageSize 206 && m_pageSize == o.m_pageSize
207 && m_shapeOutside == o.m_shapeOutside 207 && shapeOutsideDataEquivalent(o)
208 && m_shapeMargin == o.m_shapeMargin 208 && m_shapeMargin == o.m_shapeMargin
209 && m_shapeImageThreshold == o.m_shapeImageThreshold 209 && m_shapeImageThreshold == o.m_shapeImageThreshold
210 && m_clipPath == o.m_clipPath 210 && clipPathDataEquivalent(o)
211 && m_textDecorationColor == o.m_textDecorationColor 211 && m_textDecorationColor == o.m_textDecorationColor
212 && m_visitedLinkTextDecorationColor == o.m_visitedLinkTextDecorationColo r 212 && m_visitedLinkTextDecorationColor == o.m_visitedLinkTextDecorationColo r
213 && m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor 213 && m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor
214 && m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor 214 && m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor
215 && m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor 215 && m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor
216 && m_visitedLinkBorderRightColor == o.m_visitedLinkBorderRightColor 216 && m_visitedLinkBorderRightColor == o.m_visitedLinkBorderRightColor
217 && m_visitedLinkBorderTopColor == o.m_visitedLinkBorderTopColor 217 && m_visitedLinkBorderTopColor == o.m_visitedLinkBorderTopColor
218 && m_visitedLinkBorderBottomColor == o.m_visitedLinkBorderBottomColor 218 && m_visitedLinkBorderBottomColor == o.m_visitedLinkBorderBottomColor
219 && m_order == o.m_order 219 && m_order == o.m_order
220 && m_objectPosition == o.m_objectPosition 220 && m_objectPosition == o.m_objectPosition
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 if (!m_transitions || !o.m_transitions) 298 if (!m_transitions || !o.m_transitions)
299 return false; 299 return false;
300 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions); 300 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions);
301 } 301 }
302 302
303 bool StyleRareNonInheritedData::hasFilters() const 303 bool StyleRareNonInheritedData::hasFilters() const
304 { 304 {
305 return m_filter.get() && !m_filter->m_operations.isEmpty(); 305 return m_filter.get() && !m_filter->m_operations.isEmpty();
306 } 306 }
307 307
308 bool StyleRareNonInheritedData::shapeOutsideDataEquivalent(const StyleRareNonInh eritedData& o) const
309 {
310 return dataEquivalent(m_shapeOutside, o.m_shapeOutside);
311 }
312
313 bool StyleRareNonInheritedData::clipPathDataEquivalent(const StyleRareNonInherit edData& o) const
314 {
315 return dataEquivalent(m_clipPath, o.m_clipPath);
316 }
317
308 } // namespace blink 318 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/rendering/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698