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

Side by Side Diff: Source/core/dom/ElementRareData.h

Issue 198783003: Recalc sibling styles for forward positional rules on mutations only. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed review issue. Created 6 years, 9 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
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/SiblingRuleHelper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 inline void ElementRareData::resetDynamicRestyleObservations() 227 inline void ElementRareData::resetDynamicRestyleObservations()
228 { 228 {
229 clearFlag(ChildrenAffectedByFocus); 229 clearFlag(ChildrenAffectedByFocus);
230 clearFlag(ChildrenAffectedByHover); 230 clearFlag(ChildrenAffectedByHover);
231 clearFlag(ChildrenAffectedByActive); 231 clearFlag(ChildrenAffectedByActive);
232 clearFlag(ChildrenAffectedByDrag); 232 clearFlag(ChildrenAffectedByDrag);
233 clearFlag(ChildrenAffectedByFirstChildRules); 233 clearFlag(ChildrenAffectedByFirstChildRules);
234 clearFlag(ChildrenAffectedByLastChildRules); 234 clearFlag(ChildrenAffectedByLastChildRules);
235 clearFlag(ChildrenAffectedByDirectAdjacentRules); 235 clearFlag(ChildrenAffectedByDirectAdjacentRules);
236 clearFlag(ChildrenAffectedByIndirectAdjacentRules);
236 clearFlag(ChildrenAffectedByForwardPositionalRules); 237 clearFlag(ChildrenAffectedByForwardPositionalRules);
237 clearFlag(ChildrenAffectedByBackwardPositionalRules); 238 clearFlag(ChildrenAffectedByBackwardPositionalRules);
238 } 239 }
239 240
240 } // namespace 241 } // namespace
241 242
242 #endif // ElementRareData_h 243 #endif // ElementRareData_h
OLDNEW
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/SiblingRuleHelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698