OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) |
3 * (C) 1997 Torben Weis (weis@kde.org) | 3 * (C) 1997 Torben Weis (weis@kde.org) |
4 * (C) 1998 Waldo Bastian (bastian@kde.org) | 4 * (C) 1998 Waldo Bastian (bastian@kde.org) |
5 * (C) 1999 Lars Knoll (knoll@kde.org) | 5 * (C) 1999 Lars Knoll (knoll@kde.org) |
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
7 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2010, 2011 Apple Inc. All rights
reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2010, 2011 Apple 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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 bool HTMLTableElement::hasLegalLinkAttribute(const QualifiedName& name) const | 549 bool HTMLTableElement::hasLegalLinkAttribute(const QualifiedName& name) const |
550 { | 550 { |
551 return name == backgroundAttr || HTMLElement::hasLegalLinkAttribute(name); | 551 return name == backgroundAttr || HTMLElement::hasLegalLinkAttribute(name); |
552 } | 552 } |
553 | 553 |
554 const QualifiedName& HTMLTableElement::subResourceAttributeName() const | 554 const QualifiedName& HTMLTableElement::subResourceAttributeName() const |
555 { | 555 { |
556 return backgroundAttr; | 556 return backgroundAttr; |
557 } | 557 } |
558 | 558 |
559 PassRefPtrWillBeRawPtr<HTMLCollection> HTMLTableElement::rows() | 559 PassRefPtrWillBeRawPtr<HTMLTableRowsCollection> HTMLTableElement::rows() |
560 { | 560 { |
561 return ensureCachedHTMLCollection(TableRows); | 561 return toHTMLTableRowsCollection(ensureCachedHTMLCollection(TableRows).get()
); |
562 } | 562 } |
563 | 563 |
564 PassRefPtrWillBeRawPtr<HTMLCollection> HTMLTableElement::tBodies() | 564 PassRefPtrWillBeRawPtr<HTMLCollection> HTMLTableElement::tBodies() |
565 { | 565 { |
566 return ensureCachedHTMLCollection(TableTBodies); | 566 return ensureCachedHTMLCollection(TableTBodies); |
567 } | 567 } |
568 | 568 |
569 const AtomicString& HTMLTableElement::rules() const | 569 const AtomicString& HTMLTableElement::rules() const |
570 { | 570 { |
571 return getAttribute(rulesAttr); | 571 return getAttribute(rulesAttr); |
572 } | 572 } |
573 | 573 |
574 const AtomicString& HTMLTableElement::summary() const | 574 const AtomicString& HTMLTableElement::summary() const |
575 { | 575 { |
576 return getAttribute(summaryAttr); | 576 return getAttribute(summaryAttr); |
577 } | 577 } |
578 | 578 |
579 void HTMLTableElement::trace(Visitor* visitor) | 579 void HTMLTableElement::trace(Visitor* visitor) |
580 { | 580 { |
581 visitor->trace(m_sharedCellStyle); | 581 visitor->trace(m_sharedCellStyle); |
582 HTMLElement::trace(visitor); | 582 HTMLElement::trace(visitor); |
583 } | 583 } |
584 | 584 |
585 } | 585 } |
OLD | NEW |