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 |
+ // during painting and hit-testing. |
NormalFlowChildren = 1 << 1, |
PositiveZOrderChildren = 1 << 2, |
AllChildren = NegativeZOrderChildren | NormalFlowChildren | PositiveZOrderChildren |