зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1047928 patch 1 - Add more comments explaining eRestyle_Subtree vs. eRestyle_ForceDescendants. r=bzbarsky
This commit is contained in:
Родитель
df3db8da66
Коммит
072d1af872
|
@ -290,6 +290,9 @@ enum nsRestyleHint {
|
|||
eRestyle_Self = (1<<0),
|
||||
|
||||
// Rerun selector matching on the element and all of its descendants.
|
||||
// (Implies eRestyle_ForceDescendants, which ensures that we continue
|
||||
// the restyling process for all descendants, but doesn't cause
|
||||
// selector matching.)
|
||||
eRestyle_Subtree = (1<<1),
|
||||
|
||||
// Rerun selector matching on all later siblings of the element and
|
||||
|
@ -342,7 +345,9 @@ enum nsRestyleHint {
|
|||
|
||||
// Continue the restyling process to all of the current frame's
|
||||
// descendants, even if any frame's restyling resulted in no style
|
||||
// changes. (Implies eRestyle_Force.)
|
||||
// changes. (Implies eRestyle_Force.) Note that this is weaker than
|
||||
// eRestyle_Subtree, which makes us rerun selector matching on all
|
||||
// descendants rather than just continuing the restyling process.
|
||||
eRestyle_ForceDescendants = (1<<9),
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче