OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 m_value->setShadowPseudoId(suboptimumPseudoId); | 228 m_value->setShadowPseudoId(suboptimumPseudoId); |
229 break; | 229 break; |
230 case GaugeRegionEvenLessGood: | 230 case GaugeRegionEvenLessGood: |
231 m_value->setShadowPseudoId(evenLessGoodPseudoId); | 231 m_value->setShadowPseudoId(evenLessGoodPseudoId); |
232 break; | 232 break; |
233 } | 233 } |
234 } | 234 } |
235 | 235 |
236 bool HTMLMeterElement::canContainRangeEndPoint() const | 236 bool HTMLMeterElement::canContainRangeEndPoint() const |
237 { | 237 { |
238 document().updateLayoutTreeForNode(this); | 238 document().updateStyleAndLayoutTreeForNode(this); |
239 return computedStyle() && !computedStyle()->hasAppearance(); | 239 return computedStyle() && !computedStyle()->hasAppearance(); |
240 } | 240 } |
241 | 241 |
242 DEFINE_TRACE(HTMLMeterElement) | 242 DEFINE_TRACE(HTMLMeterElement) |
243 { | 243 { |
244 visitor->trace(m_value); | 244 visitor->trace(m_value); |
245 LabelableElement::trace(visitor); | 245 LabelableElement::trace(visitor); |
246 } | 246 } |
247 | 247 |
248 } // namespace blink | 248 } // namespace blink |
OLD | NEW |