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

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

Issue 1145093002: Add a runtime flag for the column-fill property. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 1596 matching lines...) Expand 10 before | Expand all | Expand 10 after
1607 static LineBreak initialLineBreak() { return LineBreakAuto; } 1607 static LineBreak initialLineBreak() { return LineBreakAuto; }
1608 static const AtomicString& initialHighlight() { return nullAtom; } 1608 static const AtomicString& initialHighlight() { return nullAtom; }
1609 static ESpeak initialSpeak() { return SpeakNormal; } 1609 static ESpeak initialSpeak() { return SpeakNormal; }
1610 static const AtomicString& initialHyphenationString() { return nullAtom; } 1610 static const AtomicString& initialHyphenationString() { return nullAtom; }
1611 static const AtomicString& initialLocale() { return nullAtom; } 1611 static const AtomicString& initialLocale() { return nullAtom; }
1612 static EResize initialResize() { return RESIZE_NONE; } 1612 static EResize initialResize() { return RESIZE_NONE; }
1613 static ControlPart initialAppearance() { return NoControlPart; } 1613 static ControlPart initialAppearance() { return NoControlPart; }
1614 static Order initialRTLOrdering() { return LogicalOrder; } 1614 static Order initialRTLOrdering() { return LogicalOrder; }
1615 static float initialTextStrokeWidth() { return 0; } 1615 static float initialTextStrokeWidth() { return 0; }
1616 static unsigned short initialColumnCount() { return 1; } 1616 static unsigned short initialColumnCount() { return 1; }
1617 static ColumnFill initialColumnFill() { return ColumnFillBalance; } 1617 static ColumnFill initialColumnFill();
1618 static ColumnSpan initialColumnSpan() { return ColumnSpanNone; } 1618 static ColumnSpan initialColumnSpan() { return ColumnSpanNone; }
1619 static const TransformOperations& initialTransform() { DEFINE_STATIC_LOCAL(T ransformOperations, ops, ()); return ops; } 1619 static const TransformOperations& initialTransform() { DEFINE_STATIC_LOCAL(T ransformOperations, ops, ()); return ops; }
1620 static Length initialTransformOriginX() { return Length(50.0, Percent); } 1620 static Length initialTransformOriginX() { return Length(50.0, Percent); }
1621 static Length initialTransformOriginY() { return Length(50.0, Percent); } 1621 static Length initialTransformOriginY() { return Length(50.0, Percent); }
1622 static float initialTransformOriginZ() { return 0; } 1622 static float initialTransformOriginZ() { return 0; }
1623 static TransformOrigin initialTransformOrigin() { return TransformOrigin(Len gth(50.0, Percent), Length(50.0, Percent), 0); } 1623 static TransformOrigin initialTransformOrigin() { return TransformOrigin(Len gth(50.0, Percent), Length(50.0, Percent), 0); }
1624 static EPointerEvents initialPointerEvents() { return PE_AUTO; } 1624 static EPointerEvents initialPointerEvents() { return PE_AUTO; }
1625 static ETransformStyle3D initialTransformStyle3D() { return TransformStyle3D Flat; } 1625 static ETransformStyle3D initialTransformStyle3D() { return TransformStyle3D Flat; }
1626 static const StyleMotionPath* initialMotionPath() { return nullptr; } 1626 static const StyleMotionPath* initialMotionPath() { return nullptr; }
1627 static Length initialMotionOffset() { return Length(0, Fixed); } 1627 static Length initialMotionOffset() { return Length(0, Fixed); }
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
1881 } 1881 }
1882 1882
1883 inline bool ComputedStyle::hasPseudoElementStyle() const 1883 inline bool ComputedStyle::hasPseudoElementStyle() const
1884 { 1884 {
1885 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 1885 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
1886 } 1886 }
1887 1887
1888 } // namespace blink 1888 } // namespace blink
1889 1889
1890 #endif // ComputedStyle_h 1890 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698