| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) | 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) |
| 7 * Copyright (C) 2011 Google Inc. All rights reserved. | 7 * Copyright (C) 2011 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 KURL HTMLLinkElement::href() const | 312 KURL HTMLLinkElement::href() const |
| 313 { | 313 { |
| 314 return treeScope().completeURL(getAttribute(hrefAttr)); | 314 return treeScope().completeURL(getAttribute(hrefAttr)); |
| 315 } | 315 } |
| 316 | 316 |
| 317 const AtomicString& HTMLLinkElement::rel() const | 317 const AtomicString& HTMLLinkElement::rel() const |
| 318 { | 318 { |
| 319 return getAttribute(relAttr); | 319 return getAttribute(relAttr); |
| 320 } | 320 } |
| 321 | 321 |
| 322 AtomicString HTMLLinkElement::target() const | |
| 323 { | |
| 324 return getAttribute(targetAttr); | |
| 325 } | |
| 326 | |
| 327 const AtomicString& HTMLLinkElement::type() const | 322 const AtomicString& HTMLLinkElement::type() const |
| 328 { | 323 { |
| 329 return getAttribute(typeAttr); | 324 return getAttribute(typeAttr); |
| 330 } | 325 } |
| 331 | 326 |
| 332 IconType HTMLLinkElement::iconType() const | 327 IconType HTMLLinkElement::iconType() const |
| 333 { | 328 { |
| 334 return m_relAttribute.iconType(); | 329 return m_relAttribute.iconType(); |
| 335 } | 330 } |
| 336 | 331 |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 void LinkStyle::ownerRemoved() | 602 void LinkStyle::ownerRemoved() |
| 608 { | 603 { |
| 609 if (m_sheet) | 604 if (m_sheet) |
| 610 clearSheet(); | 605 clearSheet(); |
| 611 | 606 |
| 612 if (styleSheetIsLoading()) | 607 if (styleSheetIsLoading()) |
| 613 removePendingSheet(RemovePendingSheetNotifyLater); | 608 removePendingSheet(RemovePendingSheetNotifyLater); |
| 614 } | 609 } |
| 615 | 610 |
| 616 } // namespace WebCore | 611 } // namespace WebCore |
| OLD | NEW |