| 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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 virtual bool isTableCaption() const { return false; } | 379 virtual bool isTableCaption() const { return false; } |
| 380 virtual bool isTableCell() const { return false; } | 380 virtual bool isTableCell() const { return false; } |
| 381 virtual bool isTableRow() const { return false; } | 381 virtual bool isTableRow() const { return false; } |
| 382 virtual bool isTableSection() const { return false; } | 382 virtual bool isTableSection() const { return false; } |
| 383 virtual bool isTextArea() const { return false; } | 383 virtual bool isTextArea() const { return false; } |
| 384 virtual bool isTextControl() const { return false; } | 384 virtual bool isTextControl() const { return false; } |
| 385 virtual bool isTextField() const { return false; } | 385 virtual bool isTextField() const { return false; } |
| 386 virtual bool isVideo() const { return false; } | 386 virtual bool isVideo() const { return false; } |
| 387 virtual bool isWidget() const { return false; } | 387 virtual bool isWidget() const { return false; } |
| 388 | 388 |
| 389 // The background of the root element or the body element could propagate up
to the canvas. |
| 390 bool backgroundCanBleedToCanvas() const { return isBody() || isDocumentEleme
nt(); } |
| 391 |
| 389 bool isDocumentElement() const { return document().documentElement() == m_no
de; } | 392 bool isDocumentElement() const { return document().documentElement() == m_no
de; } |
| 390 // isBody is called from RenderBox::styleWillChange and is thus quite hot. | 393 // isBody is called from RenderBox::styleWillChange and is thus quite hot. |
| 391 bool isBody() const { return node() && node()->hasTagName(HTMLNames::bodyTag
); } | 394 bool isBody() const { return node() && node()->hasTagName(HTMLNames::bodyTag
); } |
| 392 bool isHR() const; | 395 bool isHR() const; |
| 393 bool isLegend() const; | 396 bool isLegend() const; |
| 394 | 397 |
| 395 bool isTablePart() const { return isTableCell() || isRenderTableCol() || isT
ableCaption() || isTableRow() || isTableSection(); } | 398 bool isTablePart() const { return isTableCell() || isRenderTableCol() || isT
ableCaption() || isTableRow() || isTableSection(); } |
| 396 | 399 |
| 397 inline bool isBeforeContent() const; | 400 inline bool isBeforeContent() const; |
| 398 inline bool isAfterContent() const; | 401 inline bool isAfterContent() const; |
| (...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1493 void showTree(const WebCore::RenderObject*); | 1496 void showTree(const WebCore::RenderObject*); |
| 1494 void showLineTree(const WebCore::RenderObject*); | 1497 void showLineTree(const WebCore::RenderObject*); |
| 1495 void showRenderTree(const WebCore::RenderObject* object1); | 1498 void showRenderTree(const WebCore::RenderObject* object1); |
| 1496 // We don't make object2 an optional parameter so that showRenderTree | 1499 // We don't make object2 an optional parameter so that showRenderTree |
| 1497 // can be called from gdb easily. | 1500 // can be called from gdb easily. |
| 1498 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1501 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1499 | 1502 |
| 1500 #endif | 1503 #endif |
| 1501 | 1504 |
| 1502 #endif // RenderObject_h | 1505 #endif // RenderObject_h |
| OLD | NEW |