String AccessibilityMediaTimeline::valueDescription() const { ASSERT(m_renderer->node()->hasTagName(inputTag)); float time = static_cast<HTMLInputElement*>(m_renderer->node())->value().toFloat(); return localizedMediaTimeDescription(time); }
String AccessibilityMediaTimeDisplay::stringValue() const { if (!m_renderer || !m_renderer->node()) return String(); MediaControlTimeDisplayElement* element = static_cast<MediaControlTimeDisplayElement*>(m_renderer->node()); float time = element->currentValue(); return localizedMediaTimeDescription(fabsf(time)); }
String AccessibilityMediaTimeline::valueDescription() const { Node* node = m_renderer->node(); if (!isHTMLInputElement(node)) return String(); float time = toHTMLInputElement(node)->value().toFloat(); return localizedMediaTimeDescription(time); }