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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyle.cpp

Issue 1919813002: Implementation of CSS3 nav-up/down/left/right properties from CSS3 UI Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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) 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 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. 4 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * 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.
10 * 10 *
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 rareNonInheritedData.access()->m_deprecatedFlexibleBox.init(); 129 rareNonInheritedData.access()->m_deprecatedFlexibleBox.init();
130 rareNonInheritedData.access()->m_flexibleBox.init(); 130 rareNonInheritedData.access()->m_flexibleBox.init();
131 rareNonInheritedData.access()->m_multiCol.init(); 131 rareNonInheritedData.access()->m_multiCol.init();
132 rareNonInheritedData.access()->m_transform.init(); 132 rareNonInheritedData.access()->m_transform.init();
133 rareNonInheritedData.access()->m_willChange.init(); 133 rareNonInheritedData.access()->m_willChange.init();
134 rareNonInheritedData.access()->m_filter.init(); 134 rareNonInheritedData.access()->m_filter.init();
135 rareNonInheritedData.access()->m_backdropFilter.init(); 135 rareNonInheritedData.access()->m_backdropFilter.init();
136 rareNonInheritedData.access()->m_grid.init(); 136 rareNonInheritedData.access()->m_grid.init();
137 rareNonInheritedData.access()->m_gridItem.init(); 137 rareNonInheritedData.access()->m_gridItem.init();
138 rareNonInheritedData.access()->m_scrollSnap.init(); 138 rareNonInheritedData.access()->m_scrollSnap.init();
139 rareNonInheritedData.access()->m_navigation.init();
139 rareInheritedData.init(); 140 rareInheritedData.init();
140 inherited.init(); 141 inherited.init();
141 m_svgStyle.init(); 142 m_svgStyle.init();
142 } 143 }
143 144
144 ALWAYS_INLINE ComputedStyle::ComputedStyle(const ComputedStyle& o) 145 ALWAYS_INLINE ComputedStyle::ComputedStyle(const ComputedStyle& o)
145 : RefCounted<ComputedStyle>() 146 : RefCounted<ComputedStyle>()
146 , m_box(o.m_box) 147 , m_box(o.m_box)
147 , visual(o.visual) 148 , visual(o.visual)
148 , m_background(o.m_background) 149 , m_background(o.m_background)
(...skipping 1711 matching lines...) Expand 10 before | Expand all | Expand 10 after
1860 if (!shadowList) 1861 if (!shadowList)
1861 return false; 1862 return false;
1862 for (size_t i = shadowList->shadows().size(); i--; ) { 1863 for (size_t i = shadowList->shadows().size(); i--; ) {
1863 if (shadowList->shadows()[i].color().isCurrentColor()) 1864 if (shadowList->shadows()[i].color().isCurrentColor())
1864 return true; 1865 return true;
1865 } 1866 }
1866 return false; 1867 return false;
1867 } 1868 }
1868 1869
1869 } // namespace blink 1870 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698