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

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

Issue 363133003: [CSS Grid Layout] Adapting align-self, align-items and justify-self to the last CSS 3 spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights 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 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after
1611 static float initialBoxFlex() { return 0.0f; } 1611 static float initialBoxFlex() { return 0.0f; }
1612 static unsigned initialBoxFlexGroup() { return 1; } 1612 static unsigned initialBoxFlexGroup() { return 1; }
1613 static unsigned initialBoxOrdinalGroup() { return 1; } 1613 static unsigned initialBoxOrdinalGroup() { return 1; }
1614 static EBoxSizing initialBoxSizing() { return CONTENT_BOX; } 1614 static EBoxSizing initialBoxSizing() { return CONTENT_BOX; }
1615 static StyleReflection* initialBoxReflect() { return 0; } 1615 static StyleReflection* initialBoxReflect() { return 0; }
1616 static float initialFlexGrow() { return 0; } 1616 static float initialFlexGrow() { return 0; }
1617 static float initialFlexShrink() { return 1; } 1617 static float initialFlexShrink() { return 1; }
1618 static Length initialFlexBasis() { return Length(Auto); } 1618 static Length initialFlexBasis() { return Length(Auto); }
1619 static int initialOrder() { return 0; } 1619 static int initialOrder() { return 0; }
1620 static EAlignContent initialAlignContent() { return AlignContentStretch; } 1620 static EAlignContent initialAlignContent() { return AlignContentStretch; }
1621 static ItemPosition initialAlignItems() { return ItemPositionStretch; } 1621 static ItemPosition initialAlignItems() { return ItemPositionAuto; }
1622 static OverflowAlignment initialAlignItemsOverflowAlignment() { return Overf lowAlignmentDefault; } 1622 static OverflowAlignment initialAlignItemsOverflowAlignment() { return Overf lowAlignmentDefault; }
1623 static ItemPosition initialAlignSelf() { return ItemPositionAuto; } 1623 static ItemPosition initialAlignSelf() { return ItemPositionAuto; }
1624 static OverflowAlignment initialAlignSelfOverflowAlignment() { return Overfl owAlignmentDefault; } 1624 static OverflowAlignment initialAlignSelfOverflowAlignment() { return Overfl owAlignmentDefault; }
1625 static EFlexDirection initialFlexDirection() { return FlowRow; } 1625 static EFlexDirection initialFlexDirection() { return FlowRow; }
1626 static EFlexWrap initialFlexWrap() { return FlexNoWrap; } 1626 static EFlexWrap initialFlexWrap() { return FlexNoWrap; }
1627 static EJustifyContent initialJustifyContent() { return JustifyFlexStart; } 1627 static EJustifyContent initialJustifyContent() { return JustifyFlexStart; }
1628 static ItemPosition initialJustifyItems() { return ItemPositionAuto; } 1628 static ItemPosition initialJustifyItems() { return ItemPositionAuto; }
1629 static OverflowAlignment initialJustifyItemsOverflowAlignment() { return Ove rflowAlignmentDefault; } 1629 static OverflowAlignment initialJustifyItemsOverflowAlignment() { return Ove rflowAlignmentDefault; }
1630 static ItemPositionType initialJustifyItemsPositionType() { return NonLegacy Position; } 1630 static ItemPositionType initialJustifyItemsPositionType() { return NonLegacy Position; }
1631 static ItemPosition initialJustifySelf() { return ItemPositionAuto; } 1631 static ItemPosition initialJustifySelf() { return ItemPositionAuto; }
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1917 inline bool RenderStyle::hasPseudoElementStyle() const 1917 inline bool RenderStyle::hasPseudoElementStyle() const
1918 { 1918 {
1919 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; 1919 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK;
1920 } 1920 }
1921 1921
1922 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1922 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1923 1923
1924 } // namespace WebCore 1924 } // namespace WebCore
1925 1925
1926 #endif // RenderStyle_h 1926 #endif // RenderStyle_h
OLDNEW
« Source/core/rendering/RenderGridTest.cpp ('K') | « Source/core/rendering/RenderGridTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698