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

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

Issue 1148873005: Parsing CSS properties for scroll snap points (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix comment Created 5 years, 6 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/style/ComputedStyle.h ('k') | Source/core/style/ComputedStyleConstants.h » ('j') | 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, 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 surround.init(); 119 surround.init();
120 rareNonInheritedData.init(); 120 rareNonInheritedData.init();
121 rareNonInheritedData.access()->m_deprecatedFlexibleBox.init(); 121 rareNonInheritedData.access()->m_deprecatedFlexibleBox.init();
122 rareNonInheritedData.access()->m_flexibleBox.init(); 122 rareNonInheritedData.access()->m_flexibleBox.init();
123 rareNonInheritedData.access()->m_multiCol.init(); 123 rareNonInheritedData.access()->m_multiCol.init();
124 rareNonInheritedData.access()->m_transform.init(); 124 rareNonInheritedData.access()->m_transform.init();
125 rareNonInheritedData.access()->m_willChange.init(); 125 rareNonInheritedData.access()->m_willChange.init();
126 rareNonInheritedData.access()->m_filter.init(); 126 rareNonInheritedData.access()->m_filter.init();
127 rareNonInheritedData.access()->m_grid.init(); 127 rareNonInheritedData.access()->m_grid.init();
128 rareNonInheritedData.access()->m_gridItem.init(); 128 rareNonInheritedData.access()->m_gridItem.init();
129 rareNonInheritedData.access()->m_scrollSnap.init();
129 rareInheritedData.init(); 130 rareInheritedData.init();
130 inherited.init(); 131 inherited.init();
131 m_svgStyle.init(); 132 m_svgStyle.init();
132 } 133 }
133 134
134 ALWAYS_INLINE ComputedStyle::ComputedStyle(const ComputedStyle& o) 135 ALWAYS_INLINE ComputedStyle::ComputedStyle(const ComputedStyle& o)
135 : RefCounted<ComputedStyle>() 136 : RefCounted<ComputedStyle>()
136 , m_box(o.m_box) 137 , m_box(o.m_box)
137 , visual(o.visual) 138 , visual(o.visual)
138 , m_background(o.m_background) 139 , m_background(o.m_background)
(...skipping 1599 matching lines...) Expand 10 before | Expand all | Expand 10 after
1738 } 1739 }
1739 1740
1740 void ComputedStyle::copyChildDependentFlagsFrom(const ComputedStyle& other) 1741 void ComputedStyle::copyChildDependentFlagsFrom(const ComputedStyle& other)
1741 { 1742 {
1742 setEmptyState(other.emptyState()); 1743 setEmptyState(other.emptyState());
1743 if (other.hasExplicitlyInheritedProperties()) 1744 if (other.hasExplicitlyInheritedProperties())
1744 setHasExplicitlyInheritedProperties(); 1745 setHasExplicitlyInheritedProperties();
1745 } 1746 }
1746 1747
1747 } // namespace blink 1748 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/style/ComputedStyle.h ('k') | Source/core/style/ComputedStyleConstants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698