| 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 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * (C) 2007 David Smith (catfish.man@gmail.com) | 6 * (C) 2007 David Smith (catfish.man@gmail.com) |
| 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
| 8 * (C) 2007 Eric Seidel (eric@webkit.org) | 8 * (C) 2007 Eric Seidel (eric@webkit.org) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1161 const AtomicString& Element::imageSourceURL() const | 1161 const AtomicString& Element::imageSourceURL() const |
| 1162 { | 1162 { |
| 1163 return getAttribute(srcAttr); | 1163 return getAttribute(srcAttr); |
| 1164 } | 1164 } |
| 1165 | 1165 |
| 1166 bool Element::rendererIsNeeded(const NodeRenderingContext& context) | 1166 bool Element::rendererIsNeeded(const NodeRenderingContext& context) |
| 1167 { | 1167 { |
| 1168 return context.style()->display() != NONE; | 1168 return context.style()->display() != NONE; |
| 1169 } | 1169 } |
| 1170 | 1170 |
| 1171 RenderObject* Element::createRenderer(RenderArena*, RenderStyle* style) | 1171 RenderObject* Element::createRenderer(RenderStyle* style) |
| 1172 { | 1172 { |
| 1173 return RenderObject::createObject(this, style); | 1173 return RenderObject::createObject(this, style); |
| 1174 } | 1174 } |
| 1175 | 1175 |
| 1176 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 1176 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| 1177 bool Element::isDateTimeEditElement() const | 1177 bool Element::isDateTimeEditElement() const |
| 1178 { | 1178 { |
| 1179 return false; | 1179 return false; |
| 1180 } | 1180 } |
| 1181 | 1181 |
| (...skipping 1964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3146 return 0; | 3146 return 0; |
| 3147 } | 3147 } |
| 3148 | 3148 |
| 3149 Attribute* UniqueElementData::attributeItem(unsigned index) | 3149 Attribute* UniqueElementData::attributeItem(unsigned index) |
| 3150 { | 3150 { |
| 3151 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); | 3151 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); |
| 3152 return &m_attributeVector.at(index); | 3152 return &m_attributeVector.at(index); |
| 3153 } | 3153 } |
| 3154 | 3154 |
| 3155 } // namespace WebCore | 3155 } // namespace WebCore |
| OLD | NEW |