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 Simon Hausmann (hausmann@kde.org) | 4 * (C) 2000 Simon Hausmann (hausmann@kde.org) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * Copyright (C) 2004, 2006, 2009 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2006, 2009 Apple Inc. 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 } | 67 } |
68 } | 68 } |
69 | 69 |
70 void HTMLFrameElement::parseAttribute(const QualifiedName& name, const AtomicStr
ing& oldValue, const AtomicString& value) | 70 void HTMLFrameElement::parseAttribute(const QualifiedName& name, const AtomicStr
ing& oldValue, const AtomicString& value) |
71 { | 71 { |
72 if (name == frameborderAttr) { | 72 if (name == frameborderAttr) { |
73 m_frameBorder = value.toInt(); | 73 m_frameBorder = value.toInt(); |
74 m_frameBorderSet = !value.isNull(); | 74 m_frameBorderSet = !value.isNull(); |
75 // FIXME: If we are already attached, this has no effect. | 75 // FIXME: If we are already attached, this has no effect. |
76 } else if (name == noresizeAttr) { | 76 } else if (name == noresizeAttr) { |
77 if (layoutObject()) | 77 if (hasLayoutObject()) |
78 layoutObject()->updateFromElement(); | 78 layoutObject()->updateFromElement(); |
79 } else { | 79 } else { |
80 HTMLFrameElementBase::parseAttribute(name, oldValue, value); | 80 HTMLFrameElementBase::parseAttribute(name, oldValue, value); |
81 } | 81 } |
82 } | 82 } |
83 | 83 |
84 } // namespace blink | 84 } // namespace blink |
OLD | NEW |