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

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

Issue 14493016: Fix handling of 'inherit' and 'initial' for grid lines (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Take 2: Forgot the code Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/style/RenderStyle.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 #include "config.h" 30 #include "config.h"
31 #include "core/rendering/style/StyleGridItemData.h" 31 #include "core/rendering/style/StyleGridItemData.h"
32 32
33 #include "core/rendering/style/RenderStyle.h" 33 #include "core/rendering/style/RenderStyle.h"
34 34
35 namespace WebCore { 35 namespace WebCore {
36 36
37 StyleGridItemData::StyleGridItemData() 37 StyleGridItemData::StyleGridItemData()
38 : m_gridStart(RenderStyle::initialGridPosition()) 38 : m_gridStart(RenderStyle::initialGridStart())
39 , m_gridEnd(RenderStyle::initialGridPosition()) 39 , m_gridEnd(RenderStyle::initialGridEnd())
40 , m_gridBefore(RenderStyle::initialGridPosition()) 40 , m_gridBefore(RenderStyle::initialGridBefore())
41 , m_gridAfter(RenderStyle::initialGridPosition()) 41 , m_gridAfter(RenderStyle::initialGridAfter())
42 { 42 {
43 } 43 }
44 44
45 StyleGridItemData::StyleGridItemData(const StyleGridItemData& o) 45 StyleGridItemData::StyleGridItemData(const StyleGridItemData& o)
46 : RefCounted<StyleGridItemData>() 46 : RefCounted<StyleGridItemData>()
47 , m_gridStart(o.m_gridStart) 47 , m_gridStart(o.m_gridStart)
48 , m_gridEnd(o.m_gridEnd) 48 , m_gridEnd(o.m_gridEnd)
49 , m_gridBefore(o.m_gridBefore) 49 , m_gridBefore(o.m_gridBefore)
50 , m_gridAfter(o.m_gridAfter) 50 , m_gridAfter(o.m_gridAfter)
51 { 51 {
52 } 52 }
53 53
54 } // namespace WebCore 54 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698