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 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Apple Inc. All rights reserv
ed. |
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 HTMLDivElement& label = optGroupLabelElement(); | 175 HTMLDivElement& label = optGroupLabelElement(); |
176 label.setTextContent(labelText); | 176 label.setTextContent(labelText); |
177 label.setAttribute(aria_labelAttr, AtomicString(labelText)); | 177 label.setAttribute(aria_labelAttr, AtomicString(labelText)); |
178 } | 178 } |
179 | 179 |
180 HTMLDivElement& HTMLOptGroupElement::optGroupLabelElement() const | 180 HTMLDivElement& HTMLOptGroupElement::optGroupLabelElement() const |
181 { | 181 { |
182 return *toHTMLDivElement(userAgentShadowRoot()->getElementById(ShadowElement
Names::optGroupLabel())); | 182 return *toHTMLDivElement(userAgentShadowRoot()->getElementById(ShadowElement
Names::optGroupLabel())); |
183 } | 183 } |
184 | 184 |
185 } // namespace | 185 } // namespace blink |
OLD | NEW |