Index: Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.h |
diff --git a/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.h b/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.h |
index cc5d209e69a5dc6c507483c02ae64929e0f50276..6dde5f8918d0c2595b2c77d8648e337f5416ebd7 100644 |
--- a/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.h |
+++ b/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.h |
@@ -38,6 +38,10 @@ namespace blink { |
enum ChildrenIteration { |
NegativeZOrderChildren = 1, |
+ // Normal flow children are not mandated by CSS 2.1 but are an artifact of |
+ // our implementation: we allocate DeprecatedPaintLayers for elements that |
+ // are not treated as stacking contexts and thus we need to walk them |
mstensho (USE GERRIT)
2015/09/01 18:59:06
I don't think "stacking contexts" is the right ter
Julien - ping for review
2015/09/03 14:25:54
The CSS word for stacking context + positioned is
mstensho (USE GERRIT)
2015/09/04 13:22:32
OK. Lacking a better word for a true stacking cont
|
+ // during painting and hit-testing. |
NormalFlowChildren = 1 << 1, |
PositiveZOrderChildren = 1 << 2, |
AllChildren = NegativeZOrderChildren | NormalFlowChildren | PositiveZOrderChildren |