| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 #include <memory> | 52 #include <memory> |
| 53 | 53 |
| 54 namespace blink { | 54 namespace blink { |
| 55 | 55 |
| 56 class PaintLayer; | 56 class PaintLayer; |
| 57 class PaintLayerCompositor; | 57 class PaintLayerCompositor; |
| 58 class ComputedStyle; | 58 class ComputedStyle; |
| 59 class LayoutBoxModelObject; | 59 class LayoutBoxModelObject; |
| 60 | 60 |
| 61 // PaintLayerStackingNode represents a stacked element which is either a | 61 // PaintLayerStackingNode represents a stacked element which is either a |
| 62 // stacking context (i.e. an element with non-auto z-index) or a positioned | 62 // stacking context or a positioned element. |
| 63 // element with auto z-index which is treated as a stacking context but | |
| 64 // doesn't contain other stacked elements. | |
| 65 // See https://chromium.googlesource.com/chromium/src.git/+/master/third_party/W
ebKit/Source/core/paint/README.md | 63 // See https://chromium.googlesource.com/chromium/src.git/+/master/third_party/W
ebKit/Source/core/paint/README.md |
| 66 // for more details of stacked elements. | 64 // for more details of stacked elements. |
| 67 // | 65 // |
| 68 // Stacked elements are the basis for the CSS painting algorithm. The paint | 66 // Stacked elements are the basis for the CSS painting algorithm. The paint |
| 69 // order is determined by walking stacked elements in an order defined by | 67 // order is determined by walking stacked elements in an order defined by |
| 70 // ‘z-index’. This walk is interleaved with non-stacked contents. | 68 // ‘z-index’. This walk is interleaved with non-stacked contents. |
| 71 // See CSS 2.1 appendix E for the actual algorithm | 69 // See CSS 2.1 appendix E for the actual algorithm |
| 72 // http://www.w3.org/TR/CSS21/zindex.html | 70 // http://www.w3.org/TR/CSS21/zindex.html |
| 73 // See also PaintLayerPainter (in particular paintLayerContents) for | 71 // See also PaintLayerPainter (in particular paintLayerContents) for |
| 74 // our implementation of the walk. | 72 // our implementation of the walk. |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 | 229 |
| 232 private: | 230 private: |
| 233 PaintLayerStackingNode* m_stackingNode; | 231 PaintLayerStackingNode* m_stackingNode; |
| 234 bool m_previousMutationAllowedState; | 232 bool m_previousMutationAllowedState; |
| 235 }; | 233 }; |
| 236 #endif | 234 #endif |
| 237 | 235 |
| 238 } // namespace blink | 236 } // namespace blink |
| 239 | 237 |
| 240 #endif // PaintLayerStackingNode_h | 238 #endif // PaintLayerStackingNode_h |
| OLD | NEW |