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) 2000 Stefan Schimanski (1Stein@gmx.de) | 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) |
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights
reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights
reserved. |
6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 | 377 |
378 m_useFallbackContent = true; | 378 m_useFallbackContent = true; |
379 | 379 |
380 // FIXME: Style gets recalculated which is suboptimal. | 380 // FIXME: Style gets recalculated which is suboptimal. |
381 lazyReattach(); | 381 lazyReattach(); |
382 } | 382 } |
383 | 383 |
384 // FIXME: This should be removed, all callers are almost certainly wrong. | 384 // FIXME: This should be removed, all callers are almost certainly wrong. |
385 static bool isRecognizedTagName(const QualifiedName& tagName) | 385 static bool isRecognizedTagName(const QualifiedName& tagName) |
386 { | 386 { |
387 DEFINE_STATIC_LOCAL(HashSet<AtomicStringImpl*>, tagList, ()); | 387 DEFINE_STATIC_LOCAL(HashSet<StringImpl*>, tagList, ()); |
388 if (tagList.isEmpty()) { | 388 if (tagList.isEmpty()) { |
389 QualifiedName** tags = HTMLNames::getHTMLTags(); | 389 QualifiedName** tags = HTMLNames::getHTMLTags(); |
390 for (size_t i = 0; i < HTMLNames::HTMLTagsCount; i++) { | 390 for (size_t i = 0; i < HTMLNames::HTMLTagsCount; i++) { |
391 if (*tags[i] == bgsoundTag | 391 if (*tags[i] == bgsoundTag |
392 || *tags[i] == commandTag | 392 || *tags[i] == commandTag |
393 || *tags[i] == detailsTag | 393 || *tags[i] == detailsTag |
394 || *tags[i] == figcaptionTag | 394 || *tags[i] == figcaptionTag |
395 || *tags[i] == figureTag | 395 || *tags[i] == figureTag |
396 || *tags[i] == summaryTag | 396 || *tags[i] == summaryTag |
397 || *tags[i] == trackTag) { | 397 || *tags[i] == trackTag) { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 encoding.appendData(name(), value); | 493 encoding.appendData(name(), value); |
494 return true; | 494 return true; |
495 } | 495 } |
496 | 496 |
497 HTMLFormElement* HTMLObjectElement::virtualForm() const | 497 HTMLFormElement* HTMLObjectElement::virtualForm() const |
498 { | 498 { |
499 return FormAssociatedElement::form(); | 499 return FormAssociatedElement::form(); |
500 } | 500 } |
501 | 501 |
502 } | 502 } |
OLD | NEW |