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

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

Issue 333563003: [CSS Grid Layout] Update grid-auto-flow to the new syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Small fix in add/removeChild to avoid dirtying the grid in stack 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 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after
1669 static TouchAction initialTouchAction() { return TouchActionAuto; } 1669 static TouchAction initialTouchAction() { return TouchActionAuto; }
1670 static TouchActionDelay initialTouchActionDelay() { return TouchActionDelayS cript; } 1670 static TouchActionDelay initialTouchActionDelay() { return TouchActionDelayS cript; }
1671 static ShadowList* initialBoxShadow() { return 0; } 1671 static ShadowList* initialBoxShadow() { return 0; }
1672 static ShadowList* initialTextShadow() { return 0; } 1672 static ShadowList* initialTextShadow() { return 0; }
1673 static ScrollBehavior initialScrollBehavior() { return ScrollBehaviorInstant ; } 1673 static ScrollBehavior initialScrollBehavior() { return ScrollBehaviorInstant ; }
1674 1674
1675 // The initial value is 'none' for grid tracks. 1675 // The initial value is 'none' for grid tracks.
1676 static Vector<GridTrackSize> initialGridTemplateColumns() { return Vector<Gr idTrackSize>(); } 1676 static Vector<GridTrackSize> initialGridTemplateColumns() { return Vector<Gr idTrackSize>(); }
1677 static Vector<GridTrackSize> initialGridTemplateRows() { return Vector<GridT rackSize>(); } 1677 static Vector<GridTrackSize> initialGridTemplateRows() { return Vector<GridT rackSize>(); }
1678 1678
1679 static GridAutoFlow initialGridAutoFlow() { return AutoFlowNone; } 1679 static GridAutoFlow initialGridAutoFlow() { return AutoFlowRow; }
1680 1680
1681 static GridTrackSize initialGridAutoColumns() { return GridTrackSize(Length( Auto)); } 1681 static GridTrackSize initialGridAutoColumns() { return GridTrackSize(Length( Auto)); }
1682 static GridTrackSize initialGridAutoRows() { return GridTrackSize(Length(Aut o)); } 1682 static GridTrackSize initialGridAutoRows() { return GridTrackSize(Length(Aut o)); }
1683 1683
1684 static NamedGridLinesMap initialNamedGridColumnLines() { return NamedGridLin esMap(); } 1684 static NamedGridLinesMap initialNamedGridColumnLines() { return NamedGridLin esMap(); }
1685 static NamedGridLinesMap initialNamedGridRowLines() { return NamedGridLinesM ap(); } 1685 static NamedGridLinesMap initialNamedGridRowLines() { return NamedGridLinesM ap(); }
1686 1686
1687 static OrderedNamedGridLines initialOrderedNamedGridColumnLines() { return O rderedNamedGridLines(); } 1687 static OrderedNamedGridLines initialOrderedNamedGridColumnLines() { return O rderedNamedGridLines(); }
1688 static OrderedNamedGridLines initialOrderedNamedGridRowLines() { return Orde redNamedGridLines(); } 1688 static OrderedNamedGridLines initialOrderedNamedGridRowLines() { return Orde redNamedGridLines(); }
1689 1689
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
1888 inline bool RenderStyle::hasPseudoElementStyle() const 1888 inline bool RenderStyle::hasPseudoElementStyle() const
1889 { 1889 {
1890 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; 1890 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK;
1891 } 1891 }
1892 1892
1893 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1893 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1894 1894
1895 } // namespace WebCore 1895 } // namespace WebCore
1896 1896
1897 #endif // RenderStyle_h 1897 #endif // RenderStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698