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

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

Issue 2825343003: Clean compositing inputs for location APIs for sticky-affected elements. (Closed)
Patch Set: Address reviewer comments Created 3 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
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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 unsigned ruby_position_ : 1; // RubyPosition 214 unsigned ruby_position_ : 1; // RubyPosition
215 215
216 // Though will-change is not itself an inherited property, the intent 216 // Though will-change is not itself an inherited property, the intent
217 // expressed by 'will-change: contents' includes descendants. 217 // expressed by 'will-change: contents' includes descendants.
218 unsigned subtree_will_change_contents_ : 1; 218 unsigned subtree_will_change_contents_ : 1;
219 219
220 unsigned self_or_ancestor_has_dir_auto_attribute_ : 1; 220 unsigned self_or_ancestor_has_dir_auto_attribute_ : 1;
221 221
222 unsigned respect_image_orientation_ : 1; 222 unsigned respect_image_orientation_ : 1;
223 223
224 // Though position: sticky is not itself an inherited property, being a
225 // descendent of a sticky element changes some document lifecycle logic.
226 unsigned is_in_sticky_subtree_ : 1;
227
224 AtomicString hyphenation_string; 228 AtomicString hyphenation_string;
225 short hyphenation_limit_before; 229 short hyphenation_limit_before;
226 short hyphenation_limit_after; 230 short hyphenation_limit_after;
227 short hyphenation_limit_lines; 231 short hyphenation_limit_lines;
228 232
229 uint8_t line_height_step_; 233 uint8_t line_height_step_;
230 234
231 AtomicString text_emphasis_custom_mark; 235 AtomicString text_emphasis_custom_mark;
232 RefPtr<QuotesData> quotes; 236 RefPtr<QuotesData> quotes;
233 237
234 Color tap_highlight_color; 238 Color tap_highlight_color;
235 239
236 RefPtr<AppliedTextDecorationList> applied_text_decorations; 240 RefPtr<AppliedTextDecorationList> applied_text_decorations;
237 TabSize tab_size_; 241 TabSize tab_size_;
238 242
239 RefPtr<StyleInheritedVariables> variables; 243 RefPtr<StyleInheritedVariables> variables;
240 TextSizeAdjust text_size_adjust_; 244 TextSizeAdjust text_size_adjust_;
241 245
242 private: 246 private:
243 StyleRareInheritedData(); 247 StyleRareInheritedData();
244 StyleRareInheritedData(const StyleRareInheritedData&); 248 StyleRareInheritedData(const StyleRareInheritedData&);
245 }; 249 };
246 250
247 } // namespace blink 251 } // namespace blink
248 252
249 #endif // StyleRareInheritedData_h 253 #endif // StyleRareInheritedData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698