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 Apple Inc. All rights
reserved. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 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 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 if (document()->documentElement() == this && style->display() == NONE) { | 904 if (document()->documentElement() == this && style->display() == NONE) { |
905 // Ignore display: none on root elements. Force a display of block in t
hat case. | 905 // Ignore display: none on root elements. Force a display of block in t
hat case. |
906 RenderBlock* result = new (arena) RenderBlock(this); | 906 RenderBlock* result = new (arena) RenderBlock(this); |
907 if (result) | 907 if (result) |
908 result->setAnimatableStyle(style); | 908 result->setAnimatableStyle(style); |
909 return result; | 909 return result; |
910 } | 910 } |
911 return RenderObject::createObject(this, style); | 911 return RenderObject::createObject(this, style); |
912 } | 912 } |
913 | 913 |
| 914 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| 915 bool Element::isDateTimeFieldElement() const |
| 916 { |
| 917 return false; |
| 918 } |
| 919 #endif |
| 920 |
914 bool Element::wasChangedSinceLastFormControlChangeEvent() const | 921 bool Element::wasChangedSinceLastFormControlChangeEvent() const |
915 { | 922 { |
916 return false; | 923 return false; |
917 } | 924 } |
918 | 925 |
919 void Element::setChangedSinceLastFormControlChangeEvent(bool) | 926 void Element::setChangedSinceLastFormControlChangeEvent(bool) |
920 { | 927 { |
921 } | 928 } |
922 | 929 |
923 Node::InsertionNotificationRequest Element::insertedInto(ContainerNode* insertio
nPoint) | 930 Node::InsertionNotificationRequest Element::insertedInto(ContainerNode* insertio
nPoint) |
(...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2316 | 2323 |
2317 void Element::createMutableAttributeData() | 2324 void Element::createMutableAttributeData() |
2318 { | 2325 { |
2319 if (!m_attributeData) | 2326 if (!m_attributeData) |
2320 m_attributeData = ElementAttributeData::create(); | 2327 m_attributeData = ElementAttributeData::create(); |
2321 else | 2328 else |
2322 m_attributeData = m_attributeData->makeMutableCopy(); | 2329 m_attributeData = m_attributeData->makeMutableCopy(); |
2323 } | 2330 } |
2324 | 2331 |
2325 } // namespace WebCore | 2332 } // namespace WebCore |
OLD | NEW |