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 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2010, 2011 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2010, 2011 Apple Inc. All rights reserved. |
6 * Copyright (C) 2010 Google Inc. All rights reserved. | 6 * Copyright (C) 2010 Google 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 String collectOptionInnerText() const; | 110 String collectOptionInnerText() const; |
111 | 111 |
112 void updateLabel(); | 112 void updateLabel(); |
113 | 113 |
114 // Represents 'selectedness'. | 114 // Represents 'selectedness'. |
115 // https://html.spec.whatwg.org/multipage/forms.html#concept-option-selected
ness | 115 // https://html.spec.whatwg.org/multipage/forms.html#concept-option-selected
ness |
116 bool m_isSelected; | 116 bool m_isSelected; |
117 // Represents 'dirtiness'. | 117 // Represents 'dirtiness'. |
118 // https://html.spec.whatwg.org/multipage/forms.html#concept-option-dirtines
s | 118 // https://html.spec.whatwg.org/multipage/forms.html#concept-option-dirtines
s |
119 bool m_isDirty = false; | 119 bool m_isDirty = false; |
| 120 // TODO(bugsnash): Use Node's ComputedStyle instead |
120 RefPtr<ComputedStyle> m_style; | 121 RefPtr<ComputedStyle> m_style; |
121 }; | 122 }; |
122 | 123 |
123 } // namespace blink | 124 } // namespace blink |
124 | 125 |
125 #endif // HTMLOptionElement_h | 126 #endif // HTMLOptionElement_h |
OLD | NEW |