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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 | 387 |
388 // FIXME: Style gets recalculated which is suboptimal. | 388 // FIXME: Style gets recalculated which is suboptimal. |
389 reattachFallbackContent(); | 389 reattachFallbackContent(); |
390 } | 390 } |
391 | 391 |
392 // FIXME: This should be removed, all callers are almost certainly wrong. | 392 // FIXME: This should be removed, all callers are almost certainly wrong. |
393 static bool isRecognizedTagName(const QualifiedName& tagName) | 393 static bool isRecognizedTagName(const QualifiedName& tagName) |
394 { | 394 { |
395 DEFINE_STATIC_LOCAL(HashSet<StringImpl*>, tagList, ()); | 395 DEFINE_STATIC_LOCAL(HashSet<StringImpl*>, tagList, ()); |
396 if (tagList.isEmpty()) { | 396 if (tagList.isEmpty()) { |
397 QualifiedName** tags = HTMLNames::getHTMLTags(); | 397 const QualifiedName* const* tags = HTMLNames::getHTMLTags(); |
398 for (size_t i = 0; i < HTMLNames::HTMLTagsCount; i++) { | 398 for (size_t i = 0; i < HTMLNames::HTMLTagsCount; i++) { |
399 if (*tags[i] == bgsoundTag | 399 if (*tags[i] == bgsoundTag |
400 || *tags[i] == commandTag | 400 || *tags[i] == commandTag |
401 || *tags[i] == detailsTag | 401 || *tags[i] == detailsTag |
402 || *tags[i] == figcaptionTag | 402 || *tags[i] == figcaptionTag |
403 || *tags[i] == figureTag | 403 || *tags[i] == figureTag |
404 || *tags[i] == summaryTag | 404 || *tags[i] == summaryTag |
405 || *tags[i] == trackTag) { | 405 || *tags[i] == trackTag) { |
406 // Even though we have atoms for these tags, we don't want to | 406 // Even though we have atoms for these tags, we don't want to |
407 // treat them as "recognized tags" for the purpose of parsing | 407 // treat them as "recognized tags" for the purpose of parsing |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 { | 505 { |
506 return FormAssociatedElement::form(); | 506 return FormAssociatedElement::form(); |
507 } | 507 } |
508 | 508 |
509 bool HTMLObjectElement::isInteractiveContent() const | 509 bool HTMLObjectElement::isInteractiveContent() const |
510 { | 510 { |
511 return fastHasAttribute(usemapAttr); | 511 return fastHasAttribute(usemapAttr); |
512 } | 512 } |
513 | 513 |
514 } | 514 } |
OLD | NEW |