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

Side by Side Diff: Source/core/style/ComputedStyleConstants.h

Issue 1212893005: Add position: sticky as supported position value when CSSStickyPosition is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Merge, convert pixel to ref tests, and address comments. Created 5 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
« no previous file with comments | « Source/core/style/ComputedStyle.h ('k') | Source/core/testing/InternalSettings.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) 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 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 enum EBorderStyle { BNONE, BHIDDEN, INSET, GROOVE, OUTSET, RIDGE, DOTTED, DASHED , SOLID, DOUBLE }; 78 enum EBorderStyle { BNONE, BHIDDEN, INSET, GROOVE, OUTSET, RIDGE, DOTTED, DASHED , SOLID, DOUBLE };
79 79
80 enum EBorderPrecedence { BOFF, BTABLE, BCOLGROUP, BCOL, BROWGROUP, BROW, BCELL } ; 80 enum EBorderPrecedence { BOFF, BTABLE, BCOLGROUP, BCOL, BROWGROUP, BROW, BCELL } ;
81 81
82 enum OutlineIsAuto { AUTO_OFF = 0, AUTO_ON }; 82 enum OutlineIsAuto { AUTO_OFF = 0, AUTO_ON };
83 83
84 enum EPosition { 84 enum EPosition {
85 StaticPosition = 0, 85 StaticPosition = 0,
86 RelativePosition = 1, 86 RelativePosition = 1,
87 AbsolutePosition = 2, 87 AbsolutePosition = 2,
88 StickyPosition = 3,
88 // This value is required to pack our bits efficiently in LayoutObject. 89 // This value is required to pack our bits efficiently in LayoutObject.
89 // FIXME: Is this still true now that we've remove position: sticky.
90 FixedPosition = 6 90 FixedPosition = 6
91 }; 91 };
92 92
93 enum EFloat { 93 enum EFloat {
94 NoFloat, LeftFloat, RightFloat 94 NoFloat, LeftFloat, RightFloat
95 }; 95 };
96 96
97 enum EMarginCollapse { MCOLLAPSE, MSEPARATE, MDISCARD }; 97 enum EMarginCollapse { MCOLLAPSE, MSEPARATE, MDISCARD };
98 98
99 // Box decoration attributes. Not inherited. 99 // Box decoration attributes. Not inherited.
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 538
539 enum ScrollSnapType { 539 enum ScrollSnapType {
540 ScrollSnapTypeNone, 540 ScrollSnapTypeNone,
541 ScrollSnapTypeMandatory, 541 ScrollSnapTypeMandatory,
542 ScrollSnapTypeProximity 542 ScrollSnapTypeProximity
543 }; 543 };
544 544
545 } // namespace blink 545 } // namespace blink
546 546
547 #endif // ComputedStyleConstants_h 547 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « Source/core/style/ComputedStyle.h ('k') | Source/core/testing/InternalSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698