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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 // This function is kept in sync with anonymous block creation condition
s in | 513 // This function is kept in sync with anonymous block creation condition
s in |
514 // LayoutBlock::createAnonymousBlock(). This includes creating an anonym
ous | 514 // LayoutBlock::createAnonymousBlock(). This includes creating an anonym
ous |
515 // LayoutBlock having a BLOCK or BOX display. Other classes such as Layo
utTextFragment | 515 // LayoutBlock having a BLOCK or BOX display. Other classes such as Layo
utTextFragment |
516 // are not LayoutBlocks and will return false. See https://bugs.webkit.o
rg/show_bug.cgi?id=56709. | 516 // are not LayoutBlocks and will return false. See https://bugs.webkit.o
rg/show_bug.cgi?id=56709. |
517 return isAnonymous() && (style()->display() == BLOCK || style()->display
() == BOX) && style()->styleType() == NOPSEUDO && isLayoutBlock() && !isListMark
er() && !isLayoutFlowThread() && !isLayoutMultiColumnSet() | 517 return isAnonymous() && (style()->display() == BLOCK || style()->display
() == BOX) && style()->styleType() == NOPSEUDO && isLayoutBlock() && !isListMark
er() && !isLayoutFlowThread() && !isLayoutMultiColumnSet() |
518 && !isLayoutFullScreen() | 518 && !isLayoutFullScreen() |
519 && !isLayoutFullScreenPlaceholder(); | 519 && !isLayoutFullScreenPlaceholder(); |
520 } | 520 } |
521 bool isAnonymousColumnsBlock() const { return style()->specifiesColumns() &&
isAnonymousBlock(); } | 521 bool isAnonymousColumnsBlock() const { return style()->specifiesColumns() &&
isAnonymousBlock(); } |
522 bool isAnonymousColumnSpanBlock() const { return style()->columnSpan() && is
AnonymousBlock(); } | 522 bool isAnonymousColumnSpanBlock() const { return style()->columnSpan() && is
AnonymousBlock(); } |
523 bool isElementContinuation() const { return node() && node()->renderer() !=
this; } | 523 bool isElementContinuation() const { return node() && node()->layoutObject()
!= this; } |
524 bool isInlineElementContinuation() const { return isElementContinuation() &&
isInline(); } | 524 bool isInlineElementContinuation() const { return isElementContinuation() &&
isInline(); } |
525 virtual LayoutBoxModelObject* virtualContinuation() const { return 0; } | 525 virtual LayoutBoxModelObject* virtualContinuation() const { return 0; } |
526 | 526 |
527 bool isFloating() const { return m_bitfields.floating(); } | 527 bool isFloating() const { return m_bitfields.floating(); } |
528 | 528 |
529 bool isOutOfFlowPositioned() const { return m_bitfields.isOutOfFlowPositione
d(); } // absolute or fixed positioning | 529 bool isOutOfFlowPositioned() const { return m_bitfields.isOutOfFlowPositione
d(); } // absolute or fixed positioning |
530 bool isRelPositioned() const { return m_bitfields.isRelPositioned(); } // re
lative positioning | 530 bool isRelPositioned() const { return m_bitfields.isRelPositioned(); } // re
lative positioning |
531 bool isPositioned() const { return m_bitfields.isPositioned(); } | 531 bool isPositioned() const { return m_bitfields.isPositioned(); } |
532 | 532 |
533 bool isText() const { return m_bitfields.isText(); } | 533 bool isText() const { return m_bitfields.isText(); } |
(...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1653 void showTree(const blink::LayoutObject*); | 1653 void showTree(const blink::LayoutObject*); |
1654 void showLineTree(const blink::LayoutObject*); | 1654 void showLineTree(const blink::LayoutObject*); |
1655 void showLayoutTree(const blink::LayoutObject* object1); | 1655 void showLayoutTree(const blink::LayoutObject* object1); |
1656 // We don't make object2 an optional parameter so that showLayoutTree | 1656 // We don't make object2 an optional parameter so that showLayoutTree |
1657 // can be called from gdb easily. | 1657 // can be called from gdb easily. |
1658 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 1658 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
1659 | 1659 |
1660 #endif | 1660 #endif |
1661 | 1661 |
1662 #endif // LayoutObject_h | 1662 #endif // LayoutObject_h |
OLD | NEW |