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

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

Issue 636993002: [CSS Grid Layout] Upgrade justify-content parsing to CSS3 Box Alignment spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 OverflowAlignmentDefault, 537 OverflowAlignmentDefault,
538 OverflowAlignmentTrue, 538 OverflowAlignmentTrue,
539 OverflowAlignmentSafe 539 OverflowAlignmentSafe
540 }; 540 };
541 541
542 enum ItemPositionType { 542 enum ItemPositionType {
543 NonLegacyPosition, 543 NonLegacyPosition,
544 LegacyPosition 544 LegacyPosition
545 }; 545 };
546 546
547 enum ContentPosition {
548 ContentPositionAuto,
549 ContentPositionBaseline,
550 ContentPositionLastBaseline,
551 ContentPositionCenter,
552 ContentPositionStart,
553 ContentPositionEnd,
554 ContentPositionFlexStart,
555 ContentPositionFlexEnd,
556 ContentPositionLeft,
557 ContentPositionRight
558 };
559
560 enum ContentDistributionType {
561 ContentDistributionDefault,
562 ContentDistributionSpaceBetween,
563 ContentDistributionSpaceAround,
564 ContentDistributionSpaceEvenly,
565 ContentDistributionStretch
566 };
567
547 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows). 568 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows).
548 static const float maximumAllowedFontSize = 1000000.0f; 569 static const float maximumAllowedFontSize = 1000000.0f;
549 570
550 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 571 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
551 enum TextIndentType { TextIndentNormal, TextIndentHanging }; 572 enum TextIndentType { TextIndentNormal, TextIndentHanging };
552 573
553 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; 574 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ;
554 575
555 } // namespace blink 576 } // namespace blink
556 577
557 #endif // RenderStyleConstants_h 578 #endif // RenderStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698