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

Side by Side Diff: sky/engine/core/rendering/style/RenderStyleConstants.h

Issue 686633002: First pass at removing position:fixed. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/rendering/style/RenderStyle.h ('k') | no next file » | 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 enum EBorderStyle { BNONE, BHIDDEN, INSET, GROOVE, OUTSET, RIDGE, DOTTED, DASHED , SOLID, DOUBLE }; 66 enum EBorderStyle { BNONE, BHIDDEN, INSET, GROOVE, OUTSET, RIDGE, DOTTED, DASHED , SOLID, DOUBLE };
67 67
68 enum EBorderPrecedence { BOFF, BTABLE, BCOLGROUP, BCOL, BROWGROUP, BROW, BCELL } ; 68 enum EBorderPrecedence { BOFF, BTABLE, BCOLGROUP, BCOL, BROWGROUP, BROW, BCELL } ;
69 69
70 enum OutlineIsAuto { AUTO_OFF = 0, AUTO_ON }; 70 enum OutlineIsAuto { AUTO_OFF = 0, AUTO_ON };
71 71
72 enum EPosition { 72 enum EPosition {
73 StaticPosition = 0, 73 StaticPosition = 0,
74 RelativePosition = 1, 74 RelativePosition = 1,
75 AbsolutePosition = 2, 75 AbsolutePosition = 2,
76 // This value is required to pack our bits efficiently in RenderObject.
77 // FIXME: Is this still true now that we've remove position: sticky.
78 FixedPosition = 6
79 }; 76 };
80 77
81 enum EFloat { 78 enum EFloat {
82 NoFloat, LeftFloat, RightFloat 79 NoFloat, LeftFloat, RightFloat
83 }; 80 };
84 81
85 enum EMarginCollapse { MCOLLAPSE, MSEPARATE, MDISCARD }; 82 enum EMarginCollapse { MCOLLAPSE, MSEPARATE, MDISCARD };
86 83
87 // Box decoration attributes. Not inherited. 84 // Box decoration attributes. Not inherited.
88 85
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 static const float maximumAllowedFontSize = 1000000.0f; 503 static const float maximumAllowedFontSize = 1000000.0f;
507 504
508 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 505 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
509 enum TextIndentType { TextIndentNormal, TextIndentHanging }; 506 enum TextIndentType { TextIndentNormal, TextIndentHanging };
510 507
511 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; 508 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ;
512 509
513 } // namespace blink 510 } // namespace blink
514 511
515 #endif // RenderStyleConstants_h 512 #endif // RenderStyleConstants_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698