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

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

Issue 1709963002: [css-align] New CSS Value 'normal' for Self Alignment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed repaint tests. Created 4 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
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 , m_shapeMargin(ComputedStyle::initialShapeMargin()) 80 , m_shapeMargin(ComputedStyle::initialShapeMargin())
81 , m_textDecorationColor(StyleColor::currentColor()) 81 , m_textDecorationColor(StyleColor::currentColor())
82 , m_visitedLinkTextDecorationColor(StyleColor::currentColor()) 82 , m_visitedLinkTextDecorationColor(StyleColor::currentColor())
83 , m_visitedLinkBackgroundColor(ComputedStyle::initialBackgroundColor()) 83 , m_visitedLinkBackgroundColor(ComputedStyle::initialBackgroundColor())
84 , m_visitedLinkOutlineColor(StyleColor::currentColor()) 84 , m_visitedLinkOutlineColor(StyleColor::currentColor())
85 , m_visitedLinkBorderLeftColor(StyleColor::currentColor()) 85 , m_visitedLinkBorderLeftColor(StyleColor::currentColor())
86 , m_visitedLinkBorderRightColor(StyleColor::currentColor()) 86 , m_visitedLinkBorderRightColor(StyleColor::currentColor())
87 , m_visitedLinkBorderTopColor(StyleColor::currentColor()) 87 , m_visitedLinkBorderTopColor(StyleColor::currentColor())
88 , m_visitedLinkBorderBottomColor(StyleColor::currentColor()) 88 , m_visitedLinkBorderBottomColor(StyleColor::currentColor())
89 , m_alignContent(ComputedStyle::initialContentAlignment()) 89 , m_alignContent(ComputedStyle::initialContentAlignment())
90 , m_alignItems(ComputedStyle::initialSelfAlignment()) 90 , m_alignItems(ComputedStyle::initialDefaultAlignment())
91 , m_alignSelf(ComputedStyle::initialSelfAlignment()) 91 , m_alignSelf(ComputedStyle::initialSelfAlignment())
92 , m_justifyContent(ComputedStyle::initialContentAlignment()) 92 , m_justifyContent(ComputedStyle::initialContentAlignment())
93 , m_justifyItems(ComputedStyle::initialSelfAlignment()) 93 , m_justifyItems(ComputedStyle::initialSelfAlignment())
94 , m_justifySelf(ComputedStyle::initialSelfAlignment()) 94 , m_justifySelf(ComputedStyle::initialSelfAlignment())
95 , m_pageSizeType(PAGE_SIZE_AUTO) 95 , m_pageSizeType(PAGE_SIZE_AUTO)
96 , m_transformStyle3D(ComputedStyle::initialTransformStyle3D()) 96 , m_transformStyle3D(ComputedStyle::initialTransformStyle3D())
97 , m_backfaceVisibility(ComputedStyle::initialBackfaceVisibility()) 97 , m_backfaceVisibility(ComputedStyle::initialBackfaceVisibility())
98 , userDrag(ComputedStyle::initialUserDrag()) 98 , userDrag(ComputedStyle::initialUserDrag())
99 , textOverflow(ComputedStyle::initialTextOverflow()) 99 , textOverflow(ComputedStyle::initialTextOverflow())
100 , marginBeforeCollapse(MarginCollapseCollapse) 100 , marginBeforeCollapse(MarginCollapseCollapse)
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 { 350 {
351 return dataEquivalent(m_shapeOutside, o.m_shapeOutside); 351 return dataEquivalent(m_shapeOutside, o.m_shapeOutside);
352 } 352 }
353 353
354 bool StyleRareNonInheritedData::clipPathDataEquivalent(const StyleRareNonInherit edData& o) const 354 bool StyleRareNonInheritedData::clipPathDataEquivalent(const StyleRareNonInherit edData& o) const
355 { 355 {
356 return dataEquivalent(m_clipPath, o.m_clipPath); 356 return dataEquivalent(m_clipPath, o.m_clipPath);
357 } 357 }
358 358
359 } // namespace blink 359 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698