| 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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 const AtomicString& HTMLDocument::vlinkColor() const | 198 const AtomicString& HTMLDocument::vlinkColor() const |
| 199 { | 199 { |
| 200 return bodyAttributeValue(vlinkAttr); | 200 return bodyAttributeValue(vlinkAttr); |
| 201 } | 201 } |
| 202 | 202 |
| 203 void HTMLDocument::setVlinkColor(const AtomicString& value) | 203 void HTMLDocument::setVlinkColor(const AtomicString& value) |
| 204 { | 204 { |
| 205 setBodyAttribute(vlinkAttr, value); | 205 setBodyAttribute(vlinkAttr, value); |
| 206 } | 206 } |
| 207 | 207 |
| 208 PassRefPtr<Document> HTMLDocument::cloneDocumentWithoutChildren() |
| 209 { |
| 210 return create(DocumentInit(url()).withRegistrationContext(registrationContex
t())); |
| 211 } |
| 212 |
| 208 // -------------------------------------------------------------------------- | 213 // -------------------------------------------------------------------------- |
| 209 // not part of the DOM | 214 // not part of the DOM |
| 210 // -------------------------------------------------------------------------- | 215 // -------------------------------------------------------------------------- |
| 211 | 216 |
| 212 void HTMLDocument::addItemToMap(HashCountedSet<StringImpl*>& map, const AtomicSt
ring& name) | 217 void HTMLDocument::addItemToMap(HashCountedSet<StringImpl*>& map, const AtomicSt
ring& name) |
| 213 { | 218 { |
| 214 if (name.isEmpty()) | 219 if (name.isEmpty()) |
| 215 return; | 220 return; |
| 216 map.add(name.impl()); | 221 map.add(name.impl()); |
| 217 if (Frame* f = frame()) | 222 if (Frame* f = frame()) |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 } | 320 } |
| 316 | 321 |
| 317 void HTMLDocument::clear() | 322 void HTMLDocument::clear() |
| 318 { | 323 { |
| 319 // FIXME: This does nothing, and that seems unlikely to be correct. | 324 // FIXME: This does nothing, and that seems unlikely to be correct. |
| 320 // We've long had a comment saying that IE doesn't support this. | 325 // We've long had a comment saying that IE doesn't support this. |
| 321 // But I do see it in the documentation for Mozilla. | 326 // But I do see it in the documentation for Mozilla. |
| 322 } | 327 } |
| 323 | 328 |
| 324 } | 329 } |
| OLD | NEW |