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

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

Issue 988523003: Reimplement min-width: auto (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 8 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 | Annotate | Revision Log
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, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 1518 matching lines...) Expand 10 before | Expand all | Expand 10 after
1529 static short initialHorizontalBorderSpacing() { return 0; } 1529 static short initialHorizontalBorderSpacing() { return 0; }
1530 static short initialVerticalBorderSpacing() { return 0; } 1530 static short initialVerticalBorderSpacing() { return 0; }
1531 static ECursor initialCursor() { return CURSOR_AUTO; } 1531 static ECursor initialCursor() { return CURSOR_AUTO; }
1532 static Color initialColor() { return Color::black; } 1532 static Color initialColor() { return Color::black; }
1533 static StyleImage* initialListStyleImage() { return 0; } 1533 static StyleImage* initialListStyleImage() { return 0; }
1534 static unsigned initialBorderWidth() { return 3; } 1534 static unsigned initialBorderWidth() { return 3; }
1535 static unsigned short initialColumnRuleWidth() { return 3; } 1535 static unsigned short initialColumnRuleWidth() { return 3; }
1536 static unsigned short initialOutlineWidth() { return 3; } 1536 static unsigned short initialOutlineWidth() { return 3; }
1537 static float initialLetterWordSpacing() { return 0.0f; } 1537 static float initialLetterWordSpacing() { return 0.0f; }
1538 static Length initialSize() { return Length(); } 1538 static Length initialSize() { return Length(); }
1539 static Length initialMinSize() { return Length(Fixed); } 1539 static Length initialMinSize() { return Length(); }
1540 static Length initialMaxSize() { return Length(MaxSizeNone); } 1540 static Length initialMaxSize() { return Length(MaxSizeNone); }
1541 static Length initialOffset() { return Length(); } 1541 static Length initialOffset() { return Length(); }
1542 static Length initialMargin() { return Length(Fixed); } 1542 static Length initialMargin() { return Length(Fixed); }
1543 static Length initialPadding() { return Length(Fixed); } 1543 static Length initialPadding() { return Length(Fixed); }
1544 static Length initialTextIndent() { return Length(Fixed); } 1544 static Length initialTextIndent() { return Length(Fixed); }
1545 static TextIndentLine initialTextIndentLine() { return TextIndentFirstLine; } 1545 static TextIndentLine initialTextIndentLine() { return TextIndentFirstLine; }
1546 static TextIndentType initialTextIndentType() { return TextIndentNormal; } 1546 static TextIndentType initialTextIndentType() { return TextIndentNormal; }
1547 static EVerticalAlign initialVerticalAlign() { return BASELINE; } 1547 static EVerticalAlign initialVerticalAlign() { return BASELINE; }
1548 static short initialWidows() { return 1; } 1548 static short initialWidows() { return 1; }
1549 static short initialOrphans() { return 2; } 1549 static short initialOrphans() { return 2; }
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
1874 } 1874 }
1875 1875
1876 inline bool ComputedStyle::hasPseudoElementStyle() const 1876 inline bool ComputedStyle::hasPseudoElementStyle() const
1877 { 1877 {
1878 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 1878 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
1879 } 1879 }
1880 1880
1881 } // namespace blink 1881 } // namespace blink
1882 1882
1883 #endif // ComputedStyle_h 1883 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698