| 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, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 const QualifiedName& HTMLBodyElement::subResourceAttributeName() const | 184 const QualifiedName& HTMLBodyElement::subResourceAttributeName() const |
| 185 { | 185 { |
| 186 return backgroundAttr; | 186 return backgroundAttr; |
| 187 } | 187 } |
| 188 | 188 |
| 189 bool HTMLBodyElement::supportsFocus() const | 189 bool HTMLBodyElement::supportsFocus() const |
| 190 { | 190 { |
| 191 // This override is needed because the inherited method bails if the parent
is editable. | 191 // This override is needed because the inherited method bails if the parent
is editable. |
| 192 // The <body> should be focusable even if <html> is editable. | 192 // The <body> should be focusable even if <html> is editable. |
| 193 return hasEditableStyle() || HTMLElement::supportsFocus(); | 193 return hasEditableStyle(*this) || HTMLElement::supportsFocus(); |
| 194 } | 194 } |
| 195 | 195 |
| 196 } // namespace blink | 196 } // namespace blink |
| OLD | NEW |