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

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

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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 bool operator==(const StyleRareNonInheritedData&) const; 81 bool operator==(const StyleRareNonInheritedData&) const;
82 bool operator!=(const StyleRareNonInheritedData& o) const { return !(*this = = o); } 82 bool operator!=(const StyleRareNonInheritedData& o) const { return !(*this = = o); }
83 83
84 bool contentDataEquivalent(const StyleRareNonInheritedData&) const; 84 bool contentDataEquivalent(const StyleRareNonInheritedData&) const;
85 bool counterDataEquivalent(const StyleRareNonInheritedData&) const; 85 bool counterDataEquivalent(const StyleRareNonInheritedData&) const;
86 bool shadowDataEquivalent(const StyleRareNonInheritedData&) const; 86 bool shadowDataEquivalent(const StyleRareNonInheritedData&) const;
87 bool reflectionDataEquivalent(const StyleRareNonInheritedData&) const; 87 bool reflectionDataEquivalent(const StyleRareNonInheritedData&) const;
88 bool animationDataEquivalent(const StyleRareNonInheritedData&) const; 88 bool animationDataEquivalent(const StyleRareNonInheritedData&) const;
89 bool transitionDataEquivalent(const StyleRareNonInheritedData&) const; 89 bool transitionDataEquivalent(const StyleRareNonInheritedData&) const;
90 bool shapeOutsideDataEquivalent(const StyleRareNonInheritedData&) const;
91 bool clipPathDataEquivalent(const StyleRareNonInheritedData&) const;
90 bool hasFilters() const; 92 bool hasFilters() const;
91 bool hasOpacity() const { return opacity < 1; } 93 bool hasOpacity() const { return opacity < 1; }
92 94
93 float opacity; // Whether or not we're transparent. 95 float opacity; // Whether or not we're transparent.
94 96
95 float m_perspective; 97 float m_perspective;
96 LengthPoint m_perspectiveOrigin; 98 LengthPoint m_perspectiveOrigin;
97 99
98 LineClampValue lineClamp; // An Apple extension. 100 LineClampValue lineClamp; // An Apple extension.
99 DraggableRegionMode m_draggableRegionMode; 101 DraggableRegionMode m_draggableRegionMode;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 unsigned m_hasInlineTransform : 1; 206 unsigned m_hasInlineTransform : 1;
205 207
206 private: 208 private:
207 StyleRareNonInheritedData(); 209 StyleRareNonInheritedData();
208 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 210 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
209 }; 211 };
210 212
211 } // namespace blink 213 } // namespace blink
212 214
213 #endif // StyleRareNonInheritedData_h 215 #endif // StyleRareNonInheritedData_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/ShapeValue.h ('k') | Source/core/rendering/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698