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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 } | 68 } |
69 } | 69 } |
70 | 70 |
71 void HTMLFrameElement::parseAttribute(const QualifiedName& name, const AtomicStr
ing& value) | 71 void HTMLFrameElement::parseAttribute(const QualifiedName& name, const AtomicStr
ing& value) |
72 { | 72 { |
73 if (name == frameborderAttr) { | 73 if (name == frameborderAttr) { |
74 m_frameBorder = value.toInt(); | 74 m_frameBorder = value.toInt(); |
75 m_frameBorderSet = !value.isNull(); | 75 m_frameBorderSet = !value.isNull(); |
76 // FIXME: If we are already attached, this has no effect. | 76 // FIXME: If we are already attached, this has no effect. |
77 } else if (name == noresizeAttr) { | 77 } else if (name == noresizeAttr) { |
78 if (renderer()) | 78 if (layoutObject()) |
79 renderer()->updateFromElement(); | 79 layoutObject()->updateFromElement(); |
80 } else | 80 } else |
81 HTMLFrameElementBase::parseAttribute(name, value); | 81 HTMLFrameElementBase::parseAttribute(name, value); |
82 } | 82 } |
83 | 83 |
84 } // namespace blink | 84 } // namespace blink |
OLD | NEW |