| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 bool hasClip() const { return isOutOfFlowPositioned() && !style()->hasAutoCl
ip(); } | 561 bool hasClip() const { return isOutOfFlowPositioned() && !style()->hasAutoCl
ip(); } |
| 562 bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); } | 562 bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); } |
| 563 bool hasClipOrOverflowClip() const { return hasClip() || hasOverflowClip();
} | 563 bool hasClipOrOverflowClip() const { return hasClip() || hasOverflowClip();
} |
| 564 | 564 |
| 565 bool hasTransformRelatedProperty() const { return m_bitfields.hasTransformRe
latedProperty(); } | 565 bool hasTransformRelatedProperty() const { return m_bitfields.hasTransformRe
latedProperty(); } |
| 566 bool hasMask() const { return style() && style()->hasMask(); } | 566 bool hasMask() const { return style() && style()->hasMask(); } |
| 567 bool hasClipPath() const { return style() && style()->clipPath(); } | 567 bool hasClipPath() const { return style() && style()->clipPath(); } |
| 568 bool hasHiddenBackface() const { return style() && style()->backfaceVisibili
ty() == BackfaceVisibilityHidden; } | 568 bool hasHiddenBackface() const { return style() && style()->backfaceVisibili
ty() == BackfaceVisibilityHidden; } |
| 569 | 569 |
| 570 bool hasFilter() const { return style() && style()->hasFilter(); } | 570 bool hasFilter() const { return style() && style()->hasFilter(); } |
| 571 bool hasBackdropFilter() const { return style() && style()->hasBackdropFilte
r(); } |
| 571 | 572 |
| 572 bool hasShapeOutside() const { return style() && style()->shapeOutside(); } | 573 bool hasShapeOutside() const { return style() && style()->shapeOutside(); } |
| 573 | 574 |
| 574 inline bool preservesNewline() const; | 575 inline bool preservesNewline() const; |
| 575 | 576 |
| 576 // The pseudo element style can be cached or uncached. Use the cached metho
d if the pseudo element doesn't respect | 577 // The pseudo element style can be cached or uncached. Use the cached metho
d if the pseudo element doesn't respect |
| 577 // any pseudo classes (and therefore has no concept of changing state). | 578 // any pseudo classes (and therefore has no concept of changing state). |
| 578 ComputedStyle* getCachedPseudoStyle(PseudoId, const ComputedStyle* parentSty
le = nullptr) const; | 579 ComputedStyle* getCachedPseudoStyle(PseudoId, const ComputedStyle* parentSty
le = nullptr) const; |
| 579 PassRefPtr<ComputedStyle> getUncachedPseudoStyle(const PseudoStyleRequest&,
const ComputedStyle* parentStyle = nullptr, const ComputedStyle* ownStyle = null
ptr) const; | 580 PassRefPtr<ComputedStyle> getUncachedPseudoStyle(const PseudoStyleRequest&,
const ComputedStyle* parentStyle = nullptr, const ComputedStyle* ownStyle = null
ptr) const; |
| 580 | 581 |
| (...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1656 void showTree(const blink::LayoutObject*); | 1657 void showTree(const blink::LayoutObject*); |
| 1657 void showLineTree(const blink::LayoutObject*); | 1658 void showLineTree(const blink::LayoutObject*); |
| 1658 void showLayoutTree(const blink::LayoutObject* object1); | 1659 void showLayoutTree(const blink::LayoutObject* object1); |
| 1659 // We don't make object2 an optional parameter so that showLayoutTree | 1660 // We don't make object2 an optional parameter so that showLayoutTree |
| 1660 // can be called from gdb easily. | 1661 // can be called from gdb easily. |
| 1661 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 1662 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 1662 | 1663 |
| 1663 #endif | 1664 #endif |
| 1664 | 1665 |
| 1665 #endif // LayoutObject_h | 1666 #endif // LayoutObject_h |
| OLD | NEW |