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) 2004-2008, 2013, 2014 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004-2008, 2013, 2014 Apple Inc. All rights reserved. |
5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. | 6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. |
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 || hasTagName(basefontTag) | 95 || hasTagName(basefontTag) |
96 || hasTagName(brTag) | 96 || hasTagName(brTag) |
97 || hasTagName(colTag) | 97 || hasTagName(colTag) |
98 || hasTagName(embedTag) | 98 || hasTagName(embedTag) |
99 || hasTagName(frameTag) | 99 || hasTagName(frameTag) |
100 || hasTagName(hrTag) | 100 || hasTagName(hrTag) |
101 || hasTagName(imageTag) | 101 || hasTagName(imageTag) |
102 || hasTagName(imgTag) | 102 || hasTagName(imgTag) |
103 || hasTagName(inputTag) | 103 || hasTagName(inputTag) |
104 || hasTagName(linkTag) | 104 || hasTagName(linkTag) |
| 105 || (RuntimeEnabledFeatures::contextMenuEnabled() && hasTagName(menuitemT
ag)) |
105 || hasTagName(metaTag) | 106 || hasTagName(metaTag) |
106 || hasTagName(paramTag) | 107 || hasTagName(paramTag) |
107 || hasTagName(sourceTag) | 108 || hasTagName(sourceTag) |
108 || hasTagName(wbrTag)) | 109 || hasTagName(wbrTag)) |
109 return true; | 110 return true; |
110 return false; | 111 return false; |
111 } | 112 } |
112 | 113 |
113 static inline CSSValueID unicodeBidiAttributeForDirAuto(HTMLElement* element) | 114 static inline CSSValueID unicodeBidiAttributeForDirAuto(HTMLElement* element) |
114 { | 115 { |
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 #ifndef NDEBUG | 959 #ifndef NDEBUG |
959 | 960 |
960 // For use in the debugger | 961 // For use in the debugger |
961 void dumpInnerHTML(blink::HTMLElement*); | 962 void dumpInnerHTML(blink::HTMLElement*); |
962 | 963 |
963 void dumpInnerHTML(blink::HTMLElement* element) | 964 void dumpInnerHTML(blink::HTMLElement* element) |
964 { | 965 { |
965 printf("%s\n", element->innerHTML().ascii().data()); | 966 printf("%s\n", element->innerHTML().ascii().data()); |
966 } | 967 } |
967 #endif | 968 #endif |
OLD | NEW |