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

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

Issue 768893002: Remove border-collapse (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 SCROLLBAR_THUMB, SCROLLBAR_BUTTON, SCROLLBAR_TRACK, SCROLLBAR_TRACK_PIECE, S CROLLBAR_CORNER, RESIZER, INPUT_LIST_BUTTON, 52 SCROLLBAR_THUMB, SCROLLBAR_BUTTON, SCROLLBAR_TRACK, SCROLLBAR_TRACK_PIECE, S CROLLBAR_CORNER, RESIZER, INPUT_LIST_BUTTON,
53 // Special values follow: 53 // Special values follow:
54 AFTER_LAST_INTERNAL_PSEUDOID, 54 AFTER_LAST_INTERNAL_PSEUDOID,
55 FIRST_PUBLIC_PSEUDOID = FIRST_LINE, 55 FIRST_PUBLIC_PSEUDOID = FIRST_LINE,
56 FIRST_INTERNAL_PSEUDOID = SCROLLBAR_THUMB, 56 FIRST_INTERNAL_PSEUDOID = SCROLLBAR_THUMB,
57 PUBLIC_PSEUDOID_MASK = ((1 << FIRST_INTERNAL_PSEUDOID) - 1) & ~((1 << FIRST_ PUBLIC_PSEUDOID) - 1), 57 PUBLIC_PSEUDOID_MASK = ((1 << FIRST_INTERNAL_PSEUDOID) - 1) & ~((1 << FIRST_ PUBLIC_PSEUDOID) - 1),
58 }; 58 };
59 59
60 enum ColumnFill { ColumnFillBalance, ColumnFillAuto }; 60 enum ColumnFill { ColumnFillBalance, ColumnFillAuto };
61 61
62 enum EBorderCollapse { BSEPARATE = 0, BCOLLAPSE = 1 };
63
64 // These have been defined in the order of their precedence for border-collapsin g. Do 62 // These have been defined in the order of their precedence for border-collapsin g. Do
65 // not change this order! This order also must match the order in CSSValueKeywor ds.in. 63 // not change this order! This order also must match the order in CSSValueKeywor ds.in.
66 enum EBorderStyle { BNONE, BHIDDEN, INSET, GROOVE, OUTSET, RIDGE, DOTTED, DASHED , SOLID, DOUBLE }; 64 enum EBorderStyle { BNONE, BHIDDEN, INSET, GROOVE, OUTSET, RIDGE, DOTTED, DASHED , SOLID, DOUBLE };
67 65
68 enum EBorderPrecedence { BOFF, BTABLE, BCOLGROUP, BCOL, BROWGROUP, BROW, BCELL } ; 66 enum EBorderPrecedence { BOFF, BTABLE, BCOLGROUP, BCOL, BROWGROUP, BROW, BCELL } ;
69 67
70 enum OutlineIsAuto { AUTO_OFF = 0, AUTO_ON }; 68 enum OutlineIsAuto { AUTO_OFF = 0, AUTO_ON };
71 69
72 enum EPosition { 70 enum EPosition {
73 StaticPosition = 0, 71 StaticPosition = 0,
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 static const float maximumAllowedFontSize = 1000000.0f; 455 static const float maximumAllowedFontSize = 1000000.0f;
458 456
459 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 457 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
460 enum TextIndentType { TextIndentNormal, TextIndentHanging }; 458 enum TextIndentType { TextIndentNormal, TextIndentHanging };
461 459
462 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; 460 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ;
463 461
464 } // namespace blink 462 } // namespace blink
465 463
466 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_ 464 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698