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

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

Issue 2669433002: Moved table-layout property to be generated in ComputedStyleBase. (Closed)
Patch Set: Rebase correctly Created 3 years, 10 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 Apple Inc. All rights 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * 10 *
(...skipping 19 matching lines...) Expand all
30 30
31 #include "core/ComputedStyleBaseConstants.h" 31 #include "core/ComputedStyleBaseConstants.h"
32 #include <cstddef> 32 #include <cstddef>
33 33
34 namespace blink { 34 namespace blink {
35 35
36 // TODO(sashab): Change these enums to enum classes with an unsigned underlying 36 // TODO(sashab): Change these enums to enum classes with an unsigned underlying
37 // type. Enum classes provide better type safety, and forcing an unsigned 37 // type. Enum classes provide better type safety, and forcing an unsigned
38 // underlying type prevents msvc from interpreting enums as negative numbers. 38 // underlying type prevents msvc from interpreting enums as negative numbers.
39 // See: crbug.com/628043 39 // See: crbug.com/628043
40 40
Bugs Nash 2017/02/01 00:13:02 maybe add a comment to this file too about some pr
41 // Sides used when drawing borders and outlines. The values should run clockwise 41 // Sides used when drawing borders and outlines. The values should run clockwise
42 // from top. 42 // from top.
43 enum BoxSide { BSTop, BSRight, BSBottom, BSLeft }; 43 enum BoxSide { BSTop, BSRight, BSBottom, BSLeft };
44 44
45 // See core/dom/stylerecalc.md for an explanation on what each state means 45 // See core/dom/stylerecalc.md for an explanation on what each state means
46 enum StyleRecalcChange { 46 enum StyleRecalcChange {
47 NoChange, 47 NoChange,
48 NoInherit, 48 NoInherit,
49 UpdatePseudoElements, 49 UpdatePseudoElements,
50 IndependentInherit, 50 IndependentInherit,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 Sub, 162 Sub,
163 Super, 163 Super,
164 TextTop, 164 TextTop,
165 TextBottom, 165 TextBottom,
166 Top, 166 Top,
167 Bottom, 167 Bottom,
168 BaselineMiddle, 168 BaselineMiddle,
169 Length 169 Length
170 }; 170 };
171 171
172 enum class ETableLayout : unsigned { kAuto, kFixed };
173
174 enum TextCombine { TextCombineNone, TextCombineAll }; 172 enum TextCombine { TextCombineNone, TextCombineAll };
175 173
176 enum EFillAttachment { 174 enum EFillAttachment {
177 ScrollBackgroundAttachment, 175 ScrollBackgroundAttachment,
178 LocalBackgroundAttachment, 176 LocalBackgroundAttachment,
179 FixedBackgroundAttachment 177 FixedBackgroundAttachment
180 }; 178 };
181 179
182 enum EFillBox { BorderFillBox, PaddingFillBox, ContentFillBox, TextFillBox }; 180 enum EFillBox { BorderFillBox, PaddingFillBox, ContentFillBox, TextFillBox };
183 181
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 ScrollSnapTypeNone, 607 ScrollSnapTypeNone,
610 ScrollSnapTypeMandatory, 608 ScrollSnapTypeMandatory,
611 ScrollSnapTypeProximity 609 ScrollSnapTypeProximity
612 }; 610 };
613 611
614 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 612 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
615 613
616 } // namespace blink 614 } // namespace blink
617 615
618 #endif // ComputedStyleConstants_h 616 #endif // ComputedStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698