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

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

Issue 430333002: Do not expose auto as value of widows (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Set initial to 1 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 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 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 * 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 RefPtr<ShadowList> textShadow; // Our text shadow information for shadowed t ext drawing. 90 RefPtr<ShadowList> textShadow; // Our text shadow information for shadowed t ext drawing.
91 AtomicString highlight; // Apple-specific extension for custom highlight ren dering. 91 AtomicString highlight; // Apple-specific extension for custom highlight ren dering.
92 92
93 RefPtr<CursorList> cursorData; 93 RefPtr<CursorList> cursorData;
94 Length indent; 94 Length indent;
95 float m_effectiveZoom; 95 float m_effectiveZoom;
96 96
97 // Paged media properties. 97 // Paged media properties.
98 short widows; 98 short widows;
99 short orphans; 99 short orphans;
100 unsigned m_hasAutoWidows : 1;
101 unsigned m_hasAutoOrphans : 1; 100 unsigned m_hasAutoOrphans : 1;
102 101
103 unsigned m_textStrokeColorIsCurrentColor : 1; 102 unsigned m_textStrokeColorIsCurrentColor : 1;
104 unsigned m_textFillColorIsCurrentColor : 1; 103 unsigned m_textFillColorIsCurrentColor : 1;
105 unsigned m_textEmphasisColorIsCurrentColor : 1; 104 unsigned m_textEmphasisColorIsCurrentColor : 1;
106 unsigned m_visitedLinkTextStrokeColorIsCurrentColor : 1; 105 unsigned m_visitedLinkTextStrokeColorIsCurrentColor : 1;
107 unsigned m_visitedLinkTextFillColorIsCurrentColor : 1; 106 unsigned m_visitedLinkTextFillColorIsCurrentColor : 1;
108 unsigned m_visitedLinkTextEmphasisColorIsCurrentColor : 1; 107 unsigned m_visitedLinkTextEmphasisColorIsCurrentColor : 1;
109 108
110 unsigned textSecurity : 2; // ETextSecurity 109 unsigned textSecurity : 2; // ETextSecurity
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 RefPtr<AppliedTextDecorationList> appliedTextDecorations; 149 RefPtr<AppliedTextDecorationList> appliedTextDecorations;
151 150
152 private: 151 private:
153 StyleRareInheritedData(); 152 StyleRareInheritedData();
154 StyleRareInheritedData(const StyleRareInheritedData&); 153 StyleRareInheritedData(const StyleRareInheritedData&);
155 }; 154 };
156 155
157 } // namespace blink 156 } // namespace blink
158 157
159 #endif // StyleRareInheritedData_h 158 #endif // StyleRareInheritedData_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleRareInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698