| Index: third_party/WebKit/Source/core/style/ComputedStyle.h
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| index 4e50f807ae2c8834e59693536f0eea6791bfc644..2bb0089bbef25e81bb5f7f2cf72c94a9a6c4def6 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| @@ -468,6 +468,9 @@ public:
|
| bool hasUniquePseudoStyle() const;
|
| bool hasPseudoElementStyle() const;
|
|
|
| + bool canContainAbsolutePositionObjects() const { return position() != StaticPosition; }
|
| + bool canContainFixedPositionObjects() const { return hasTransformRelatedProperty() || containsPaint();}
|
| +
|
| // attribute getter methods
|
|
|
| EDisplay display() const { return static_cast<EDisplay>(noninherited_flags.effectiveDisplay); }
|
|
|