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

Side by Side Diff: third_party/WebKit/Source/core/style/StyleRareInheritedData.h

Issue 1909233002: Spec-compliant parsing and initial values for 'orphans' and 'widows'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some unit tests had non-conformant widphans assumptions too. Created 4 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
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 AtomicString highlight; // Apple-specific extension for custom highlight ren dering. 95 AtomicString highlight; // Apple-specific extension for custom highlight ren dering.
96 96
97 Persistent<CursorList> cursorData; 97 Persistent<CursorList> cursorData;
98 98
99 Length indent; 99 Length indent;
100 float m_effectiveZoom; 100 float m_effectiveZoom;
101 101
102 // Paged media properties. 102 // Paged media properties.
103 short widows; 103 short widows;
104 short orphans; 104 short orphans;
105 unsigned m_hasAutoOrphans : 1;
106 105
107 unsigned m_textStrokeColorIsCurrentColor : 1; 106 unsigned m_textStrokeColorIsCurrentColor : 1;
108 unsigned m_textFillColorIsCurrentColor : 1; 107 unsigned m_textFillColorIsCurrentColor : 1;
109 unsigned m_textEmphasisColorIsCurrentColor : 1; 108 unsigned m_textEmphasisColorIsCurrentColor : 1;
110 unsigned m_visitedLinkTextStrokeColorIsCurrentColor : 1; 109 unsigned m_visitedLinkTextStrokeColorIsCurrentColor : 1;
111 unsigned m_visitedLinkTextFillColorIsCurrentColor : 1; 110 unsigned m_visitedLinkTextFillColorIsCurrentColor : 1;
112 unsigned m_visitedLinkTextEmphasisColorIsCurrentColor : 1; 111 unsigned m_visitedLinkTextEmphasisColorIsCurrentColor : 1;
113 112
114 unsigned textSecurity : 2; // ETextSecurity 113 unsigned textSecurity : 2; // ETextSecurity
115 unsigned userModify : 2; // EUserModify (editing) 114 unsigned userModify : 2; // EUserModify (editing)
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 RefPtr<StyleVariableData> variables; 160 RefPtr<StyleVariableData> variables;
162 161
163 private: 162 private:
164 StyleRareInheritedData(); 163 StyleRareInheritedData();
165 StyleRareInheritedData(const StyleRareInheritedData&); 164 StyleRareInheritedData(const StyleRareInheritedData&);
166 }; 165 };
167 166
168 } // namespace blink 167 } // namespace blink
169 168
170 #endif // StyleRareInheritedData_h 169 #endif // StyleRareInheritedData_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698