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

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: review comments 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 1524 matching lines...) Expand 10 before | Expand all | Expand 10 after
1535 static short initialHorizontalBorderSpacing() { return 0; } 1535 static short initialHorizontalBorderSpacing() { return 0; }
1536 static short initialVerticalBorderSpacing() { return 0; } 1536 static short initialVerticalBorderSpacing() { return 0; }
1537 static ECursor initialCursor() { return CURSOR_AUTO; } 1537 static ECursor initialCursor() { return CURSOR_AUTO; }
1538 static Color initialColor() { return Color::black; } 1538 static Color initialColor() { return Color::black; }
1539 static StyleImage* initialListStyleImage() { return 0; } 1539 static StyleImage* initialListStyleImage() { return 0; }
1540 static unsigned initialBorderWidth() { return 3; } 1540 static unsigned initialBorderWidth() { return 3; }
1541 static unsigned short initialColumnRuleWidth() { return 3; } 1541 static unsigned short initialColumnRuleWidth() { return 3; }
1542 static unsigned short initialOutlineWidth() { return 3; } 1542 static unsigned short initialOutlineWidth() { return 3; }
1543 static float initialLetterWordSpacing() { return 0.0f; } 1543 static float initialLetterWordSpacing() { return 0.0f; }
1544 static Length initialSize() { return Length(); } 1544 static Length initialSize() { return Length(); }
1545 static Length initialMinSize() { return Length(Fixed); } 1545 static Length initialMinSize() { return Length(); }
1546 static Length initialMaxSize() { return Length(MaxSizeNone); } 1546 static Length initialMaxSize() { return Length(MaxSizeNone); }
1547 static Length initialOffset() { return Length(); } 1547 static Length initialOffset() { return Length(); }
1548 static Length initialMargin() { return Length(Fixed); } 1548 static Length initialMargin() { return Length(Fixed); }
1549 static Length initialPadding() { return Length(Fixed); } 1549 static Length initialPadding() { return Length(Fixed); }
1550 static Length initialTextIndent() { return Length(Fixed); } 1550 static Length initialTextIndent() { return Length(Fixed); }
1551 static TextIndentLine initialTextIndentLine() { return TextIndentFirstLine; } 1551 static TextIndentLine initialTextIndentLine() { return TextIndentFirstLine; }
1552 static TextIndentType initialTextIndentType() { return TextIndentNormal; } 1552 static TextIndentType initialTextIndentType() { return TextIndentNormal; }
1553 static EVerticalAlign initialVerticalAlign() { return BASELINE; } 1553 static EVerticalAlign initialVerticalAlign() { return BASELINE; }
1554 static short initialWidows() { return 1; } 1554 static short initialWidows() { return 1; }
1555 static short initialOrphans() { return 2; } 1555 static short initialOrphans() { return 2; }
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
1880 } 1880 }
1881 1881
1882 inline bool ComputedStyle::hasPseudoElementStyle() const 1882 inline bool ComputedStyle::hasPseudoElementStyle() const
1883 { 1883 {
1884 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 1884 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
1885 } 1885 }
1886 1886
1887 } // namespace blink 1887 } // namespace blink
1888 1888
1889 #endif // ComputedStyle_h 1889 #endif // ComputedStyle_h
OLDNEW
« no previous file with comments | « Source/core/layout/MultiColumnFragmentainerGroup.cpp ('k') | Source/devtools/front_end/inspectorCommon.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698